Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/3571?format=api",
    "purl": "pkg:ebuild/dev-libs/libpcre@7.7-r1",
    "type": "ebuild",
    "namespace": "dev-libs",
    "name": "libpcre",
    "version": "7.7-r1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "8.38-r1",
    "latest_non_vulnerable_version": "8.41",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/178365?format=api",
            "vulnerability_id": "VCID-dbwt-axtj-dqct",
            "summary": "A buffer overflow vulnerability has been discovered in PCRE, allowing for\n    the execution of arbitrary code and a Denial of Service.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2008-2371.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2008-2371.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2008-2371",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.04128",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88887",
                            "published_at": "2026-06-11T12:55:00Z"
                        },
                        {
                            "value": "0.04128",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88925",
                            "published_at": "2026-06-12T12:55:00Z"
                        },
                        {
                            "value": "0.04128",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88931",
                            "published_at": "2026-06-14T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2008-2371"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2371",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2371"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=452079",
                    "reference_id": "452079",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=452079"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=488919",
                    "reference_id": "488919",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=488919"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/200807-03",
                    "reference_id": "GLSA-200807-03",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/200807-03"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/200811-05",
                    "reference_id": "GLSA-200811-05",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/200811-05"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/624-1/",
                    "reference_id": "USN-624-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/624-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/624-2/",
                    "reference_id": "USN-624-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/624-2/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/628-1/",
                    "reference_id": "USN-628-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/628-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/3571?format=api",
                    "purl": "pkg:ebuild/dev-libs/libpcre@7.7-r1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/dev-libs/libpcre@7.7-r1"
                }
            ],
            "aliases": [
                "CVE-2008-2371"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-dbwt-axtj-dqct"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/dev-libs/libpcre@7.7-r1"
}