Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/586677?format=api",
    "purl": "pkg:deb/debian/file@5.11-1?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "file",
    "version": "5.11-1",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "1:5.17-0.1",
    "latest_non_vulnerable_version": "1:5.46-5",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/56839?format=api",
            "vulnerability_id": "VCID-at7n-u124-efd5",
            "summary": "A vulnerability in file could result in Denial of Service.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-1571.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-1571.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2012-1571",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00431",
                            "scoring_system": "epss",
                            "scoring_elements": "0.62468",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00431",
                            "scoring_system": "epss",
                            "scoring_elements": "0.62527",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00431",
                            "scoring_system": "epss",
                            "scoring_elements": "0.62559",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00431",
                            "scoring_system": "epss",
                            "scoring_elements": "0.62525",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00431",
                            "scoring_system": "epss",
                            "scoring_elements": "0.62576",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00431",
                            "scoring_system": "epss",
                            "scoring_elements": "0.62591",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00431",
                            "scoring_system": "epss",
                            "scoring_elements": "0.62609",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00431",
                            "scoring_system": "epss",
                            "scoring_elements": "0.62598",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00431",
                            "scoring_system": "epss",
                            "scoring_elements": "0.62575",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00431",
                            "scoring_system": "epss",
                            "scoring_elements": "0.62616",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00431",
                            "scoring_system": "epss",
                            "scoring_elements": "0.62623",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00431",
                            "scoring_system": "epss",
                            "scoring_elements": "0.62605",
                            "published_at": "2026-04-21T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2012-1571"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-1571",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-1571"
                },
                {
                    "reference_url": "http://mx.gw.com/pipermail/file/2012/000914.html",
                    "reference_id": "000914.html",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-12-04T20:30:57Z/"
                        }
                    ],
                    "url": "http://mx.gw.com/pipermail/file/2012/000914.html"
                },
                {
                    "reference_url": "https://github.com/glensc/file/commit/1859fdb4e67c49c463c4e0078054335cd46ba295",
                    "reference_id": "1859fdb4e67c49c463c4e0078054335cd46ba295",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-12-04T20:30:57Z/"
                        }
                    ],
                    "url": "https://github.com/glensc/file/commit/1859fdb4e67c49c463c4e0078054335cd46ba295"
                },
                {
                    "reference_url": "https://github.com/glensc/file/commit/1aec04dbf8a24b8a6ba64c4f74efa0628e36db0b",
                    "reference_id": "1aec04dbf8a24b8a6ba64c4f74efa0628e36db0b",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-12-04T20:30:57Z/"
                        }
                    ],
                    "url": "https://github.com/glensc/file/commit/1aec04dbf8a24b8a6ba64c4f74efa0628e36db0b"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=664263",
                    "reference_id": "664263",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=664263"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=805197",
                    "reference_id": "805197",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=805197"
                },
                {
                    "reference_url": "http://www.mandriva.com/security/advisories?name=MDVSA-2012:035",
                    "reference_id": "advisories?name=MDVSA-2012:035",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-12-04T20:30:57Z/"
                        }
                    ],
                    "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2012:035"
                },
                {
                    "reference_url": "http://www.debian.org/security/2012/dsa-2422",
                    "reference_id": "dsa-2422",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-12-04T20:30:57Z/"
                        }
                    ],
                    "url": "http://www.debian.org/security/2012/dsa-2422"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201209-14",
                    "reference_id": "GLSA-201209-14",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201209-14"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2014:1012",
                    "reference_id": "RHSA-2014:1012",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2014:1012"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2014:1606",
                    "reference_id": "RHSA-2014:1606",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2014:1606"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/2123-1/",
                    "reference_id": "USN-2123-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/2123-1/"
                },
                {
                    "reference_url": "http://www.ubuntu.com/usn/USN-2123-1",
                    "reference_id": "USN-2123-1",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-12-04T20:30:57Z/"
                        }
                    ],
                    "url": "http://www.ubuntu.com/usn/USN-2123-1"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/586677?format=api",
                    "purl": "pkg:deb/debian/file@5.11-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/file@5.11-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/582961?format=api",
                    "purl": "pkg:deb/debian/file@1:5.39-3%2Bdeb11u1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/file@1:5.39-3%252Bdeb11u1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/582962?format=api",
                    "purl": "pkg:deb/debian/file@1:5.44-3?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/file@1:5.44-3%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/582963?format=api",
                    "purl": "pkg:deb/debian/file@1:5.46-5?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/file@1:5.46-5%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2012-1571"
            ],
            "risk_score": 3.0,
            "exploitability": "0.5",
            "weighted_severity": "5.9",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-at7n-u124-efd5"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/file@5.11-1%3Fdistro=trixie"
}