Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/34871?format=api",
    "purl": "pkg:pypi/gevent@0.11.2",
    "type": "pypi",
    "namespace": "",
    "name": "gevent",
    "version": "0.11.2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "23.9.0",
    "latest_non_vulnerable_version": "23.9.0",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/8889?format=api",
            "vulnerability_id": "VCID-k8qm-1x6f-mfbd",
            "summary": "An issue in Gevent before version 23.9.0 allows a remote attacker to escalate privileges via a crafted script to the WSGIServer component.",
            "references": [
                {
                    "reference_url": "https://github.com/gevent/gevent",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/gevent/gevent"
                },
                {
                    "reference_url": "https://github.com/gevent/gevent/commit/2f53c851eaf926767fbac62385615efd4886221c",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/gevent/gevent/commit/2f53c851eaf926767fbac62385615efd4886221c"
                },
                {
                    "reference_url": "https://github.com/gevent/gevent/issues/1989",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/gevent/gevent/issues/1989"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/gevent/PYSEC-2023-177.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/gevent/PYSEC-2023-177.yaml"
                },
                {
                    "reference_url": "https://lists.debian.org/debian-lts-announce/2025/11/msg00020.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.debian.org/debian-lts-announce/2025/11/msg00020.html"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-41419",
                    "reference_id": "CVE-2023-41419",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-41419"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-x7m3-jprg-wc5g",
                    "reference_id": "GHSA-x7m3-jprg-wc5g",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-x7m3-jprg-wc5g"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/34946?format=api",
                    "purl": "pkg:pypi/gevent@23.9.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/gevent@23.9.0"
                }
            ],
            "aliases": [
                "CVE-2023-41419",
                "GHSA-x7m3-jprg-wc5g",
                "PYSEC-2023-177"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-k8qm-1x6f-mfbd"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/gevent@0.11.2"
}