Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/503927?format=api",
    "purl": "pkg:pypi/rootinteractive@0.0.5",
    "type": "pypi",
    "namespace": "",
    "name": "rootinteractive",
    "version": "0.0.5",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "0.0.21",
    "latest_non_vulnerable_version": "0.0.21",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36125?format=api",
            "vulnerability_id": "VCID-sx6w-bt5y-mfbz",
            "summary": "The RootInteractive package in PyPI v0.0.5 to v0.0.19b0 was discovered to contain a code execution backdoor via the request package. This vulnerability allows attackers to access sensitive user information and digital currency keys, as well as escalate privileges.",
            "references": [
                {
                    "reference_url": "http://pypi.doubanio.com/simple/request",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://pypi.doubanio.com/simple/request"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-32997",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00734",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73128",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.00734",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73165",
                            "published_at": "2026-06-05T12:55:00Z"
                        },
                        {
                            "value": "0.00734",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73171",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.00734",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73153",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.00734",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73139",
                            "published_at": "2026-06-08T12:55:00Z"
                        },
                        {
                            "value": "0.00734",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73164",
                            "published_at": "2026-06-09T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-32997"
                },
                {
                    "reference_url": "https://github.com/miranov25/RootInteractive/issues/206",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/miranov25/RootInteractive/issues/206"
                },
                {
                    "reference_url": "https://pypi.org/project/RootInteractive/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://pypi.org/project/RootInteractive/"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-32997",
                    "reference_id": "CVE-2022-32997",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-32997"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/28162?format=api",
                    "purl": "pkg:pypi/rootinteractive@0.0.19",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/rootinteractive@0.0.19"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/503928?format=api",
                    "purl": "pkg:pypi/rootinteractive@0.0.21",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/rootinteractive@0.0.21"
                }
            ],
            "aliases": [
                "CVE-2022-32997",
                "PYSEC-2022-219"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-sx6w-bt5y-mfbz"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/rootinteractive@0.0.5"
}