Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/964653?format=api",
    "purl": "pkg:apk/alpine/pdns-recursor@4.1.8-r0?arch=ppc64le&distroversion=v3.23&reponame=community",
    "type": "apk",
    "namespace": "alpine",
    "name": "pdns-recursor",
    "version": "4.1.8-r0",
    "qualifiers": {
        "arch": "ppc64le",
        "distroversion": "v3.23",
        "reponame": "community"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "4.1.9-r0",
    "latest_non_vulnerable_version": "5.3.5-r0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/93581?format=api",
            "vulnerability_id": "VCID-d4km-jg6b-2kh3",
            "summary": "An issue has been found in PowerDNS Recursor before version 4.1.8 where a remote attacker sending a DNS query can trigger an out-of-bounds memory read while computing the hash of the query for a packet cache lookup, possibly leading to a crash.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-16855",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.19834",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9546",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.19834",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95413",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.19834",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95422",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.19834",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95428",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.19834",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95432",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.19834",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95438",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.19834",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95441",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.19834",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95445",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.19834",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95447",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.19834",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95456",
                            "published_at": "2026-04-16T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-16855"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16855",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16855"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-201811-21",
                    "reference_id": "ASA-201811-21",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-201811-21"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-821",
                    "reference_id": "AVG-821",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-821"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/964653?format=api",
                    "purl": "pkg:apk/alpine/pdns-recursor@4.1.8-r0?arch=ppc64le&distroversion=v3.23&reponame=community",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/pdns-recursor@4.1.8-r0%3Farch=ppc64le&distroversion=v3.23&reponame=community"
                }
            ],
            "aliases": [
                "CVE-2018-16855"
            ],
            "risk_score": 3.1,
            "exploitability": "0.5",
            "weighted_severity": "6.2",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-d4km-jg6b-2kh3"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/pdns-recursor@4.1.8-r0%3Farch=ppc64le&distroversion=v3.23&reponame=community"
}