Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/49745?format=api",
    "purl": "pkg:pypi/opencv-contrib-python-headless@3.4.11.43",
    "type": "pypi",
    "namespace": "",
    "name": "opencv-contrib-python-headless",
    "version": "3.4.11.43",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "4.8.1.78",
    "latest_non_vulnerable_version": "4.8.1.78",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/9682?format=api",
            "vulnerability_id": "VCID-yj9d-e915-wya2",
            "summary": "opencv-contrib-python-headless versions before v4.8.1.78 bundled libwebp binaries in wheels that are vulnerable to CVE-2023-4863. opencv-contrib-python-headless v4.8.1.78 upgrades the bundled libwebp binary to v1.3.2.",
            "references": [
                {
                    "reference_url": "https://github.com/opencv/opencv/pull/24274",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/opencv/opencv/pull/24274"
                },
                {
                    "reference_url": "https://github.com/opencv/opencv/wiki/ChangeLog#version481",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/opencv/opencv/wiki/ChangeLog#version481"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-4863",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-4863"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/49783?format=api",
                    "purl": "pkg:pypi/opencv-contrib-python-headless@4.8.1.78",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/opencv-contrib-python-headless@4.8.1.78"
                }
            ],
            "aliases": [
                "PYSEC-2023-182"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-yj9d-e915-wya2"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/opencv-contrib-python-headless@3.4.11.43"
}