Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/4119?format=api",
    "purl": "pkg:deb/debian/gst-plugins-bad0.10@0.10.3-3.1",
    "type": "deb",
    "namespace": "debian",
    "name": "gst-plugins-bad0.10",
    "version": "0.10.3-3.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "0.10.23-7.1+deb7u2",
    "latest_non_vulnerable_version": "0.10.23-7.1+deb7u2",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/2970?format=api",
            "vulnerability_id": "VCID-2u3s-8pqy-27gd",
            "summary": "Security researcher Aki Helin used the Address Sanitizer\ntool to find a buffer overflow during video playback on Linux systems. This was\ndue to a problem in older versions of the Gstreamer plugin during the parsing of\nH.264 formatted video. This issue could be used to induce a possibly exploitable\ncrash.\nThis issue does not affect the current 1.0 version of Gstreamer\nand does not affect Windows or OS X systems.",
            "references": [
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-0797",
                    "reference_id": "CVE-2015-0797",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-0797"
                },
                {
                    "reference_url": "https://www.mozilla.org/en-US/security/advisories/mfsa2015-47",
                    "reference_id": "mfsa2015-47",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "high",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://www.mozilla.org/en-US/security/advisories/mfsa2015-47"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/4123?format=api",
                    "purl": "pkg:deb/debian/gst-plugins-bad0.10@0.10.23-7.1%2Bdeb7u2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/gst-plugins-bad0.10@0.10.23-7.1%252Bdeb7u2"
                }
            ],
            "aliases": [
                "CVE-2015-0797"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-2u3s-8pqy-27gd"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/gst-plugins-bad0.10@0.10.3-3.1"
}