Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/50985?format=api",
    "purl": "pkg:pypi/opencv-python@4.0.0.21",
    "type": "pypi",
    "namespace": "",
    "name": "opencv-python",
    "version": "4.0.0.21",
    "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/41566?format=api",
            "vulnerability_id": "VCID-1qhy-7pnz-aqga",
            "summary": "Out-of-bounds Write\nAn issue was discovered in OpenCV There is an out-of-bounds read/write in the function HaarEvaluator::OptFeature::calc in modules/objdetect/src/cascadedetect.hpp, which leads to denial of service.",
            "references": [
                {
                    "reference_url": "http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00025.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00025.html"
                },
                {
                    "reference_url": "https://github.com/opencv/opencv/compare/33b765d...4a7ca5a",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/opencv/opencv/compare/33b765d...4a7ca5a"
                },
                {
                    "reference_url": "https://github.com/opencv/opencv/compare/371bba8...ddbd10c",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/opencv/opencv/compare/371bba8...ddbd10c"
                },
                {
                    "reference_url": "https://github.com/opencv/opencv/issues/15124",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/opencv/opencv/issues/15124"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2019-14492",
                    "reference_id": "CVE-2019-14492",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-14492"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-fw99-f933-rgh8",
                    "reference_id": "GHSA-fw99-f933-rgh8",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-fw99-f933-rgh8"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/50989?format=api",
                    "purl": "pkg:pypi/opencv-python@4.1.1.26",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-73g1-r39e-z7ez"
                        },
                        {
                            "vulnerability": "VCID-h7gk-61kp-8ygz"
                        },
                        {
                            "vulnerability": "VCID-kxqz-tbvz-gfcs"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/opencv-python@4.1.1.26"
                }
            ],
            "aliases": [
                "CVE-2019-14492",
                "GHSA-fw99-f933-rgh8"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-1qhy-7pnz-aqga"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37351?format=api",
            "vulnerability_id": "VCID-73g1-r39e-z7ez",
            "summary": "opencv-python versions before v4.8.1.78 bundled libwebp binaries in wheels that are vulnerable to CVE-2023-4863. opencv-python 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/51012?format=api",
                    "purl": "pkg:pypi/opencv-python@4.8.1.78",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/opencv-python@4.8.1.78"
                }
            ],
            "aliases": [
                "PYSEC-2023-183"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-73g1-r39e-z7ez"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/41565?format=api",
            "vulnerability_id": "VCID-dv7w-p358-1qda",
            "summary": "Out-of-bounds Read\nAn issue was discovered in OpenCV There is an out-of-bounds read in the function cv::predictOrdered<cv::HaarEvaluator> in modules/objdetect/src/cascadedetect.hpp, which leads to denial of service.",
            "references": [
                {
                    "reference_url": "https://github.com/opencv/opencv/compare/33b765d...4a7ca5a",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/opencv/opencv/compare/33b765d...4a7ca5a"
                },
                {
                    "reference_url": "https://github.com/opencv/opencv/compare/371bba8...ddbd10c",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/opencv/opencv/compare/371bba8...ddbd10c"
                },
                {
                    "reference_url": "https://github.com/opencv/opencv/issues/15125",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/opencv/opencv/issues/15125"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HPFLN6QAX6SUA4XR4NMKKXX26H3TYCVQ/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HPFLN6QAX6SUA4XR4NMKKXX26H3TYCVQ/"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2019-14491",
                    "reference_id": "CVE-2019-14491",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-14491"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-fm39-cw8h-3p63",
                    "reference_id": "GHSA-fm39-cw8h-3p63",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-fm39-cw8h-3p63"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/50989?format=api",
                    "purl": "pkg:pypi/opencv-python@4.1.1.26",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-73g1-r39e-z7ez"
                        },
                        {
                            "vulnerability": "VCID-h7gk-61kp-8ygz"
                        },
                        {
                            "vulnerability": "VCID-kxqz-tbvz-gfcs"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/opencv-python@4.1.1.26"
                }
            ],
            "aliases": [
                "CVE-2019-14491",
                "GHSA-fm39-cw8h-3p63"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-dv7w-p358-1qda"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/opencv-python@4.0.0.21"
}