Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/62694?format=api",
    "purl": "pkg:maven/org.jenkinsci.plugins/pipeline-model-parent@1.3.3",
    "type": "maven",
    "namespace": "org.jenkinsci.plugins",
    "name": "pipeline-model-parent",
    "version": "1.3.3",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.3.4.1",
    "latest_non_vulnerable_version": "1.3.4.1",
    "affected_by_vulnerabilities": [
        {
            "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.",
            "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"
                }
            ],
            "fixed_packages": [
                {
                    "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"
                }
            ],
            "aliases": [
                "CVE-2019-1003002",
                "GHSA-x6jx-cxg3-mggh"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-7jr4-37dm-such"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkinsci.plugins/pipeline-model-parent@1.3.3"
}