Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/463553?format=api",
    "purl": "pkg:apk/alpine/asterisk@18.2.2-r2?arch=armv7&distroversion=v3.19&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "asterisk",
    "version": "18.2.2-r2",
    "qualifiers": {
        "arch": "armv7",
        "distroversion": "v3.19",
        "reponame": "main"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "18.11.2-r0",
    "latest_non_vulnerable_version": "20.9.3-r1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/42488?format=api",
            "vulnerability_id": "VCID-h193-vjhb-j3a3",
            "summary": "Multiple vulnerabilities have been discovered in Asterisk, the worst of which can lead to privilege escalation.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-32558",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.02875",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86214",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.02875",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86224",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.02875",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86241",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.02875",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86242",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.02875",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86261",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.02875",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86271",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.02875",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86286",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.02875",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86283",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.02875",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86279",
                            "published_at": "2026-04-13T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-32558"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-32558",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-32558"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-32686",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-32686"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=991710",
                    "reference_id": "991710",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=991710"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202412-03",
                    "reference_id": "GLSA-202412-03",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202412-03"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/463553?format=api",
                    "purl": "pkg:apk/alpine/asterisk@18.2.2-r2?arch=armv7&distroversion=v3.19&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/asterisk@18.2.2-r2%3Farch=armv7&distroversion=v3.19&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2021-32558"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-h193-vjhb-j3a3"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/asterisk@18.2.2-r2%3Farch=armv7&distroversion=v3.19&reponame=main"
}