Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/28941?format=api",
    "purl": "pkg:pypi/py7zr@0.3.5",
    "type": "pypi",
    "namespace": "",
    "name": "py7zr",
    "version": "0.3.5",
    "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/8655?format=api",
            "vulnerability_id": "VCID-a1cc-7hs1-x3ep",
            "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://api.first.org/data/v1/epss?cve=CVE-2022-44900",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.28582",
                            "scoring_system": "epss",
                            "scoring_elements": "0.96609",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-44900"
                },
                {
                    "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://github.com/pypa/advisory-database/tree/main/vulns/py7zr/PYSEC-2022-42998.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/py7zr/PYSEC-2022-42998.yaml"
                },
                {
                    "reference_url": "https://lessonsec.com/cve/cve-2022-44900/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lessonsec.com/cve/cve-2022-44900/"
                },
                {
                    "reference_url": "https://lessonsec.com/cve/cve-2022-44900",
                    "reference_id": "CVE-2022-44900",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lessonsec.com/cve/cve-2022-44900"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-44900",
                    "reference_id": "CVE-2022-44900",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-44900"
                },
                {
                    "reference_url": "https://advisory-inbox.githubapp.com/advisory_reviews/GHSA-m8xw-9x5x-6vh3",
                    "reference_id": "GHSA-m8xw-9x5x-6vh3",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "CRITICAL",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://advisory-inbox.githubapp.com/advisory_reviews/GHSA-m8xw-9x5x-6vh3"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-m8xw-9x5x-6vh3",
                    "reference_id": "GHSA-m8xw-9x5x-6vh3",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "CRITICAL",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-m8xw-9x5x-6vh3"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/29073?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",
                "GHSA-m8xw-9x5x-6vh3",
                "PYSEC-2022-42998"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-a1cc-7hs1-x3ep"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/py7zr@0.3.5"
}