Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/11374?format=api",
    "purl": "pkg:pypi/gunicorn@19.3.0",
    "type": "pypi",
    "namespace": "",
    "name": "gunicorn",
    "version": "19.3.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "19.5.0",
    "latest_non_vulnerable_version": "19.5.0",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35202?format=api",
            "vulnerability_id": "VCID-47nj-exgu-b7bm",
            "summary": "gunicorn version 19.4.5 contains a CWE-113: Improper Neutralization of CRLF Sequences in HTTP Headers vulnerability in \"process_headers\" function in \"gunicorn/http/wsgi.py\" that can result in an attacker causing the server to return arbitrary HTTP headers. This vulnerability appears to have been fixed in 19.5.0.",
            "references": [
                {
                    "reference_url": "https://epadillas.github.io/2018/04/02/http-header-splitting-in-gunicorn-19.4.5",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://epadillas.github.io/2018/04/02/http-header-splitting-in-gunicorn-19.4.5"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-32pc-xphx-q4f6",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-32pc-xphx-q4f6"
                },
                {
                    "reference_url": "https://github.com/benoitc/gunicorn",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/benoitc/gunicorn"
                },
                {
                    "reference_url": "https://github.com/benoitc/gunicorn/issues/1227",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/benoitc/gunicorn/issues/1227"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/gunicorn/PYSEC-2018-55.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/gunicorn/PYSEC-2018-55.yaml"
                },
                {
                    "reference_url": "https://lists.debian.org/debian-lts-announce/2018/04/msg00022.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.debian.org/debian-lts-announce/2018/04/msg00022.html"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4022-1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4022-1"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4022-1/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4022-1/"
                },
                {
                    "reference_url": "https://www.debian.org/security/2018/dsa-4186",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.debian.org/security/2018/dsa-4186"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1000164",
                    "reference_id": "CVE-2018-1000164",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1000164"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/11381?format=api",
                    "purl": "pkg:pypi/gunicorn@19.5.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/gunicorn@19.5.0"
                }
            ],
            "aliases": [
                "CVE-2018-1000164",
                "GHSA-32pc-xphx-q4f6",
                "PYSEC-2018-55"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-47nj-exgu-b7bm"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/gunicorn@19.3.0"
}