Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/37731?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/37731?format=api", "purl": "pkg:pypi/twisted@22.8.0rc1", "type": "pypi", "namespace": "", "name": "twisted", "version": "22.8.0rc1", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "26.4.0", "latest_non_vulnerable_version": "26.4.0", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37338?format=api", "vulnerability_id": "VCID-ap46-rugq-uucz", "summary": "Twisted is an event-based framework for internet applications, supporting Python 3.6+. Prior to 26.4.0rc2, the twisted.names module is vulnerable to a Denial of Service (DoS) attack via resource exhaustion during DNS name decompression. A remote, unauthenticated attacker can exploit this by sending a crafted TCP DNS packet containing deeply chained compression pointers. This flaw bypasses previous loop-prevention logic, causing the single-threaded Twisted reactor to hang while processing millions of recursive lookups, effectively freezing the server. This vulnerability is fixed in 26.4.0rc2.", "references": [ { "reference_url": "https://github.com/twisted/twisted/security/advisories/GHSA-grgv-6hw6-v9g4", "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/twisted/twisted/security/advisories/GHSA-grgv-6hw6-v9g4" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/50448?format=api", "purl": "pkg:pypi/twisted@26.4.0", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/twisted@26.4.0" } ], "aliases": [ "CVE-2026-42304", "GHSA-grgv-6hw6-v9g4", "PYSEC-2026-160" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ap46-rugq-uucz" }, { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36844?format=api", "vulnerability_id": "VCID-kadj-7rha-tuc1", "summary": "Twisted is an event-based framework for internet applications, supporting Python 3.6+. The `twisted.web.util.redirectTo` function contains an HTML injection vulnerability. If application code allows an attacker to control the redirect URL this vulnerability may result in Reflected Cross-Site Scripting (XSS) in the redirect response HTML body. This vulnerability is fixed in 24.7.0rc1.", "references": [ { "reference_url": "https://github.com/twisted/twisted/commit/046a164f89a0f08d3239ecebd750360f8914df33", "reference_id": "", "reference_type": "", "scores": [ { "value": "6.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" } ], "url": "https://github.com/twisted/twisted/commit/046a164f89a0f08d3239ecebd750360f8914df33" }, { "reference_url": "https://github.com/twisted/twisted/security/advisories/GHSA-cf56-g6w6-pqq2", "reference_id": "", "reference_type": "", "scores": [ { "value": "6.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" } ], "url": "https://github.com/twisted/twisted/security/advisories/GHSA-cf56-g6w6-pqq2" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/42125?format=api", "purl": "pkg:pypi/twisted@24.7.0rc1", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-ap46-rugq-uucz" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/twisted@24.7.0rc1" } ], "aliases": [ "CVE-2024-41810", "GHSA-cf56-g6w6-pqq2", "PYSEC-2024-75" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-kadj-7rha-tuc1" }, { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36595?format=api", "vulnerability_id": "VCID-w8z5-p2mz-5ybq", "summary": "Twisted is an event-based framework for internet applications. Prior to version 23.10.0rc1, when sending multiple HTTP requests in one TCP packet, twisted.web will process the requests asynchronously without guaranteeing the response order. If one of the endpoints is controlled by an attacker, the attacker can delay the response on purpose to manipulate the response of the second request when a victim launched two requests using HTTP pipeline. Version 23.10.0rc1 contains a patch for this issue.", "references": [ { "reference_url": "https://github.com/twisted/twisted/security/advisories/GHSA-xc8x-vp79-p3wm", "reference_id": "", "reference_type": "", "scores": [ { "value": "5.3", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N" } ], "url": "https://github.com/twisted/twisted/security/advisories/GHSA-xc8x-vp79-p3wm" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/37737?format=api", "purl": "pkg:pypi/twisted@23.10.0rc1", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-ap46-rugq-uucz" }, { "vulnerability": "VCID-kadj-7rha-tuc1" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/twisted@23.10.0rc1" } ], "aliases": [ "CVE-2023-46137", "GHSA-xc8x-vp79-p3wm", "PYSEC-2023-224" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-w8z5-p2mz-5ybq" } ], "fixing_vulnerabilities": [], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/twisted@22.8.0rc1" }