Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/33807?format=api",
    "purl": "pkg:pypi/tornado@6.3.2",
    "type": "pypi",
    "namespace": "",
    "name": "tornado",
    "version": "6.3.2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "6.5.5",
    "latest_non_vulnerable_version": "6.5.5",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37232?format=api",
            "vulnerability_id": "VCID-96r3-89by-dyer",
            "summary": "Tornado is a Python web framework and asynchronous networking library. In versions of Tornado prior to 6.5.5, the only limit on the number of parts in multipart/form-data is the max_body_size setting (default 100MB). Since parsing occurs synchronously on the main thread, this creates the possibility of denial-of-service due to the cost of parsing very large multipart bodies with many parts. This vulnerability is fixed in 6.5.5.",
            "references": [
                {
                    "reference_url": "https://github.com/tornadoweb/tornado/security/advisories/GHSA-qjxf-f2mg-c6mc",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                        }
                    ],
                    "url": "https://github.com/tornadoweb/tornado/security/advisories/GHSA-qjxf-f2mg-c6mc"
                },
                {
                    "reference_url": "https://lists.debian.org/debian-lts-announce/2026/04/msg00000.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                        }
                    ],
                    "url": "https://lists.debian.org/debian-lts-announce/2026/04/msg00000.html"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/48593?format=api",
                    "purl": "pkg:pypi/tornado@6.5.5",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/tornado@6.5.5"
                }
            ],
            "aliases": [
                "CVE-2026-31958",
                "GHSA-qjxf-f2mg-c6mc",
                "PYSEC-2026-140"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-96r3-89by-dyer"
        }
    ],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36449?format=api",
            "vulnerability_id": "VCID-a4ry-gnvn-e3a1",
            "summary": "Open redirect vulnerability in Tornado versions 6.3.1 and earlier allows a remote unauthenticated attacker to redirect a user to an arbitrary web site and conduct a phishing attack by having user access a specially crafted URL.",
            "references": [
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/tornado/PYSEC-2023-75.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/tornado/PYSEC-2023-75.yaml"
                },
                {
                    "reference_url": "https://github.com/tornadoweb/tornado",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/tornadoweb/tornado"
                },
                {
                    "reference_url": "https://github.com/tornadoweb/tornado/commit/32ad07c54e607839273b4e1819c347f5c8976b2f",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/tornadoweb/tornado/commit/32ad07c54e607839273b4e1819c347f5c8976b2f"
                },
                {
                    "reference_url": "https://github.com/tornadoweb/tornado/releases/tag/v6.3.2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/tornadoweb/tornado/releases/tag/v6.3.2"
                },
                {
                    "reference_url": "https://jvn.jp/en/jp/JVN45127776",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://jvn.jp/en/jp/JVN45127776"
                },
                {
                    "reference_url": "https://jvn.jp/en/jp/JVN45127776/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://jvn.jp/en/jp/JVN45127776/"
                },
                {
                    "reference_url": "https://lists.debian.org/debian-lts-announce/2025/01/msg00000.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.debian.org/debian-lts-announce/2025/01/msg00000.html"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-28370",
                    "reference_id": "CVE-2023-28370",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-28370"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-hj3f-6gcp-jg8j",
                    "reference_id": "GHSA-hj3f-6gcp-jg8j",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-hj3f-6gcp-jg8j"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/33807?format=api",
                    "purl": "pkg:pypi/tornado@6.3.2",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-96r3-89by-dyer"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/tornado@6.3.2"
                }
            ],
            "aliases": [
                "CVE-2023-28370",
                "GHSA-hj3f-6gcp-jg8j",
                "PYSEC-2023-75"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-a4ry-gnvn-e3a1"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/tornado@6.3.2"
}