Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/60113?format=api",
    "purl": "pkg:maven/com.google.protobuf/protobuf-java@3.18.2",
    "type": "maven",
    "namespace": "com.google.protobuf",
    "name": "protobuf-java",
    "version": "3.18.2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "3.19.2",
    "latest_non_vulnerable_version": "3.19.2",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/42001?format=api",
            "vulnerability_id": "VCID-z8kw-qr2z-4qe7",
            "summary": "Duplicate\nThis advisory duplicates another.",
            "references": [
                {
                    "reference_url": "https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=39330",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=39330"
                },
                {
                    "reference_url": "https://cloud.google.com/support/bulletins#gcp-2022-001",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cloud.google.com/support/bulletins#gcp-2022-001"
                },
                {
                    "reference_url": "http://www.openwall.com/lists/oss-security/2022/01/12/4",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.openwall.com/lists/oss-security/2022/01/12/4"
                },
                {
                    "reference_url": "http://www.openwall.com/lists/oss-security/2022/01/12/7",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.openwall.com/lists/oss-security/2022/01/12/7"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-22569",
                    "reference_id": "CVE-2021-22569",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-22569"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-wrvw-hg22-4m67",
                    "reference_id": "GHSA-wrvw-hg22-4m67",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-wrvw-hg22-4m67"
                },
                {
                    "reference_url": "https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-wrvw-hg22-4m67",
                    "reference_id": "GHSA-wrvw-hg22-4m67",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-wrvw-hg22-4m67"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/60112?format=api",
                    "purl": "pkg:maven/com.google.protobuf/protobuf-java@3.16.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.google.protobuf/protobuf-java@3.16.1"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/60113?format=api",
                    "purl": "pkg:maven/com.google.protobuf/protobuf-java@3.18.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.google.protobuf/protobuf-java@3.18.2"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/60114?format=api",
                    "purl": "pkg:maven/com.google.protobuf/protobuf-java@3.19.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.google.protobuf/protobuf-java@3.19.2"
                }
            ],
            "aliases": [
                "CVE-2021-22569",
                "GHSA-wrvw-hg22-4m67",
                "GMS-2022-1",
                "GMS-2022-5",
                "GMS-2022-6"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-z8kw-qr2z-4qe7"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.google.protobuf/protobuf-java@3.18.2"
}