MediumGHSA-6cc5-2vg4-cc7mCVE-2019-12387PYSEC-2019-128
Twisted CRLF Injection
Published 10 Jun 2019 · Updated 25 Nov 2024
Is your project on an affected twisted?
Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
twistedPyPI
- Affected
- <19.2.1
- Fixed in
- 19.2.1
Update to the fixed version for your release line, for example:
pip install 'twisted>=19.2.1'Details
In Twisted before 19.2.1, twisted.web did not validate or sanitize URIs or HTTP methods, allowing an attacker to inject invalid characters such as CRLF.
Is GHSA-6cc5-2vg4-cc7m in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected twisted, and gives you the command that fixes it.
More advisories for twisted
- HighGHSA-vpp8-g58w-m8mpTwisted: Unauthenticated Remote Denial of Service in the Twisted HTTP/2 Server via Rapid Stream Reset · 29 Oct 2026
- LowCVE-2026-83813Twisted: DNS Response Spoofing in twisted.names Due to Missing Source Address Validation · 27 Oct 2026
- MediumCVE-2026-115774Twisted: Denial of Service in the Twisted IMAP4 Server via a Negative Literal Size in SEARCH · 23 Oct 2026
- HighCVE-2026-115776Twisted: Unauthenticated Remote Denial of Service in the Twisted IRC Server via an Unbounded Line Buffer · 23 Oct 2026
- HighCVE-2026-115778Twisted: Unauthenticated Remote Denial of Service in the Twisted conch Telnet Transport via an Unbounded Subnegotiation Buffer · 23 Oct 2026
- HighCVE-2026-115775Twisted: Unauthenticated Remote Denial of Service in the Twisted words domish XML Element Stream via an Unbounded Element Tree · 23 Oct 2026
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2019-12387
- Linkgithub.com/twisted/twisted/commit/6c61fc4503ae39ab8ecee52d10f10ee2c371d7e2
- Advisorygithub.com/advisories/GHSA-6cc5-2vg4-cc7m
- Linkgithub.com/pypa/advisory-database/tree/main/vulns/twisted/PYSEC-2019-128.yaml
- Packagegithub.com/twisted/twisted
- Linklabs.twistedmatrix.com/2019/06/twisted-1921-released.html
- Linklists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2G5RPDQ4BNB336HL6WW5ZJ344MAWNN7N
- Linklists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2G5RPDQ4BNB336HL6WW5ZJ344MAWNN7N
- Linktwistedmatrix.com/pipermail/twisted-python/2019-June/032352.html
- Linkusn.ubuntu.com/4308-1
- Linkusn.ubuntu.com/4308-2
- Linkwww.oracle.com/security-alerts/cpuapr2020.html
- Linklists.opensuse.org/opensuse-security-announce/2019-07/msg00030.html
- Linklists.opensuse.org/opensuse-security-announce/2019-07/msg00042.html
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.