Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/1027361?format=api",
    "purl": "pkg:apk/alpine/asterisk@15.7.1-r0?arch=armhf&distroversion=v3.17&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "asterisk",
    "version": "15.7.1-r0",
    "qualifiers": {
        "arch": "armhf",
        "distroversion": "v3.17",
        "reponame": "main"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "16.3.0-r0",
    "latest_non_vulnerable_version": "18.24.3-r0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/180615?format=api",
            "vulnerability_id": "VCID-xcpx-unz5-gqbp",
            "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.03349",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87266",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.03349",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87276",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.03349",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87292",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.03349",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8729",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.03349",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87309",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.03349",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87317",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.03349",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87329",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.03349",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87323",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.03349",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87319",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.03349",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87333",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.03349",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87337",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.03349",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87332",
                            "published_at": "2026-04-21T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-19278"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1027361?format=api",
                    "purl": "pkg:apk/alpine/asterisk@15.7.1-r0?arch=armhf&distroversion=v3.17&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/asterisk@15.7.1-r0%3Farch=armhf&distroversion=v3.17&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2018-19278"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-xcpx-unz5-gqbp"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/asterisk@15.7.1-r0%3Farch=armhf&distroversion=v3.17&reponame=main"
}