Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/52122?format=api",
    "purl": "pkg:nuget/libpng@1.6.15",
    "type": "nuget",
    "namespace": "",
    "name": "libpng",
    "version": "1.6.15",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.6.18.1",
    "latest_non_vulnerable_version": "1.6.28.1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37794?format=api",
            "vulnerability_id": "VCID-a899-g3pw-aqfj",
            "summary": "Improper Restriction of Operations within the Bounds of a Memory Buffer\nBuffer overflow in the png_read_IDAT_data function in pngrutil.c in libpng allows context-dependent attackers to execute arbitrary code via IDAT data with a large width, a different vulnerability than CVE-2014-9495.",
            "references": [
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2015-0973",
                    "reference_id": "CVE-2015-0973",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2015-0973"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/51199?format=api",
                    "purl": "pkg:nuget/libpng@1.6.18.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/libpng@1.6.18.1"
                }
            ],
            "aliases": [
                "CVE-2015-0973"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-a899-g3pw-aqfj"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37789?format=api",
            "vulnerability_id": "VCID-vd75-tvxc-9bah",
            "summary": "Improper Restriction of Operations within the Bounds of a Memory Buffer\nHeap-based buffer overflow in the png_combine_row function in libpng, when running on systems, might allow context-dependent attackers to execute arbitrary code via a \"very wide interlaced\" PNG image.",
            "references": [
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2014-9495",
                    "reference_id": "CVE-2014-9495",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2014-9495"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/51199?format=api",
                    "purl": "pkg:nuget/libpng@1.6.18.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/libpng@1.6.18.1"
                }
            ],
            "aliases": [
                "CVE-2014-9495"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-vd75-tvxc-9bah"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/libpng@1.6.15"
}