Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/56803?format=api",
    "purl": "pkg:maven/org.springframework/spring-webflux@5.1.1.RELEASE",
    "type": "maven",
    "namespace": "org.springframework",
    "name": "spring-webflux",
    "version": "5.1.1.RELEASE",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "5.2.20.RELEASE",
    "latest_non_vulnerable_version": "5.3.18",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40356?format=api",
            "vulnerability_id": "VCID-dakn-kfyh-syab",
            "summary": "Uncontrolled Resource Consumption\nSpring Framework provides support for range requests when serving static resources through the `ResourceHttpRequestHandler`. A malicious user (or attacker) can add a range header with a high number of ranges, or with wide ranges that overlap, or both, for a denial of service attack.",
            "references": [
                {
                    "reference_url": "http://www.securityfocus.com/bid/105703",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/105703"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-15756",
                    "reference_id": "CVE-2018-15756",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-15756"
                },
                {
                    "reference_url": "https://pivotal.io/security/cve-2018-15756",
                    "reference_id": "CVE-2018-15756",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://pivotal.io/security/cve-2018-15756"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/56801?format=api",
                    "purl": "pkg:maven/org.springframework/spring-webflux@4.3.20.RELEASE",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-webflux@4.3.20.RELEASE"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/56802?format=api",
                    "purl": "pkg:maven/org.springframework/spring-webflux@5.0.10.RELEASE",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-webflux@5.0.10.RELEASE"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/56803?format=api",
                    "purl": "pkg:maven/org.springframework/spring-webflux@5.1.1.RELEASE",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-webflux@5.1.1.RELEASE"
                }
            ],
            "aliases": [
                "CVE-2018-15756"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-dakn-kfyh-syab"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-webflux@5.1.1.RELEASE"
}