Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/44941?format=api",
    "vulnerability_id": "VCID-14hg-98w5-t7ga",
    "summary": "Cross-Site Request Forgery (CSRF)\nA cross-site request forgery (CSRF) vulnerability in Jenkins Report Portal Plugin 0.5 and earlier allows attackers to connect to an attacker-specified URL using attacker-specified bearer token authentication.",
    "aliases": [
        {
            "alias": "CVE-2023-30525"
        },
        {
            "alias": "GHSA-c8ff-j5gm-6492"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/64594?format=api",
            "purl": "pkg:maven/org.jenkins-ci.plugins/reportportal@0.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-14hg-98w5-t7ga"
                },
                {
                    "vulnerability": "VCID-1w3z-p3c3-9qfq"
                },
                {
                    "vulnerability": "VCID-vha9-jcq5-hkam"
                },
                {
                    "vulnerability": "VCID-zfdq-9bmh-mfbu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins/reportportal@0.5"
        }
    ],
    "references": [
        {
            "reference_url": "https://www.jenkins.io/security/advisory/2023-04-12/#SECURITY-2950",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.jenkins.io/security/advisory/2023-04-12/#SECURITY-2950"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-30525",
            "reference_id": "CVE-2023-30525",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-30525"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-c8ff-j5gm-6492",
            "reference_id": "GHSA-c8ff-j5gm-6492",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-c8ff-j5gm-6492"
        }
    ],
    "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": 352,
            "name": "Cross-Site Request Forgery (CSRF)",
            "description": "The web application does not, or can not, sufficiently verify whether a well-formed, valid, consistent request was intentionally provided by the user who submitted the request."
        },
        {
            "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-14hg-98w5-t7ga"
}