CVE-2020-10108
python-twisted: HTTP request smuggling when presented with two Content-Length headers
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA, CBL-Mariner, Photon OS. Rated lower by Red Hat (high), Amazon (high), Oracle (high), Ubuntu (medium).
Description
In Twisted Web through 19.10.0, there was an HTTP request splitting vulnerability. When presented with two content-length headers, it ignored the first header. When the second content-length value was set to zero, the request body was interpreted as a pipelined request.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| CBL-Mariner 1.0 | python-twisted | 0:20.3.0-1.cm1 |
| CBL-Mariner 2.0 | python-twisted | 0:22.2.0-1.cm2 |
| Photon OS 1.0 | python-Twisted | 17.1.0-9.ph1 |
| Photon OS 2.0 | python-Twisted | 17.5.0-4.ph2 |
| Photon OS 3.0 | python-Twisted | 19.10.0-4.ph3 |
| pip::GitHub Security Advisory pip | twisted | 20.3.0 |
| alpine 3.11 | py3-twisted | 20.3.0-r0 |
| alpine 3.12 | py3-twisted | 20.3.0-r0 |
| alpine 3.13 | py3-twisted | 20.3.0-r0 |
| alpine 3.14 | py3-twisted | 20.3.0-r0 |
| alpine 3.15 | py3-twisted | 20.3.0-r0 |
| alpine 3.16 | py3-twisted | 20.3.0-r0 |
Show all 47 entries from 41 sources
| Source | Package | Fixed in |
|---|---|---|
| CBL-Mariner 1.0 | python-twisted | 0:20.3.0-1.cm1 |
| CBL-Mariner 2.0 | python-twisted | 0:22.2.0-1.cm2 |
| Photon OS 1.0 | python-Twisted | 17.1.0-9.ph1 |
| Photon OS 2.0 | python-Twisted | 17.5.0-4.ph2 |
| Photon OS 3.0 | python-Twisted | 19.10.0-4.ph3 |
| pip::GitHub Security Advisory pip | twisted | 20.3.0 |
| alpine 3.11 | py3-twisted | 20.3.0-r0 |
| alpine 3.12 | py3-twisted | 20.3.0-r0 |
| alpine 3.13 | py3-twisted | 20.3.0-r0 |
| alpine 3.14 | py3-twisted | 20.3.0-r0 |
| alpine 3.15 | py3-twisted | 20.3.0-r0 |
| alpine 3.16 | py3-twisted | 20.3.0-r0 |
| alpine 3.17 | py3-twisted | 20.3.0-r0 |
| alpine 3.18 | py3-twisted | 20.3.0-r0 |
| alpine 3.19 | py3-twisted | 20.3.0-r0 |
| alpine 3.20 | py3-twisted | 20.3.0-r0 |
| alpine 3.21 | py3-twisted | 20.3.0-r0 |
| alpine 3.22 | py3-twisted | 20.3.0-r0 |
| alpine 3.23 | py3-twisted | 20.3.0-r0 |
| alpine 3.24 | py3-twisted | 20.3.0-r0 |
| alpine edge | py3-twisted | 20.3.0-r0 |
| amazon linux 1 | python26-twisted-web | 8.2.0-6.6.amzn1 |
| amazon linux 1 | python27-twisted-web | 8.2.0-6.6.amzn1 |
| amazon linux 2 | python-twisted-web | 12.1.0-7.amzn2 |
| debian 10 | twisted | 18.9.0-3+deb10u1 |
| debian 11 | twisted | 18.9.0-7 |
| debian 12 | twisted | 18.9.0-7 |
| debian 13 | twisted | 18.9.0-7 |
| debian 14 | twisted | 18.9.0-7 |
| debian 8 | twisted | 14.0.2-3+deb8u1 |
| debian 9 | twisted | 16.6.0-2+deb9u1 |
| echo | twisted | 18.9.0-7 |
| Oracle Linux 6 | python-twisted-web | 8.2.0-6.el6_10 |
| Oracle Linux 7 | python-twisted-web | 12.1.0-7.el7_8 |
| Oracle Linux 8 | ol-automation-manager | 1.0.2-1.el8 |
| Oracle Linux 8 | ol-automation-manager-cli | 1.0.2-1.el8 |
| Oracle Linux 8 | python3-olamkit | 1.0.2-1.el8 |
| Red Hat | calamari-server | no fix listed |
| Red Hat | python-twisted | no fix listed |
| Red Hat | python2-twisted | no fix listed |
| Red Hat | python3-twisted | no fix listed |
| ubuntu 14.04-ESM | twisted | 13.2.0-1ubuntu1.2+esm1 |
| ubuntu 16.04 | twisted | 16.0.0-1ubuntu0.4 |
| ubuntu 16.04-ESM | twisted | 16.0.0-1ubuntu0.4 |
| ubuntu 18.04 | twisted | 17.9.0-2ubuntu0.1 |
| ubuntu 18.04-ESM | twisted | 17.9.0-2ubuntu0.1 |
| ubuntu 19.10 | twisted | 18.9.0-3ubuntu1.1 |
References
- https://access.redhat.com/security/cve/CVE-2020-10108
- https://github.com/pypa/advisory-database/tree/main/vulns/twisted/PYSEC-2020-259.yaml
- https://github.com/twisted/twisted
- https://github.com/twisted/twisted/blob/6ff2c40e42416c83203422ff70dfc49d2681c8e2/NEWS.rst#twisted-2030-2020-03-13
- https://github.com/twisted/twisted/blob/twisted-20.3.0/NEWS.rst
- https://github.com/twisted/twisted/commit/4a7d22e490bb8ff836892cc99a1f54b85ccb0281
- https://know.bishopfox.com/advisories
- https://know.bishopfox.com/advisories/twisted-version-19.10.0
All 25 references
- https://linux.oracle.com/cve/CVE-2020-10108.html
- https://linux.oracle.com/errata/ELSA-2022-9341.html
- https://lists.debian.org/debian-lts-announce/2022/02/msg00021.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6ISMZFZBWW4EV6ETJGXAYIXN3AT7GBPL
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6ISMZFZBWW4EV6ETJGXAYIXN3AT7GBPL/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YW3NIL7VXSGJND2Q4BSXM3CFTAFU6T7D
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YW3NIL7VXSGJND2Q4BSXM3CFTAFU6T7D/
- https://nvd.nist.gov/vuln/detail/CVE-2020-10108
- https://security.gentoo.org/glsa/202007-24
- https://ubuntu.com/security/notices/USN-4308-1
- https://ubuntu.com/security/notices/USN-4308-2
- https://usn.ubuntu.com/4308-1
- https://usn.ubuntu.com/4308-1/
- https://usn.ubuntu.com/4308-2
- https://usn.ubuntu.com/4308-2/
- https://www.cve.org/CVERecord?id=CVE-2020-10108
- https://www.oracle.com/security-alerts/cpuoct2020.html