Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/54338?format=api",
    "purl": "pkg:maven/org.jenkins-ci.plugins/git@2.3.0",
    "type": "maven",
    "namespace": "org.jenkins-ci.plugins",
    "name": "git",
    "version": "2.3.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "3.5",
    "latest_non_vulnerable_version": "3.9.2",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38981?format=api",
            "vulnerability_id": "VCID-jvh4-psm7-1bar",
            "summary": "Cross-Site Request Forgery (CSRF)\nThe Git plugin connects to a user-specified Git repository as part of form validation. An attacker with no direct access to Jenkins but able to guess at a username password credentials ID could trick a developer with job configuration permissions into following a link with a maliciously crafted Jenkins URL which would result in the Jenkins Git client sending the username and password to an attacker-controlled server.",
            "references": [
                {
                    "reference_url": "https://jenkins.io/security/advisory/2017-07-10/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://jenkins.io/security/advisory/2017-07-10/"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/100435",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/100435"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000092",
                    "reference_id": "CVE-2017-1000092",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000092"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/54353?format=api",
                    "purl": "pkg:maven/org.jenkins-ci.plugins/git@3.5",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins/git@3.5"
                }
            ],
            "aliases": [
                "CVE-2017-1000092"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-jvh4-psm7-1bar"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins/git@2.3.0"
}