Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/85307?format=api",
    "purl": "pkg:ebuild/net-misc/asterisk@1.8.8.2",
    "type": "ebuild",
    "namespace": "net-misc",
    "name": "asterisk",
    "version": "1.8.8.2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "1.8.10.1",
    "latest_non_vulnerable_version": "18.26.3",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/60405?format=api",
            "vulnerability_id": "VCID-zgqk-kej8-qkhg",
            "summary": "A vulnerability in Asterisk could allow a remote attacker to cause\n    a Denial of Service condition.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2012-0885",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01057",
                            "scoring_system": "epss",
                            "scoring_elements": "0.77549",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.01057",
                            "scoring_system": "epss",
                            "scoring_elements": "0.77556",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.01057",
                            "scoring_system": "epss",
                            "scoring_elements": "0.77582",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.01057",
                            "scoring_system": "epss",
                            "scoring_elements": "0.77562",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.01057",
                            "scoring_system": "epss",
                            "scoring_elements": "0.77592",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.01057",
                            "scoring_system": "epss",
                            "scoring_elements": "0.77599",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.01057",
                            "scoring_system": "epss",
                            "scoring_elements": "0.77626",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.01057",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7761",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.01057",
                            "scoring_system": "epss",
                            "scoring_elements": "0.77609",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.01057",
                            "scoring_system": "epss",
                            "scoring_elements": "0.77647",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.01057",
                            "scoring_system": "epss",
                            "scoring_elements": "0.77645",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.01057",
                            "scoring_system": "epss",
                            "scoring_elements": "0.77639",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.01057",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7767",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.01057",
                            "scoring_system": "epss",
                            "scoring_elements": "0.77678",
                            "published_at": "2026-04-26T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2012-0885"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0885",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0885"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=656596",
                    "reference_id": "656596",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=656596"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201202-06",
                    "reference_id": "GLSA-201202-06",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201202-06"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/85307?format=api",
                    "purl": "pkg:ebuild/net-misc/asterisk@1.8.8.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/net-misc/asterisk@1.8.8.2"
                }
            ],
            "aliases": [
                "CVE-2012-0885"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-zgqk-kej8-qkhg"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/net-misc/asterisk@1.8.8.2"
}