Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/940195?format=api",
    "purl": "pkg:deb/debian/sudo@1.8.3p2-1?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "sudo",
    "version": "1.8.3p2-1",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "1.8.3p2-1.1",
    "latest_non_vulnerable_version": "1.9.17p2-5",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/58822?format=api",
            "vulnerability_id": "VCID-49cf-c1kh-27cf",
            "summary": "Two vulnerabilities have been discovered in sudo, allowing local\n    attackers to possibly gain escalated privileges.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-0809.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-0809.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2012-0809",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.44754",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97601",
                            "published_at": "2026-05-07T12:55:00Z"
                        },
                        {
                            "value": "0.44754",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97603",
                            "published_at": "2026-05-09T12:55:00Z"
                        },
                        {
                            "value": "0.44754",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97604",
                            "published_at": "2026-05-11T12:55:00Z"
                        },
                        {
                            "value": "0.44754",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9761",
                            "published_at": "2026-05-12T12:55:00Z"
                        },
                        {
                            "value": "0.44754",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97619",
                            "published_at": "2026-05-14T12:55:00Z"
                        },
                        {
                            "value": "0.45602",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9761",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.45602",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97612",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.45602",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97614",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.45602",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97615",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.45602",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97591",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.45602",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97626",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.45602",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9763",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.45602",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97636",
                            "published_at": "2026-05-05T12:55:00Z"
                        },
                        {
                            "value": "0.45602",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97623",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.45602",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97598",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.45602",
                            "scoring_system": "epss",
                            "scoring_elements": "0.976",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.45602",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97601",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.45602",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97607",
                            "published_at": "2026-04-08T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2012-0809"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0809",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0809"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657985",
                    "reference_id": "657985",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657985"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=784443",
                    "reference_id": "784443",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=784443"
                },
                {
                    "reference_url": "http://seclists.org/fulldisclosure/2012/Jan/att-590/advisory_sudo.txt",
                    "reference_id": "CVE-2012-0809;OSVDB-78659",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "http://seclists.org/fulldisclosure/2012/Jan/att-590/advisory_sudo.txt"
                },
                {
                    "reference_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/local/25134.c",
                    "reference_id": "CVE-2012-0809;OSVDB-78659",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/local/25134.c"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201203-06",
                    "reference_id": "GLSA-201203-06",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201203-06"
                },
                {
                    "reference_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/dos/18436.txt",
                    "reference_id": "OSVDB-78659;CVE-2012-0809",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/dos/18436.txt"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/940195?format=api",
                    "purl": "pkg:deb/debian/sudo@1.8.3p2-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/sudo@1.8.3p2-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/940179?format=api",
                    "purl": "pkg:deb/debian/sudo@1.9.5p2-3%2Bdeb11u1?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-e9ra-cfnz-m3hg"
                        },
                        {
                            "vulnerability": "VCID-m9xh-9ac2-eycq"
                        },
                        {
                            "vulnerability": "VCID-pwmy-f5qe-s3d1"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/sudo@1.9.5p2-3%252Bdeb11u1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/940177?format=api",
                    "purl": "pkg:deb/debian/sudo@1.9.13p3-1%2Bdeb12u3?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-m9xh-9ac2-eycq"
                        },
                        {
                            "vulnerability": "VCID-pwmy-f5qe-s3d1"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/sudo@1.9.13p3-1%252Bdeb12u3%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/940181?format=api",
                    "purl": "pkg:deb/debian/sudo@1.9.16p2-3%2Bdeb13u1?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-pwmy-f5qe-s3d1"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/sudo@1.9.16p2-3%252Bdeb13u1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/940180?format=api",
                    "purl": "pkg:deb/debian/sudo@1.9.17p2-5?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/sudo@1.9.17p2-5%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2012-0809"
            ],
            "risk_score": 0.8,
            "exploitability": "2.0",
            "weighted_severity": "0.4",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-49cf-c1kh-27cf"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/sudo@1.8.3p2-1%3Fdistro=trixie"
}