Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/30114?format=api",
    "purl": "pkg:pypi/py7zr@0.9.0a2",
    "type": "pypi",
    "namespace": "",
    "name": "py7zr",
    "version": "0.9.0a2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "0.20.1",
    "latest_non_vulnerable_version": "0.20.1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36323?format=api",
            "vulnerability_id": "VCID-d5ur-v1k4-9qe4",
            "summary": "A directory traversal vulnerability in the SevenZipFile.extractall() function of the python library py7zr v0.20.0 and earlier allows attackers to write arbitrary files via extracting a crafted 7z file.",
            "references": [
                {
                    "reference_url": "http://packetstormsecurity.com/files/170127/py7zr-0.20.0-Directory-Traversal.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://packetstormsecurity.com/files/170127/py7zr-0.20.0-Directory-Traversal.html"
                },
                {
                    "reference_url": "https://github.com/miurahr/py7zr/commit/1bb43f17515c7f69673a1c88ab9cc72a7bbef406",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/miurahr/py7zr/commit/1bb43f17515c7f69673a1c88ab9cc72a7bbef406"
                },
                {
                    "reference_url": "https://lessonsec.com/cve/cve-2022-44900/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lessonsec.com/cve/cve-2022-44900/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/30180?format=api",
                    "purl": "pkg:pypi/py7zr@0.20.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/py7zr@0.20.1"
                }
            ],
            "aliases": [
                "CVE-2022-44900",
                "PYSEC-2022-42998"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-d5ur-v1k4-9qe4"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/py7zr@0.9.0a2"
}