Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/517981?format=api",
    "purl": "pkg:deb/debian/mtr@0.71-2",
    "type": "deb",
    "namespace": "debian",
    "name": "mtr",
    "version": "0.71-2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "0.73-1",
    "latest_non_vulnerable_version": "0.96-1~bpo13+1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/93626?format=api",
            "vulnerability_id": "VCID-vjd6-haux-3ub1",
            "summary": "Stack-based buffer overflow in the split_redraw function in split.c in mtr before 0.73, when invoked with the -p (aka --split) option, allows remote attackers to execute arbitrary code via a crafted DNS PTR record.  NOTE: it could be argued that this is a vulnerability in the ns_name_ntop function in resolv/ns_name.c in glibc and the proper fix should be in glibc; if so, then this should not be treated as a vulnerability in mtr.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2008-2357.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2008-2357.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2008-2357",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.07562",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91977",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.07562",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91989",
                            "published_at": "2026-06-08T12:55:00Z"
                        },
                        {
                            "value": "0.07562",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91991",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.07562",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91988",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.07562",
                            "scoring_system": "epss",
                            "scoring_elements": "0.92002",
                            "published_at": "2026-06-09T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2008-2357"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2357",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2357"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=447884",
                    "reference_id": "447884",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=447884"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/200806-01",
                    "reference_id": "GLSA-200806-01",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/200806-01"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/517983?format=api",
                    "purl": "pkg:deb/debian/mtr@0.73-1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mtr@0.73-1"
                }
            ],
            "aliases": [
                "CVE-2008-2357"
            ],
            "risk_score": 0.1,
            "exploitability": "0.5",
            "weighted_severity": "0.1",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-vjd6-haux-3ub1"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "0.1",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mtr@0.71-2"
}