Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/1702?format=api",
    "purl": "pkg:alpm/archlinux/firefox@48.0.1-1",
    "type": "alpm",
    "namespace": "archlinux",
    "name": "firefox",
    "version": "48.0.1-1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "49.0-1",
    "latest_non_vulnerable_version": "101.0-1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/1875?format=api",
            "vulnerability_id": "VCID-rf28-tvhm-akgj",
            "summary": "Security researcher Looben Yang reported a use-after-free\nvulnerability in WebRTC. This occurs during WebRTC session shutdown when DTLS objects in\nmemory are freed while still actively in use. This results in a potentially exploitable\ncrash.",
            "references": [
                {
                    "reference_url": "https://security.archlinux.org/AVG-935",
                    "reference_id": "AVG-935",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Critical",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-935"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-5258",
                    "reference_id": "CVE-2016-5258",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-5258"
                },
                {
                    "reference_url": "https://www.mozilla.org/en-US/security/advisories/mfsa2016-72",
                    "reference_id": "mfsa2016-72",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "critical",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://www.mozilla.org/en-US/security/advisories/mfsa2016-72"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1702?format=api",
                    "purl": "pkg:alpm/archlinux/firefox@48.0.1-1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/firefox@48.0.1-1"
                }
            ],
            "aliases": [
                "CVE-2016-5258"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-rf28-tvhm-akgj"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/firefox@48.0.1-1"
}