Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/28876?format=api",
    "purl": "pkg:pypi/mod-wsgi@4.5.8",
    "type": "pypi",
    "namespace": "",
    "name": "mod-wsgi",
    "version": "4.5.8",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "4.9.3",
    "latest_non_vulnerable_version": "4.9.3",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36168?format=api",
            "vulnerability_id": "VCID-5358-uups-zqfk",
            "summary": "A vulnerability was found in mod_wsgi. The X-Client-IP header is not removed from a request from an untrusted proxy, allowing an attacker to pass the X-Client-IP header to the target WSGI application because the condition to remove it is missing.",
            "references": [
                {
                    "reference_url": "https://github.com/advisories/GHSA-7527-8855-9cf8",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-7527-8855-9cf8"
                },
                {
                    "reference_url": "https://github.com/GrahamDumpleton/mod_wsgi/blob/4.9.2/src/server/mod_wsgi.c#L13940-L13941",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/GrahamDumpleton/mod_wsgi/blob/4.9.2/src/server/mod_wsgi.c#L13940-L13941"
                },
                {
                    "reference_url": "https://github.com/GrahamDumpleton/mod_wsgi/blob/4.9.2/src/server/mod_wsgi.c#L14046-L14082",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/GrahamDumpleton/mod_wsgi/blob/4.9.2/src/server/mod_wsgi.c#L14046-L14082"
                },
                {
                    "reference_url": "https://modwsgi.readthedocs.io/en/latest/release-notes/version-4.9.3.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://modwsgi.readthedocs.io/en/latest/release-notes/version-4.9.3.html"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/28908?format=api",
                    "purl": "pkg:pypi/mod-wsgi@4.9.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mod-wsgi@4.9.3"
                }
            ],
            "aliases": [
                "CVE-2022-2255",
                "GHSA-7527-8855-9cf8",
                "PYSEC-2022-254"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-5358-uups-zqfk"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mod-wsgi@4.5.8"
}