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?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

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
All 24 advisories for twisted

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.