Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/205345?format=api",
    "purl": "pkg:apk/alpine/asterisk@15.7.1-r0?arch=armv7&distroversion=v3.13&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "asterisk",
    "version": "15.7.1-r0",
    "qualifiers": {
        "arch": "armv7",
        "distroversion": "v3.13",
        "reponame": "main"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "16.3.0-r0",
    "latest_non_vulnerable_version": "18.2.1-r2",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/210710?format=api",
            "vulnerability_id": "VCID-n5ax-suhv-ckb7",
            "summary": "Buffer overflow in DNS SRV and NAPTR lookups in Digium Asterisk 15.x before 15.6.2 and 16.x before 16.0.1 allows remote attackers to crash Asterisk via a specially crafted DNS SRV or NAPTR response, because a buffer size is supposed to match an expanded length but actually matches a compressed length.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-19278",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.03169",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87222",
                            "published_at": "2026-06-11T12:55:00Z"
                        },
                        {
                            "value": "0.03169",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87267",
                            "published_at": "2026-06-12T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-19278"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/205345?format=api",
                    "purl": "pkg:apk/alpine/asterisk@15.7.1-r0?arch=armv7&distroversion=v3.13&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/asterisk@15.7.1-r0%3Farch=armv7&distroversion=v3.13&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2018-19278"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-n5ax-suhv-ckb7"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/asterisk@15.7.1-r0%3Farch=armv7&distroversion=v3.13&reponame=main"
}