Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/52400?format=api",
    "purl": "pkg:nuget/libpng@1.6.19.1",
    "type": "nuget",
    "namespace": "",
    "name": "libpng",
    "version": "1.6.19.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "1.6.28.1",
    "latest_non_vulnerable_version": "1.6.28.1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38155?format=api",
            "vulnerability_id": "VCID-fmt1-496f-9qf3",
            "summary": "Privilege Escalation\nUnspecified vulnerability in libpng, as used in Android , allows attackers to gain privileges via a crafted application, as demonstrated by obtaining Signature or SignatureOrSystem access, aka internal bug",
            "references": [
                {
                    "reference_url": "http://source.android.com/security/bulletin/2016-07-01.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://source.android.com/security/bulletin/2016-07-01.html"
                },
                {
                    "reference_url": "http://www.openwall.com/lists/oss-security/2016/07/09/4",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.openwall.com/lists/oss-security/2016/07/09/4"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-3751",
                    "reference_id": "CVE-2016-3751",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-3751"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/52400?format=api",
                    "purl": "pkg:nuget/libpng@1.6.19.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/libpng@1.6.19.1"
                }
            ],
            "aliases": [
                "CVE-2016-3751"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-fmt1-496f-9qf3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37940?format=api",
            "vulnerability_id": "VCID-z7uy-uene-gkb8",
            "summary": "Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')\nMultiple buffer overflows in the (1) png_set_PLTE and (2) png_get_PLTE functions in libpng  allow remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a small bit-depth value in an IHDR (aka image header) chunk in a PNG image.",
            "references": [
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2015-8126",
                    "reference_id": "CVE-2015-8126",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2015-8126"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/52400?format=api",
                    "purl": "pkg:nuget/libpng@1.6.19.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/libpng@1.6.19.1"
                }
            ],
            "aliases": [
                "CVE-2015-8126"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-z7uy-uene-gkb8"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/libpng@1.6.19.1"
}