Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/945980?format=api",
    "purl": "pkg:apk/alpine/bind@9.16.20-r0?arch=mips64&distroversion=v3.13&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "bind",
    "version": "9.16.20-r0",
    "qualifiers": {
        "arch": "mips64",
        "distroversion": "v3.13",
        "reponame": "main"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "9.16.25-r0",
    "latest_non_vulnerable_version": "9.16.33-r0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/80079?format=api",
            "vulnerability_id": "VCID-x9g2-pnfe-qyhh",
            "summary": "bind: Too strict assertion check could be triggered when responses require UDP fragmentation if RRL is in use",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-25218.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-25218.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-25218",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00584",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68945",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00584",
                            "scoring_system": "epss",
                            "scoring_elements": "0.6901",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00584",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69054",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00584",
                            "scoring_system": "epss",
                            "scoring_elements": "0.6904",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00584",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68963",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00584",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68983",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00584",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68962",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00584",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69013",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00584",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69032",
                            "published_at": "2026-04-09T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-25218"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1995312",
                    "reference_id": "1995312",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1995312"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-2303",
                    "reference_id": "AVG-2303",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-2303"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/945980?format=api",
                    "purl": "pkg:apk/alpine/bind@9.16.20-r0?arch=mips64&distroversion=v3.13&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/bind@9.16.20-r0%3Farch=mips64&distroversion=v3.13&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2021-25218"
            ],
            "risk_score": 3.4,
            "exploitability": "0.5",
            "weighted_severity": "6.8",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-x9g2-pnfe-qyhh"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/bind@9.16.20-r0%3Farch=mips64&distroversion=v3.13&reponame=main"
}