Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/33423?format=api",
    "purl": "pkg:pypi/starlette@0.15.0",
    "type": "pypi",
    "namespace": "",
    "name": "starlette",
    "version": "0.15.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.0.1",
    "latest_non_vulnerable_version": "1.0.1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37347?format=api",
            "vulnerability_id": "VCID-2c5q-buqw-u7ex",
            "summary": "BadHost: Missing Host header validation poisons request.url.path, bypassing path-based security checks\nStarlette reconstructs the requested URL based on the HTTP Host request header and requested path, but does not perform any validation of the Host header value. This allows attackers to inject paths into the host part, prepending the actual path. However, routing in Starlette is based on the actual request path. This inconsistent interpretation of HTTP requests may lead to issues such as authentication bypass when the authentication depends on the reconstructed URL’s path.",
            "references": [
                {
                    "reference_url": "https://badhost.org",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://badhost.org"
                },
                {
                    "reference_url": "https://github.com/Kludex/starlette/commit/764dab0dcfb9033d75442d7a359645c9f94648c6",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/Kludex/starlette/commit/764dab0dcfb9033d75442d7a359645c9f94648c6"
                },
                {
                    "reference_url": "https://github.com/Kludex/starlette/security/advisories/GHSA-86qp-5c8j-p5mr",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/Kludex/starlette/security/advisories/GHSA-86qp-5c8j-p5mr"
                },
                {
                    "reference_url": "https://ostif.org/disclosing-the-badhost-vulnerability-in-starlette/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://ostif.org/disclosing-the-badhost-vulnerability-in-starlette/"
                },
                {
                    "reference_url": "https://www.secwest.net/starlette",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.secwest.net/starlette"
                },
                {
                    "reference_url": "https://www.x41-dsec.de/lab/advisories/x41-2026-002-starlette/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.x41-dsec.de/lab/advisories/x41-2026-002-starlette/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/50835?format=api",
                    "purl": "pkg:pypi/starlette@1.0.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/starlette@1.0.1"
                }
            ],
            "aliases": [
                "CVE-2026-48710",
                "GHSA-86qp-5c8j-p5mr",
                "PYSEC-2026-161",
                "X41-2026-002"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-2c5q-buqw-u7ex"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36427?format=api",
            "vulnerability_id": "VCID-8crr-rfdt-p7bq",
            "summary": "There MultipartParser usage in Encode's Starlette python framework before versions 0.25.0 allows an unauthenticated and remote attacker to specify any number of form fields or files which can cause excessive memory usage resulting in denial of service of the HTTP service.",
            "references": [
                {
                    "reference_url": "https://github.com/encode/starlette",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/encode/starlette"
                },
                {
                    "reference_url": "https://github.com/encode/starlette/commit/8c74c2c8dba7030154f8af18e016136bea1938fa",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/encode/starlette/commit/8c74c2c8dba7030154f8af18e016136bea1938fa"
                },
                {
                    "reference_url": "https://github.com/encode/starlette/security/advisories/GHSA-74m5-2c7w-9w3x",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/encode/starlette/security/advisories/GHSA-74m5-2c7w-9w3x"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/starlette/PYSEC-2023-48.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/starlette/PYSEC-2023-48.yaml"
                },
                {
                    "reference_url": "https://vulncheck.com/advisories/starlette-multipartparser-dos",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://vulncheck.com/advisories/starlette-multipartparser-dos"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-30798",
                    "reference_id": "CVE-2023-30798",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-30798"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-74m5-2c7w-9w3x",
                    "reference_id": "GHSA-74m5-2c7w-9w3x",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-74m5-2c7w-9w3x"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/33440?format=api",
                    "purl": "pkg:pypi/starlette@0.25.0",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-2c5q-buqw-u7ex"
                        },
                        {
                            "vulnerability": "VCID-vgxy-kjyx-bqfm"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/starlette@0.25.0"
                }
            ],
            "aliases": [
                "CVE-2023-30798",
                "GHSA-74m5-2c7w-9w3x",
                "GMS-2023-353",
                "PYSEC-2023-48"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-8crr-rfdt-p7bq"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36456?format=api",
            "vulnerability_id": "VCID-vgxy-kjyx-bqfm",
            "summary": "Directory traversal vulnerability in Starlette versions 0.13.5 and later and prior to 0.27.0 allows a remote unauthenticated attacker to view files in a web service which was built using Starlette.",
            "references": [
                {
                    "reference_url": "https://github.com/encode/starlette",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/encode/starlette"
                },
                {
                    "reference_url": "https://github.com/encode/starlette/blob/4bab981d9e870f6cee1bd4cd59b87ddaf355b2dc/starlette/staticfiles.py#L172-L174",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/encode/starlette/blob/4bab981d9e870f6cee1bd4cd59b87ddaf355b2dc/starlette/staticfiles.py#L172-L174"
                },
                {
                    "reference_url": "https://github.com/encode/starlette/commit/1797de464124b090f10cf570441e8292936d63e3",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/encode/starlette/commit/1797de464124b090f10cf570441e8292936d63e3"
                },
                {
                    "reference_url": "https://github.com/encode/starlette/releases/tag/0.27.0",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/encode/starlette/releases/tag/0.27.0"
                },
                {
                    "reference_url": "https://github.com/encode/starlette/security/advisories/GHSA-v5gw-mw7f-84px",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/encode/starlette/security/advisories/GHSA-v5gw-mw7f-84px"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/starlette/PYSEC-2023-83.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/starlette/PYSEC-2023-83.yaml"
                },
                {
                    "reference_url": "https://jvn.jp/en/jp/JVN95981715",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://jvn.jp/en/jp/JVN95981715"
                },
                {
                    "reference_url": "https://jvn.jp/en/jp/JVN95981715/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://jvn.jp/en/jp/JVN95981715/"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-29159",
                    "reference_id": "CVE-2023-29159",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-29159"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-v5gw-mw7f-84px",
                    "reference_id": "GHSA-v5gw-mw7f-84px",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-v5gw-mw7f-84px"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/33912?format=api",
                    "purl": "pkg:pypi/starlette@0.27.0",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-2c5q-buqw-u7ex"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/starlette@0.27.0"
                }
            ],
            "aliases": [
                "CVE-2023-29159",
                "GHSA-v5gw-mw7f-84px",
                "GMS-2023-1556",
                "PYSEC-2023-83"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-vgxy-kjyx-bqfm"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/starlette@0.15.0"
}