Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/42439?format=api",
    "vulnerability_id": "VCID-5fp9-6s1m-4yee",
    "summary": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')\nJenkins Pipeline: Groovy Plugin 2648.va9433432b33c and earlier uses the same checkout directories for distinct SCMs when reading the script file (typically Jenkinsfile) for Pipelines, allowing attackers with Item/Configure permission to invoke arbitrary OS commands on the controller through crafted SCM contents.",
    "aliases": [
        {
            "alias": "CVE-2022-25173"
        },
        {
            "alias": "GHSA-4m7p-55jm-3vwv"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60703?format=api",
            "purl": "pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps@2648.2651.v230593e03e9f",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps@2648.2651.v230593e03e9f"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60702?format=api",
            "purl": "pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps@2648.va9433432b33c",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5fp9-6s1m-4yee"
                },
                {
                    "vulnerability": "VCID-dds7-1e15-eqh8"
                },
                {
                    "vulnerability": "VCID-p2ed-vf9a-rqab"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps@2648.va9433432b33c"
        }
    ],
    "references": [
        {
            "reference_url": "https://www.jenkins.io/security/advisory/2022-02-15/#SECURITY-2463",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.jenkins.io/security/advisory/2022-02-15/#SECURITY-2463"
        },
        {
            "reference_url": "http://www.openwall.com/lists/oss-security/2022/02/15/2",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.openwall.com/lists/oss-security/2022/02/15/2"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-25173",
            "reference_id": "CVE-2022-25173",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-25173"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-4m7p-55jm-3vwv",
            "reference_id": "GHSA-4m7p-55jm-3vwv",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-4m7p-55jm-3vwv"
        }
    ],
    "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": 78,
            "name": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')",
            "description": "The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component."
        },
        {
            "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-5fp9-6s1m-4yee"
}