Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/57168?format=api",
    "purl": "pkg:maven/org.springframework/spring-webmvc@5.1.0",
    "type": "maven",
    "namespace": "org.springframework",
    "name": "spring-webmvc",
    "version": "5.1.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "5.1.1.RELEASE",
    "latest_non_vulnerable_version": "6.0.14",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40528?format=api",
            "vulnerability_id": "VCID-b7us-wgpc-2qby",
            "summary": "Insufficient Verification of Data Authenticity\nSpring Security contains an authorization bypass vulnerability during JWT issuer validation. In order to be impacted, the same private key for an honest issuer and a malicious user must be used when signing JWTs. In that case, a malicious user could fashion signed JWTs with the malicious issuer URL that may be granted for the honest issuer.",
            "references": [
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-15801",
                    "reference_id": "CVE-2018-15801",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-15801"
                },
                {
                    "reference_url": "https://pivotal.io/security/cve-2018-15801",
                    "reference_id": "CVE-2018-15801",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://pivotal.io/security/cve-2018-15801"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-27xw-p8v6-9jjr",
                    "reference_id": "GHSA-27xw-p8v6-9jjr",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-27xw-p8v6-9jjr"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/57169?format=api",
                    "purl": "pkg:maven/org.springframework/spring-webmvc@5.1.2.RELEASE",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-webmvc@5.1.2.RELEASE"
                }
            ],
            "aliases": [
                "CVE-2018-15801",
                "GHSA-27xw-p8v6-9jjr"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-b7us-wgpc-2qby"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-webmvc@5.1.0"
}