Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/59867?format=api",
    "purl": "pkg:pypi/numpy@1.22.0",
    "type": "pypi",
    "namespace": "",
    "name": "numpy",
    "version": "1.22.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35929?format=api",
            "vulnerability_id": "VCID-trpn-8hvc-5qd8",
            "summary": "Incomplete string comparison in the numpy.core component in NumPy1.9.x, which allows attackers to fail the APIs via constructing specific string objects.",
            "references": [
                {
                    "reference_url": "https://github.com/advisories/GHSA-fpfv-jqm9-f5jm",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-fpfv-jqm9-f5jm"
                },
                {
                    "reference_url": "https://github.com/numpy/numpy/issues/18993",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/numpy/numpy/issues/18993"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-34141",
                    "reference_id": "CVE-2021-34141",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-34141"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/10133?format=api",
                    "purl": "pkg:pypi/numpy@1.10.0",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-86w7-qcmk-xyca"
                        },
                        {
                            "vulnerability": "VCID-d4gz-n249-4ucx"
                        },
                        {
                            "vulnerability": "VCID-vx94-afb7-ybdw"
                        },
                        {
                            "vulnerability": "VCID-xmpe-ucks-uubr"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/numpy@1.10.0"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/59867?format=api",
                    "purl": "pkg:pypi/numpy@1.22.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/numpy@1.22.0"
                }
            ],
            "aliases": [
                "CVE-2021-34141",
                "GHSA-fpfv-jqm9-f5jm",
                "PYSEC-2021-855"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-trpn-8hvc-5qd8"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/numpy@1.22.0"
}