CVE-2019-12387Twisted
Medium 6.1 No auth needed
Follow: this CVE · Twisted · Twisted We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Twisted.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| twisted | twisted | < 19.2.1 |
| fedoraproject | fedora | 29 |
| canonical | ubuntu_linux | 14.04 |
| canonical | ubuntu_linux | 16.04 |
| canonical | ubuntu_linux | 18.04 |
| canonical | ubuntu_linux | 19.10 |
| oracle | zfs_storage_appliance_kit | 8.8 |
| oracle | solaris | 11 |
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org Broken Link
- lists.opensuse.org Broken Link
- github.com Patch Third Party Advisory
- labs.twistedmatrix.com Exploit Release Notes Vendor Advisory
- lists.fedoraproject.org
- twistedmatrix.com Exploit Release Notes Vendor Advisory
- usn.ubuntu.com Third Party Advisory
- usn.ubuntu.com Third Party Advisory
- www.oracle.com Patch Third Party Advisory