Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/42561?format=api",
    "vulnerability_id": "VCID-1nbr-7xrg-sug8",
    "summary": "XML External Entity Reference in Hazelcast\nThe `AbstractXmlConfigRootTagRecognizer()` function makes use of SAXParser generated from a `SAXParserFactory` with no `FEATURE_SECURE_PROCESSING` set, allowing for XXE attacks.",
    "aliases": [
        {
            "alias": "CVE-2022-0265"
        },
        {
            "alias": "GHSA-99wh-973f-779p"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60864?format=api",
            "purl": "pkg:maven/com.hazelcast/hazelcast@5.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-qav2-hjzf-u3e3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.hazelcast/hazelcast@5.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60866?format=api",
            "purl": "pkg:maven/com.hazelcast/hazelcast-enterprise@5.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-r7vq-ymeq-83h5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.hazelcast/hazelcast-enterprise@5.2"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60863?format=api",
            "purl": "pkg:maven/com.hazelcast/hazelcast@5.1-BETA-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1nbr-7xrg-sug8"
                },
                {
                    "vulnerability": "VCID-r7vq-ymeq-83h5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.hazelcast/hazelcast@5.1-BETA-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60865?format=api",
            "purl": "pkg:maven/com.hazelcast/hazelcast-enterprise@5.1-BETA-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1nbr-7xrg-sug8"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.hazelcast/hazelcast-enterprise@5.1-BETA-1"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/hazelcast/hazelcast/commit/4d6b666cd0291abd618c3b95cdbb51aa4208e748",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/hazelcast/hazelcast/commit/4d6b666cd0291abd618c3b95cdbb51aa4208e748"
        },
        {
            "reference_url": "https://huntr.dev/bounties/d63972a2-b910-480a-a86b-d1f75d24d563",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://huntr.dev/bounties/d63972a2-b910-480a-a86b-d1f75d24d563"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-0265",
            "reference_id": "CVE-2022-0265",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-0265"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-99wh-973f-779p",
            "reference_id": "GHSA-99wh-973f-779p",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-99wh-973f-779p"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        },
        {
            "cwe_id": 611,
            "name": "Improper Restriction of XML External Entity Reference",
            "description": "The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-1nbr-7xrg-sug8"
}