Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/56204?format=api",
    "purl": "pkg:maven/org.jenkins-ci.plugins/accurev@0.7.16",
    "type": "maven",
    "namespace": "org.jenkins-ci.plugins",
    "name": "accurev",
    "version": "0.7.16",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "0.7.17",
    "latest_non_vulnerable_version": "0.7.17",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40135?format=api",
            "vulnerability_id": "VCID-n7u3-qk4h-syhd",
            "summary": "Information Exposure\nAn exposure of sensitive information vulnerability exists in Jenkins Accurev Plugin in `AccurevSCM.java` that allows attackers to capture credentials with a known credentials ID stored in Jenkins.",
            "references": [
                {
                    "reference_url": "https://jenkins.io/security/advisory/2018-07-30/#SECURITY-1021",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://jenkins.io/security/advisory/2018-07-30/#SECURITY-1021"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1999028",
                    "reference_id": "CVE-2018-1999028",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1999028"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/56205?format=api",
                    "purl": "pkg:maven/org.jenkins-ci.plugins/accurev@0.7.17",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins/accurev@0.7.17"
                }
            ],
            "aliases": [
                "CVE-2018-1999028"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-n7u3-qk4h-syhd"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins/accurev@0.7.16"
}