Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/207229?format=api",
    "purl": "pkg:deb/debian/sdl-mixer1.2@1.2.12-17?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "sdl-mixer1.2",
    "version": "1.2.12-17",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "1.2.8-1",
    "latest_non_vulnerable_version": "1.2.12-19",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/52036?format=api",
            "vulnerability_id": "VCID-x6tq-fhnv-uybr",
            "summary": "",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2007-6720",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01111",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78467",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2007-6720"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=422021",
                    "reference_id": "422021",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=422021"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=461519",
                    "reference_id": "461519",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=461519"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/995-1/",
                    "reference_id": "USN-995-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/995-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/207230?format=api",
                    "purl": "pkg:deb/debian/sdl-mixer1.2@1.2.8-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/sdl-mixer1.2@1.2.8-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/207231?format=api",
                    "purl": "pkg:deb/debian/sdl-mixer1.2@1.2.12-16?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/sdl-mixer1.2@1.2.12-16%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/207229?format=api",
                    "purl": "pkg:deb/debian/sdl-mixer1.2@1.2.12-17?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/sdl-mixer1.2@1.2.12-17%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/207232?format=api",
                    "purl": "pkg:deb/debian/sdl-mixer1.2@1.2.12-19?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/sdl-mixer1.2@1.2.12-19%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2007-6720"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-x6tq-fhnv-uybr"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/sdl-mixer1.2@1.2.12-17%3Fdistro=trixie"
}