Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/65914?format=api",
    "purl": "pkg:maven/org.xerial.snappy/snappy-java@1.1.10.4",
    "type": "maven",
    "namespace": "org.xerial.snappy",
    "name": "snappy-java",
    "version": "1.1.10.4",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "1.1.10.1",
    "latest_non_vulnerable_version": "1.1.10.4",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/18504?format=api",
            "vulnerability_id": "VCID-6mnd-mhqg-6qaw",
            "summary": "Allocation of Resources Without Limits or Throttling\nsnappy-java is a Java port of the snappy, a fast C++ compresser/decompresser developed by Google. The SnappyInputStream was found to be vulnerable to Denial of Service (DoS) attacks when decompressing data with a too large chunk size. Due to missing upper bound check on chunk length, an unrecoverable fatal error can occur. All versions of snappy-java including the latest released version 1.1.10.3 is vulnerable to this issue. A fix has been introduced in commit `9f8c3cf74` which will be included in the 1.1.10.4 release. Users are advised to upgrade. Users unable to upgrade should only accept compressed data from trusted sources.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2023-43642",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00247",
                            "scoring_system": "epss",
                            "scoring_elements": "0.481",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2023-43642"
                },
                {
                    "reference_url": "https://github.com/xerial/snappy-java/commit/9f8c3cf74223ed0a8a834134be9c917b9f10ceb5",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/xerial/snappy-java/commit/9f8c3cf74223ed0a8a834134be9c917b9f10ceb5"
                },
                {
                    "reference_url": "https://github.com/xerial/snappy-java/releases/tag/v1.1.10.4",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/xerial/snappy-java/releases/tag/v1.1.10.4"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-43642",
                    "reference_id": "CVE-2023-43642",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-43642"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-55g7-9cwv-5qfv",
                    "reference_id": "GHSA-55g7-9cwv-5qfv",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-55g7-9cwv-5qfv"
                },
                {
                    "reference_url": "https://github.com/xerial/snappy-java/security/advisories/GHSA-55g7-9cwv-5qfv",
                    "reference_id": "GHSA-55g7-9cwv-5qfv",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/xerial/snappy-java/security/advisories/GHSA-55g7-9cwv-5qfv"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/65914?format=api",
                    "purl": "pkg:maven/org.xerial.snappy/snappy-java@1.1.10.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xerial.snappy/snappy-java@1.1.10.4"
                }
            ],
            "aliases": [
                "CVE-2023-43642",
                "GHSA-55g7-9cwv-5qfv"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-6mnd-mhqg-6qaw"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xerial.snappy/snappy-java@1.1.10.4"
}