Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/1014927?format=api",
    "purl": "pkg:deb/debian/pev@0.80-4",
    "type": "deb",
    "namespace": "debian",
    "name": "pev",
    "version": "0.80-4",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "0.81-3+deb11u1",
    "latest_non_vulnerable_version": "0.81-3+deb11u1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/97860?format=api",
            "vulnerability_id": "VCID-7kgr-22qf-rudy",
            "summary": "A Buffer Overflow vulnerabilityexists in Pev 0.81 via the pe_exports function from exports.c.. The array offsets_to_Names is dynamically allocated on the stack using exp->NumberOfFunctions as its size. However, the loop uses exp->NumberOfNames to iterate over it and set its components value. Therefore, the loop code assumes that exp->NumberOfFunctions is greater than ordinal at each iteration. This can lead to arbitrary code execution.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-45423",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00719",
                            "scoring_system": "epss",
                            "scoring_elements": "0.72871",
                            "published_at": "2026-06-05T12:55:00Z"
                        },
                        {
                            "value": "0.00719",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7286",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.00719",
                            "scoring_system": "epss",
                            "scoring_elements": "0.72848",
                            "published_at": "2026-06-08T12:55:00Z"
                        },
                        {
                            "value": "0.00719",
                            "scoring_system": "epss",
                            "scoring_elements": "0.72833",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.00719",
                            "scoring_system": "epss",
                            "scoring_elements": "0.72878",
                            "published_at": "2026-06-06T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-45423"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-45423",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-45423"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1034725",
                    "reference_id": "1034725",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1034725"
                },
                {
                    "reference_url": "https://github.com/merces/libpe/issues/35",
                    "reference_id": "35",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "Track*",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:P/A:Y/T:T/P:M/B:A/M:M/D:R/2025-03-03T20:37:08Z/"
                        }
                    ],
                    "url": "https://github.com/merces/libpe/issues/35"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1014928?format=api",
                    "purl": "pkg:deb/debian/pev@0.81-3%2Bdeb11u1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/pev@0.81-3%252Bdeb11u1"
                }
            ],
            "aliases": [
                "CVE-2021-45423"
            ],
            "risk_score": 4.4,
            "exploitability": "0.5",
            "weighted_severity": "8.8",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-7kgr-22qf-rudy"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.4",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/pev@0.80-4"
}