Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/19638?format=api",
    "purl": "pkg:pypi/pwntools@3.7.1",
    "type": "pypi",
    "namespace": "",
    "name": "pwntools",
    "version": "3.7.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "4.3.1",
    "latest_non_vulnerable_version": "4.3.1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/5756?format=api",
            "vulnerability_id": "VCID-6m75-kpq3-jkaz",
            "summary": "arbitrary code execution",
            "references": [
                {
                    "reference_url": "https://github.com/advisories/GHSA-7xc5-ggpp-g249",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-7xc5-ggpp-g249"
                },
                {
                    "reference_url": "https://github.com/Gallopsled/pwntools/issues/1427",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/Gallopsled/pwntools/issues/1427"
                },
                {
                    "reference_url": "https://github.com/Gallopsled/pwntools/pull/1732",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/Gallopsled/pwntools/pull/1732"
                },
                {
                    "reference_url": "https://snyk.io/vuln/SNYK-PYTHON-PWNTOOLS-1047345",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://snyk.io/vuln/SNYK-PYTHON-PWNTOOLS-1047345"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1419",
                    "reference_id": "AVG-1419",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1419"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/19677?format=api",
                    "purl": "pkg:pypi/pwntools@4.3.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pwntools@4.3.1"
                }
            ],
            "aliases": [
                "CVE-2020-28468",
                "GHSA-7xc5-ggpp-g249",
                "PYSEC-2021-72",
                "SNYK-PYTHON-PWNTOOLS-1047345"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-6m75-kpq3-jkaz"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pwntools@3.7.1"
}