Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2019-12387
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 08:38 UTC · Revision 1
Source evidence
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.
osv:CVE-2019-12387
Complete source record
{
"id": "b406393a247b0e83b798124e3754f31291bc41961b1bc45911695e1bce5de881",
"url": "https://osv.dev/vulnerability/CVE-2019-12387",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2019-12387",
"summary": "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.",
"evidence": "osv:CVE-2019-12387",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2019-12387",
"aliases": [
"CVE-2019-12387",
"GHSA-6cc5-2vg4-cc7m",
"PYSEC-2019-128"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/twisted/twisted",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "c0776850e756adfcdc179a7fd9e4c8f5cbc4838d"
},
{
"fixed": "6c61fc4503ae39ab8ecee52d10f10ee2c371d7e2"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:twisted:twisted:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "19.2.1"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "6c61fc4503ae39ab8ecee52d10f10ee2c371d7e2"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"twisted-19.2.0",
"before-black"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-12387.json"
}
}
],
"modified": "2026-10-24T10:47:46.179353881Z",
"provider": "osv",
"references": [
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2G5RPDQ4BNB336HL6WW5ZJ344MAWNN7N/",
"https://usn.ubuntu.com/4308-1/",
"https://usn.ubuntu.com/4308-2/",
"https://github.com/twisted/twisted/commit/6c61fc4503ae39ab8ecee52d10f10ee2c371d7e2",
"https://www.oracle.com/security-alerts/cpuapr2020.html",
"https://labs.twistedmatrix.com/2019/06/twisted-1921-released.html",
"https://twistedmatrix.com/pipermail/twisted-python/2019-June/032352.html"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:*"
],
"vendor_product": "canonical:ubuntu_linux",
"extracted_events": [
{
"range": [
{
"introduced": "14.04"
},
{
"last_affected": "14.04"
},
{
"introduced": "16.04"
},
{
"last_affected": "16.04"
},
{
"introduced": "18.04"
},
{
"last_affected": "18.04"
},
{
"introduced": "19.10"
},
{
"last_affected": "19.10"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:*"
],
"vendor_product": "fedoraproject:fedora",
"extracted_events": [
{
"range": [
{
"introduced": "29"
},
{
"last_affected": "29"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:oracle:solaris:11:*:*:*:*:*:*:*"
],
"vendor_product": "oracle:solaris",
"extracted_events": [
{
"range": [
{
"introduced": "11"
},
{
"last_affected": "11"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:a:oracle:zfs_storage_appliance_kit:8.8:*:*:*:*:*:*:*"
],
"vendor_product": "oracle:zfs_storage_appliance_kit",
"extracted_events": [
{
"range": [
{
"introduced": "8.8"
},
{
"last_affected": "8.8"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2019-12387",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 441544,
"published_at": "2019-06-10T12:29:00.287+00:00"
}