Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/33089?format=api",
    "purl": "pkg:pypi/zstd@1.4.9.0",
    "type": "pypi",
    "namespace": "",
    "name": "zstd",
    "version": "1.4.9.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.5.4",
    "latest_non_vulnerable_version": "1.5.4.0",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36410?format=api",
            "vulnerability_id": "VCID-2rvr-kwm3-kqdz",
            "summary": "zstd vulnerable to buffer overrun\nA vulnerability was found in zstd v1.4.10, where an attacker can supply empty string as an argument to the command line tool to cause buffer overrun.",
            "references": [
                {
                    "reference_url": "https://github.com/facebook/zstd",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/facebook/zstd"
                },
                {
                    "reference_url": "https://github.com/facebook/zstd/issues/3200",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/facebook/zstd/issues/3200"
                },
                {
                    "reference_url": "https://github.com/facebook/zstd/pull/3220",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/facebook/zstd/pull/3220"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/zstd/PYSEC-2023-121.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/zstd/PYSEC-2023-121.yaml"
                },
                {
                    "reference_url": "https://github.com/sergey-dryabzhinsky/python-zstd/commit/c8a619aebdbd6b838fbfef6e19325a70f631a4c6",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/sergey-dryabzhinsky/python-zstd/commit/c8a619aebdbd6b838fbfef6e19325a70f631a4c6"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/C63HAGVLQA6FJNDCHR7CNZZL6VSLILB2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/C63HAGVLQA6FJNDCHR7CNZZL6VSLILB2"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JEHRBBYYTPA4DETOM5XAKGCP37NUTLOA",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JEHRBBYYTPA4DETOM5XAKGCP37NUTLOA"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QYLDK6ODVC4LJSDULLX6Q2YHTFOWABCN",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QYLDK6ODVC4LJSDULLX6Q2YHTFOWABCN"
                },
                {
                    "reference_url": "https://security.netapp.com/advisory/ntap-20230725-0005",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.netapp.com/advisory/ntap-20230725-0005"
                },
                {
                    "reference_url": "https://security.netapp.com/advisory/ntap-20230725-0005/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.netapp.com/advisory/ntap-20230725-0005/"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-4899",
                    "reference_id": "CVE-2022-4899",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-4899"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-5c9c-6x87-f9vm",
                    "reference_id": "GHSA-5c9c-6x87-f9vm",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-5c9c-6x87-f9vm"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/33104?format=api",
                    "purl": "pkg:pypi/zstd@1.5.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/zstd@1.5.4"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/64471?format=api",
                    "purl": "pkg:pypi/zstd@1.5.4.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/zstd@1.5.4.0"
                }
            ],
            "aliases": [
                "CVE-2022-4899",
                "GHSA-5c9c-6x87-f9vm",
                "PYSEC-2023-121"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-2rvr-kwm3-kqdz"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/zstd@1.4.9.0"
}