Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/81845?format=api",
    "purl": "pkg:pypi/djangorestframework@3.15.2",
    "type": "pypi",
    "namespace": "",
    "name": "djangorestframework",
    "version": "3.15.2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "3.11.2",
    "latest_non_vulnerable_version": "3.15.2",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/247051?format=api",
            "vulnerability_id": "VCID-5m11-bzss-4kae",
            "summary": "",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2024-21520",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.08397",
                            "scoring_system": "epss",
                            "scoring_elements": "0.92448",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2024-21520"
                },
                {
                    "reference_url": "https://github.com/encode/django-rest-framework/commit/3b41f0124194430da957b119712978fa2266b642",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/encode/django-rest-framework/commit/3b41f0124194430da957b119712978fa2266b642"
                },
                {
                    "reference_url": "https://github.com/encode/django-rest-framework/compare/3.15.1...3.15.2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/encode/django-rest-framework/compare/3.15.1...3.15.2"
                },
                {
                    "reference_url": "https://github.com/encode/django-rest-framework/pull/9435",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/encode/django-rest-framework/pull/9435"
                },
                {
                    "reference_url": "https://security.snyk.io/vuln/SNYK-PYTHON-DJANGORESTFRAMEWORK-7252137",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.snyk.io/vuln/SNYK-PYTHON-DJANGORESTFRAMEWORK-7252137"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-21520",
                    "reference_id": "CVE-2024-21520",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-21520"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-gw84-84pc-xp82",
                    "reference_id": "GHSA-gw84-84pc-xp82",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "LOW",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-gw84-84pc-xp82"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/81845?format=api",
                    "purl": "pkg:pypi/djangorestframework@3.15.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/djangorestframework@3.15.2"
                }
            ],
            "aliases": [
                "CVE-2024-21520",
                "GHSA-gw84-84pc-xp82"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-5m11-bzss-4kae"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/djangorestframework@3.15.2"
}