Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/43450?format=api",
    "vulnerability_id": "VCID-18m7-m66g-w3ae",
    "summary": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')\nA sandbox bypass vulnerability exists in Pipeline: Groovy Plugin 2.61 and earlier in src/main/java/org/jenkinsci/plugins/workflow/cps/CpsFlowDefinition.java, src/main/java/org/jenkinsci/plugins/workflow/cps/CpsGroovyShellFactory.java that allows attackers with Overall/Read permission to provide a pipeline script to an HTTP endpoint that can result in arbitrary code execution on the Jenkins master JVM.",
    "aliases": [
        {
            "alias": "CVE-2019-1003001"
        },
        {
            "alias": "GHSA-6q78-6xvr-26fg"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/62748?format=api",
            "purl": "pkg:maven/org.jenkins-ci.plugins/pipeline-model-definition@1.3.4.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins/pipeline-model-definition@1.3.4.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57354?format=api",
            "purl": "pkg:maven/org.jenkins-ci.plugins/script-security@1.50",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4eeq-ksy7-ekak"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins/script-security@1.50"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/62303?format=api",
            "purl": "pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps-parent@2.61.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps-parent@2.61.1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/62747?format=api",
            "purl": "pkg:maven/org.jenkins-ci.plugins/pipeline-model-definition@1.3.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-18m7-m66g-w3ae"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins/pipeline-model-definition@1.3.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57353?format=api",
            "purl": "pkg:maven/org.jenkins-ci.plugins/script-security@1.49",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-18m7-m66g-w3ae"
                },
                {
                    "vulnerability": "VCID-v7j3-7gar-13ct"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins/script-security@1.49"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/62302?format=api",
            "purl": "pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps-parent@2.61",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-18m7-m66g-w3ae"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps-parent@2.61"
        }
    ],
    "references": [
        {
            "reference_url": "http://packetstormsecurity.com/files/152132/Jenkins-ACL-Bypass-Metaprogramming-Remote-Code-Execution.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://packetstormsecurity.com/files/152132/Jenkins-ACL-Bypass-Metaprogramming-Remote-Code-Execution.html"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHBA-2019:0326",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHBA-2019:0326"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHBA-2019:0327",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHBA-2019:0327"
        },
        {
            "reference_url": "https://github.com/jenkinsci/pipeline-model-definition-plugin/commit/6d7884dec610bf34503d24d494d994e9fc607642",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/jenkinsci/pipeline-model-definition-plugin/commit/6d7884dec610bf34503d24d494d994e9fc607642"
        },
        {
            "reference_url": "https://github.com/jenkinsci/script-security-plugin/commit/2c5122e50742dd16492f9424992deb21cc07837c",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/jenkinsci/script-security-plugin/commit/2c5122e50742dd16492f9424992deb21cc07837c"
        },
        {
            "reference_url": "https://github.com/jenkinsci/workflow-cps-plugin/commit/66c3e7aafe7888d4e1fe9995a688bb3fb742d742",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/jenkinsci/workflow-cps-plugin/commit/66c3e7aafe7888d4e1fe9995a688bb3fb742d742"
        },
        {
            "reference_url": "https://jenkins.io/security/advisory/2019-01-08/#SECURITY-1266",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://jenkins.io/security/advisory/2019-01-08/#SECURITY-1266"
        },
        {
            "reference_url": "https://www.exploit-db.com/exploits/46572/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.exploit-db.com/exploits/46572/"
        },
        {
            "reference_url": "http://www.rapid7.com/db/modules/exploit/multi/http/jenkins_metaprogramming",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.rapid7.com/db/modules/exploit/multi/http/jenkins_metaprogramming"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2019-1003001",
            "reference_id": "CVE-2019-1003001",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-1003001"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-6q78-6xvr-26fg",
            "reference_id": "GHSA-6q78-6xvr-26fg",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-6q78-6xvr-26fg"
        }
    ],
    "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-18m7-m66g-w3ae"
}