Live threats

All CVEs / Twisted

CVE-2019-12387Twisted

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
2.5%
probability of exploitation in 30 days · percentile 86
Auth required
No
Published
Jun 10, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-74
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Twisted.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI twisted < 19.2.1 19.2.1 pip install "twisted>=19.2.1"
PyPI twisted < 19.2.1 19.2.1 pip install "twisted>=19.2.1"

Per OSV / GitHub Advisories (GHSA-6cc5-2vg4-cc7m, PYSEC-2019-128). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
twistedtwisted< 19.2.1
fedoraprojectfedora29
canonicalubuntu_linux14.04
canonicalubuntu_linux16.04
canonicalubuntu_linux18.04
canonicalubuntu_linux19.10
oraclezfs_storage_appliance_kit8.8
oraclesolaris11

Official sources

References

Links published by the sources. Open them with care.