Lookup for vulnerable packages by Package URL.

GET /api/packages/930976?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/packages/930976?format=api",
    "purl": "pkg:deb/debian/modsecurity-apache@2.6.6-1?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "modsecurity-apache",
    "version": "2.6.6-1",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.6.6-5",
    "latest_non_vulnerable_version": "2.9.12-2",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/92350?format=api",
            "vulnerability_id": "VCID-j7n8-xubx-pqfe",
            "summary": "ModSecurity before 2.6.6, when used with PHP, does not properly handle single quotes not at the beginning of a request parameter value in the Content-Disposition field of a request with a multipart/form-data Content-Type header, which allows remote attackers to bypass filtering rules and perform other attacks such as cross-site scripting (XSS) attacks.  NOTE: this vulnerability exists because of an incomplete fix for CVE-2009-5031.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2012-2751",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01943",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83373",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.01943",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83387",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.01943",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83401",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.01943",
                            "scoring_system": "epss",
                            "scoring_elements": "0.834",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.01943",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83424",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.01943",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83434",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.01943",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83449",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.01943",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83443",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.01943",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83438",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.01943",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83474",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.01943",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83476",
                            "published_at": "2026-04-21T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2012-2751"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-2751",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-2751"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=678527",
                    "reference_id": "678527",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=678527"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/930976?format=api",
                    "purl": "pkg:deb/debian/modsecurity-apache@2.6.6-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/modsecurity-apache@2.6.6-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/930973?format=api",
                    "purl": "pkg:deb/debian/modsecurity-apache@2.9.3-3%2Bdeb11u2?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/modsecurity-apache@2.9.3-3%252Bdeb11u2%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/930971?format=api",
                    "purl": "pkg:deb/debian/modsecurity-apache@2.9.7-1%2Bdeb12u2?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/modsecurity-apache@2.9.7-1%252Bdeb12u2%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/930975?format=api",
                    "purl": "pkg:deb/debian/modsecurity-apache@2.9.11-1%2Bdeb13u1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/modsecurity-apache@2.9.11-1%252Bdeb13u1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/930974?format=api",
                    "purl": "pkg:deb/debian/modsecurity-apache@2.9.12-2?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/modsecurity-apache@2.9.12-2%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2012-2751"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-j7n8-xubx-pqfe"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/modsecurity-apache@2.6.6-1%3Fdistro=trixie"
}