Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/585031?format=api",
    "purl": "pkg:deb/debian/bind9@1:9.8.1.dfsg.P1-4.2?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "bind9",
    "version": "1:9.8.1.dfsg.P1-4.2",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "1:9.8.1.dfsg.P1-4.3",
    "latest_non_vulnerable_version": "1:9.20.22-1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46332?format=api",
            "vulnerability_id": "VCID-6e6r-9pny-nygj",
            "summary": "Multiple vulnerabilities have been found in BIND, the worst of\n    which may allow remote Denial of Service.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-3817.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-3817.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2012-3817",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.06693",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91194",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.06693",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91199",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.06693",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91208",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.06693",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91215",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.06693",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91228",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.06693",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91235",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.06693",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91241",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.06693",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91245",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.06693",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91244",
                            "published_at": "2026-04-13T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2012-3817"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-3817",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-3817"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=683259",
                    "reference_id": "683259",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=683259"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=842897",
                    "reference_id": "842897",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=842897"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201209-04",
                    "reference_id": "GLSA-201209-04",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201209-04"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2012:1122",
                    "reference_id": "RHSA-2012:1122",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2012:1122"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2012:1123",
                    "reference_id": "RHSA-2012:1123",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2012:1123"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/1518-1/",
                    "reference_id": "USN-1518-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/1518-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/585031?format=api",
                    "purl": "pkg:deb/debian/bind9@1:9.8.1.dfsg.P1-4.2?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/bind9@1:9.8.1.dfsg.P1-4.2%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/582322?format=api",
                    "purl": "pkg:deb/debian/bind9@1:9.16.50-1~deb11u2?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-d9np-47r3-rkg1"
                        },
                        {
                            "vulnerability": "VCID-gdhz-6yzf-afda"
                        },
                        {
                            "vulnerability": "VCID-unqt-mcxv-c7fw"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/bind9@1:9.16.50-1~deb11u2%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/582323?format=api",
                    "purl": "pkg:deb/debian/bind9@1:9.18.41-1~deb12u1?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-d9np-47r3-rkg1"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/bind9@1:9.18.41-1~deb12u1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/582324?format=api",
                    "purl": "pkg:deb/debian/bind9@1:9.20.18-1~deb13u1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/bind9@1:9.20.18-1~deb13u1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/582325?format=api",
                    "purl": "pkg:deb/debian/bind9@1:9.20.21-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/bind9@1:9.20.21-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/921541?format=api",
                    "purl": "pkg:deb/debian/bind9@1:9.20.22-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/bind9@1:9.20.22-1%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2012-3817"
            ],
            "risk_score": 0.1,
            "exploitability": "0.5",
            "weighted_severity": "0.1",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-6e6r-9pny-nygj"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/bind9@1:9.8.1.dfsg.P1-4.2%3Fdistro=trixie"
}