Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/62624?format=api",
    "purl": "pkg:pypi/mapproxy@1.11.1",
    "type": "pypi",
    "namespace": "",
    "name": "mapproxy",
    "version": "1.11.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/43625?format=api",
            "vulnerability_id": "VCID-eeee-eupn-z7bb",
            "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\nMapProxy version 1.10.3 and older is vulnerable to a Cross Site Scripting attack in the demo service resulting in possible information disclosure.",
            "references": [
                {
                    "reference_url": "https://github.com/mapproxy/mapproxy/commit/420412aad45171e05752007a0a2350c03c28dfd8",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/mapproxy/mapproxy/commit/420412aad45171e05752007a0a2350c03c28dfd8"
                },
                {
                    "reference_url": "https://github.com/mapproxy/mapproxy/commit/436c8f489761d1b4ee22b2440b53cc96bbc28aea",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/mapproxy/mapproxy/commit/436c8f489761d1b4ee22b2440b53cc96bbc28aea"
                },
                {
                    "reference_url": "https://github.com/mapproxy/mapproxy/issues/322",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/mapproxy/mapproxy/issues/322"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000426",
                    "reference_id": "CVE-2017-1000426",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000426"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-g4rw-82hq-8jpr",
                    "reference_id": "GHSA-g4rw-82hq-8jpr",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-g4rw-82hq-8jpr"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/62624?format=api",
                    "purl": "pkg:pypi/mapproxy@1.11.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mapproxy@1.11.1"
                }
            ],
            "aliases": [
                "CVE-2017-1000426",
                "GHSA-g4rw-82hq-8jpr"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-eeee-eupn-z7bb"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mapproxy@1.11.1"
}