Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/44715?format=api",
    "purl": "pkg:pypi/zenml@0.63.0",
    "type": "pypi",
    "namespace": "",
    "name": "zenml",
    "version": "0.63.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "0.68.0",
    "latest_non_vulnerable_version": "0.68.0",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37011?format=api",
            "vulnerability_id": "VCID-zd6d-8hdf-quhz",
            "summary": "A Denial of Service (DoS) vulnerability in zenml-io/zenml version 0.66.0 allows unauthenticated attackers to cause excessive resource consumption by sending malformed multipart requests with arbitrary characters appended to the end of multipart boundaries. This flaw in the multipart request boundary processing mechanism leads to an infinite loop, resulting in a complete denial of service for all users. Affected endpoints include `/api/v1/login` and `/api/v1/device_authorization`.",
            "references": [
                {
                    "reference_url": "https://github.com/zenml-io/zenml/commit/cba152eb9ca3071c8372b0b91c02d9d3351de48d",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/zenml-io/zenml/commit/cba152eb9ca3071c8372b0b91c02d9d3351de48d"
                },
                {
                    "reference_url": "https://huntr.com/bounties/c9200654-7dc0-4c1d-8573-ab79a87fb4f6",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://huntr.com/bounties/c9200654-7dc0-4c1d-8573-ab79a87fb4f6"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/44720?format=api",
                    "purl": "pkg:pypi/zenml@0.68.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/zenml@0.68.0"
                }
            ],
            "aliases": [
                "CVE-2024-9340",
                "PYSEC-2025-57"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-zd6d-8hdf-quhz"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/zenml@0.63.0"
}