Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/43670?format=api",
    "vulnerability_id": "VCID-7jr4-37dm-such",
    "summary": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')\nA sandbox bypass vulnerability exists in Pipeline: Declarative Plugin 1.3.3 and earlier in pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/parser/Converter.groovy 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-1003002"
        },
        {
            "alias": "GHSA-x6jx-cxg3-mggh"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/62803?format=api",
            "purl": "pkg:maven/org.jenkinsci.plugins/pipeline-model-definition@1.3.4.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkinsci.plugins/pipeline-model-definition@1.3.4.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/62695?format=api",
            "purl": "pkg:maven/org.jenkinsci.plugins/pipeline-model-parent@1.3.4.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkinsci.plugins/pipeline-model-parent@1.3.4.1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/62802?format=api",
            "purl": "pkg:maven/org.jenkinsci.plugins/pipeline-model-definition@1.3.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7jr4-37dm-such"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkinsci.plugins/pipeline-model-definition@1.3.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/62694?format=api",
            "purl": "pkg:maven/org.jenkinsci.plugins/pipeline-model-parent@1.3.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7jr4-37dm-such"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkinsci.plugins/pipeline-model-parent@1.3.3"
        }
    ],
    "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/083abd96e68fd89f556a0cd53db5f878dbf09b92",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/jenkinsci/pipeline-model-definition-plugin/commit/083abd96e68fd89f556a0cd53db5f878dbf09b92"
        },
        {
            "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-1003002",
            "reference_id": "CVE-2019-1003002",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-1003002"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-x6jx-cxg3-mggh",
            "reference_id": "GHSA-x6jx-cxg3-mggh",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-x6jx-cxg3-mggh"
        }
    ],
    "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-7jr4-37dm-such"
}