Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46888?format=api",
    "vulnerability_id": "VCID-w7hn-1uj8-cuc6",
    "summary": "Cross-site WebSocket hijacking vulnerability in the Jenkins CLI\nJenkins 2.217 through 2.441 (both inclusive), LTS 2.222.1 through 2.426.2 (both inclusive) does not perform origin validation of requests made through the CLI WebSocket endpoint, resulting in a cross-site WebSocket hijacking (CSWSH) vulnerability, allowing attackers to execute CLI commands on the Jenkins controller.",
    "aliases": [
        {
            "alias": "CVE-2024-23898"
        },
        {
            "alias": "GHSA-53ph-2r2x-vqw8"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/67239?format=api",
            "purl": "pkg:maven/org.jenkins-ci.main/jenkins-core@2.427",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-y4a2-mamb-yqg6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.main/jenkins-core@2.427"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/68602?format=api",
            "purl": "pkg:maven/org.jenkins-ci.main/jenkins-core@2.222.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-w7hn-1uj8-cuc6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.main/jenkins-core@2.222.1"
        }
    ],
    "references": [
        {
            "reference_url": "https://www.jenkins.io/security/advisory/2024-01-24/#SECURITY-3315",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.jenkins.io/security/advisory/2024-01-24/#SECURITY-3315"
        },
        {
            "reference_url": "http://www.openwall.com/lists/oss-security/2024/01/24/6",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.openwall.com/lists/oss-security/2024/01/24/6"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-23898",
            "reference_id": "CVE-2024-23898",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-23898"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-53ph-2r2x-vqw8",
            "reference_id": "GHSA-53ph-2r2x-vqw8",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-53ph-2r2x-vqw8"
        }
    ],
    "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": 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-w7hn-1uj8-cuc6"
}