# CVE-2019-12387: Twisted CRLF Injection

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.52%, higher than 85% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2019-06-10T11:34:49.000Z
- Modified: 2026-06-17T02:14:32.733Z
- Also known as: GHSA-6cc5-2vg4-cc7m, PYSEC-2019-128
- Weaknesses: CWE-74, CWE-93
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- twisted (PyPI): before 19.2.1; before 6c61fc4503ae39ab8ecee52d10f10ee2c371d7e2
- twisted twisted: before 19.2.1
- fedoraproject fedora: 29
- canonical ubuntu_linux: 14.04; 16.04; 18.04; 19.10
- oracle zfs_storage_appliance_kit: 8.8
- oracle solaris: 11

## Every score

- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://labs.twistedmatrix.com/2019/06/twisted-1921-released.html> (exploit, release-notes, vendor-advisory, web)
- <https://twistedmatrix.com/pipermail/twisted-python/2019-June/032352.html> (exploit, release-notes, vendor-advisory, web)
- <https://github.com/twisted/twisted/commit/6c61fc4503ae39ab8ecee52d10f10ee2c371d7e2> (fix, patch, third-party-advisory, web)
- <http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00030.html> (broken-link, vendor-advisory, web)
- <http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00042.html> (broken-link, vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2G5RPDQ4BNB336HL6WW5ZJ344MAWNN7N/> (vendor-advisory)
- <https://usn.ubuntu.com/4308-2/> (third-party-advisory, vendor-advisory, web)
- <https://usn.ubuntu.com/4308-1/> (third-party-advisory, vendor-advisory, web)
- <https://www.oracle.com/security-alerts/cpuapr2020.html> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2019-12387> (advisory)
- <https://github.com/advisories/GHSA-6cc5-2vg4-cc7m> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/twisted/PYSEC-2019-128.yaml> (web)
- <https://github.com/twisted/twisted> (package)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2G5RPDQ4BNB336HL6WW5ZJ344MAWNN7N> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2G5RPDQ4BNB336HL6WW5ZJ344MAWNN7N> (web)
- <https://usn.ubuntu.com/4308-1> (web)
- <https://usn.ubuntu.com/4308-2> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2G5RPDQ4BNB336HL6WW5ZJ344MAWNN7N/> (web)

## Sources

- CVE List: [CVE-2019-12387](https://www.cve.org/CVERecord?id=CVE-2019-12387), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-6cc5-2vg4-cc7m](https://github.com/advisories/GHSA-6cc5-2vg4-cc7m), CC-BY-4.0, modified 2024-11-25
- NVD: [CVE-2019-12387](https://nvd.nist.gov/vuln/detail/CVE-2019-12387), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2019-128](https://osv.dev/vulnerability/PYSEC-2019-128), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2019-12387 · Whole record: https://cve.day/CVE-2019-12387.json · Rebuilt by cve.day 2026-11-25T22:57:45.144Z
