Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/1258?format=api",
    "purl": "pkg:mozilla/Firefox@41.0.2",
    "type": "mozilla",
    "namespace": "",
    "name": "Firefox",
    "version": "41.0.2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "42.0.0",
    "latest_non_vulnerable_version": "151.0.0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/3051?format=api",
            "vulnerability_id": "VCID-sapk-n2u2-a3de",
            "summary": "Security researcher  Abdulrahman Alqabandi reported that\nthe fetch() API did not correctly implement the Cross-Origin\nResource Sharing (CORS) specification, allowing a malicious page to access\nprivate data from other origins. Mozilla developer Ben Kelly\nindependently reported the same issue.",
            "references": [
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-7184",
                    "reference_id": "CVE-2015-7184",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-7184"
                },
                {
                    "reference_url": "https://www.mozilla.org/en-US/security/advisories/mfsa2015-115",
                    "reference_id": "mfsa2015-115",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "high",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://www.mozilla.org/en-US/security/advisories/mfsa2015-115"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1258?format=api",
                    "purl": "pkg:mozilla/Firefox@41.0.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:mozilla/Firefox@41.0.2"
                }
            ],
            "aliases": [
                "CVE-2015-7184"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-sapk-n2u2-a3de"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:mozilla/Firefox@41.0.2"
}