Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/73972?format=api",
    "purl": "pkg:composer/amphp/http-server@2.1.10",
    "type": "composer",
    "namespace": "amphp",
    "name": "http-server",
    "version": "2.1.10",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.1.10",
    "latest_non_vulnerable_version": "3.4.4",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/50089?format=api",
            "vulnerability_id": "VCID-42zf-t5pw-3fc1",
            "summary": "amphp/http-server affected by HTTP/2 DDoS vulnerability\nVersions of `amphp/http-server` prior to `3.4.4` for the 3.x release branch and prior to `2.1.10` for the 2.x release branch are vulnerable to the HTTP/2 \"MadeYouReset\" DoS attack described by CVE-2025-8671 and https://kb.cert.org/vuls/id/767506.\n\nIn versions `3.4.4` and `2.1.10`, stream reset protection has been refactored to account for the number of reset streams within a sliding time window.\n\nNote that your application must expose HTTP/2 connections directly to be affected by this vulnerability. Servers behind a proxy using HTTP/1.x such as nginx are not affected.",
            "references": [
                {
                    "reference_url": "https://github.com/amphp/http-server",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/amphp/http-server"
                },
                {
                    "reference_url": "https://github.com/amphp/http-server/releases/tag/v2.1.10",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/amphp/http-server/releases/tag/v2.1.10"
                },
                {
                    "reference_url": "https://github.com/amphp/http-server/releases/tag/v3.4.4",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/amphp/http-server/releases/tag/v3.4.4"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-8grv-jq2g-cfhw",
                    "reference_id": "GHSA-8grv-jq2g-cfhw",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-8grv-jq2g-cfhw"
                },
                {
                    "reference_url": "https://github.com/amphp/http-server/security/advisories/GHSA-8grv-jq2g-cfhw",
                    "reference_id": "GHSA-8grv-jq2g-cfhw",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/amphp/http-server/security/advisories/GHSA-8grv-jq2g-cfhw"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/73972?format=api",
                    "purl": "pkg:composer/amphp/http-server@2.1.10",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/amphp/http-server@2.1.10"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/73971?format=api",
                    "purl": "pkg:composer/amphp/http-server@3.4.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/amphp/http-server@3.4.4"
                }
            ],
            "aliases": [
                "GHSA-8grv-jq2g-cfhw"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-42zf-t5pw-3fc1"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/amphp/http-server@2.1.10"
}