Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/62727?format=api",
    "purl": "pkg:maven/org.jenkins-ci.plugins/sonar@2.8",
    "type": "maven",
    "namespace": "org.jenkins-ci.plugins",
    "name": "sonar",
    "version": "2.8",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2.8.1",
    "latest_non_vulnerable_version": "2.8.1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/43700?format=api",
            "vulnerability_id": "VCID-ump2-8scf-ubdh",
            "summary": "Insufficiently Protected Credentials\nAn insufficiently protected credentials vulnerability exists in Jenkins SonarQube Scanner Plugin 2.8 and earlier in SonarInstallation.java that allows attackers with local file system access to obtain the credentials used to connect to SonarQube.",
            "references": [
                {
                    "reference_url": "https://jenkins.io/security/advisory/2018-09-25/#SECURITY-1163",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://jenkins.io/security/advisory/2018-09-25/#SECURITY-1163"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/106532",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/106532"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1000425",
                    "reference_id": "CVE-2018-1000425",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1000425"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-3ccq-gccx-pm7j",
                    "reference_id": "GHSA-3ccq-gccx-pm7j",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-3ccq-gccx-pm7j"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/62728?format=api",
                    "purl": "pkg:maven/org.jenkins-ci.plugins/sonar@2.8.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins/sonar@2.8.1"
                }
            ],
            "aliases": [
                "CVE-2018-1000425",
                "GHSA-3ccq-gccx-pm7j"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ump2-8scf-ubdh"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins/sonar@2.8"
}