Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/56798?format=api",
    "purl": "pkg:maven/org.eclipse.hawkbit/hawkbit-starters@0.3.0M1",
    "type": "maven",
    "namespace": "org.eclipse.hawkbit",
    "name": "hawkbit-starters",
    "version": "0.3.0M1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "0.3.0M2",
    "latest_non_vulnerable_version": "0.3.0M2",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/13489?format=api",
            "vulnerability_id": "VCID-ksap-gbj6-7qb5",
            "summary": "Man in the Middle\nEclipse hawkBit resolved Maven build artifacts for the Vaadin based UI over HTTP instead of HTTPS. Any of these dependent artifacts could have been maliciously compromised by a MITM attack. Hence produced build artifacts of hawkBit might be infected.",
            "references": [
                {
                    "reference_url": "https://bugs.eclipse.org/bugs/show_bug.cgi?id=546053",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.eclipse.org/bugs/show_bug.cgi?id=546053"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2019-10240",
                    "reference_id": "CVE-2019-10240",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-10240"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-jwqm-c9f2-2cq3",
                    "reference_id": "GHSA-jwqm-c9f2-2cq3",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-jwqm-c9f2-2cq3"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/56799?format=api",
                    "purl": "pkg:maven/org.eclipse.hawkbit/hawkbit-starters@0.3.0M2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.eclipse.hawkbit/hawkbit-starters@0.3.0M2"
                }
            ],
            "aliases": [
                "CVE-2019-10240",
                "GHSA-jwqm-c9f2-2cq3"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ksap-gbj6-7qb5"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.eclipse.hawkbit/hawkbit-starters@0.3.0M1"
}