CVE-2020-1935 Potential HTTP request smuggling in Apache Tomcat
Attackers can perform HTTP request smuggling via invalid headers when Tomcat is behind a specific misconfigured reverse proxy.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-1935?
CVE-2020-1935 is a medium-severity vulnerability in Apache Tomcat, published on 24 Feb 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In Apache Tomcat 9.0.0.M1 to 9.0.30, 8.5.0 to 8.5.50 and 7.0.0 to 7.0.99 the HTTP header parsing code used an approach to end-of-line parsing that allowed some invalid HTTP headers to be parsed as valid. This led to a possibility of HTTP Request Smuggling if Tomcat was located behind a reverse proxy that incorrectly handled the invalid Transfer-Encoding header in a particular manner. Such a reverse proxy is considered unlikely.
Weakness: CWE-444
Which versions are affected by CVE-2020-1935?
13 open source packages ship an affected version, including org.apache.tomcat.embed:tomcat-embed-core, tomcat and org.apache.tomcat:tomcat. It affects 20 products.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.tomcat.embed:tomcat-embed-core Maven | All versions | 7.0.100 |
org.apache.tomcat.embed:tomcat-embed-core Maven | All versions | 7.0.100 |
org.apache.tomcat.embed:tomcat-embed-core Maven | From 8.0.0 | 8.5.51 |
org.apache.tomcat.embed:tomcat-embed-core Maven | From 8.0.0 | 8.5.51 |
org.apache.tomcat.embed:tomcat-embed-core Maven | From 9.0.0 | 9.0.31 |
org.apache.tomcat.embed:tomcat-embed-core Maven | From 9.0.0 | 9.0.31 |
7 more packages
tomcat Bitnami | From 7.0.0 | 7.0.100, 8.5.51, 9.0.31 |
org.apache.tomcat:tomcat Maven | All versions | 7.0.100 |
org.apache.tomcat:tomcat Maven | All versions | 7.0.100 |
org.apache.tomcat:tomcat Maven | From 8.0.0 | 8.5.51 |
org.apache.tomcat:tomcat Maven | From 8.0.0 | 8.5.51 |
org.apache.tomcat:tomcat Maven | From 9.0.0 | 9.0.31 |
org.apache.tomcat:tomcat Maven | From 9.0.0 | 9.0.31 |
Linux distribution packages (27)
tomcat Red Hat:enterprise_linux:7::client | All versions | 0:7.0.76-16.el7_9 |
tomcat-admin-webapps Red Hat:enterprise_linux:7::client | All versions | 0:7.0.76-16.el7_9 |
tomcat-docs-webapp Red Hat:enterprise_linux:7::client | All versions | 0:7.0.76-16.el7_9 |
tomcat-el-2.2-api Red Hat:enterprise_linux:7::client | All versions | 0:7.0.76-16.el7_9 |
tomcat-javadoc Red Hat:enterprise_linux:7::client | All versions | 0:7.0.76-16.el7_9 |
tomcat-jsp-2.2-api Red Hat:enterprise_linux:7::client | All versions | 0:7.0.76-16.el7_9 |
tomcat-jsvc Red Hat:enterprise_linux:7::client | All versions | 0:7.0.76-16.el7_9 |
tomcat-lib Red Hat:enterprise_linux:7::client | All versions | 0:7.0.76-16.el7_9 |
tomcat-servlet-3.0-api Red Hat:enterprise_linux:7::client | All versions | 0:7.0.76-16.el7_9 |
tomcat-webapps Red Hat:enterprise_linux:7::client | All versions | 0:7.0.76-16.el7_9 |
tomcat Red Hat:enterprise_linux:7::computenode | All versions | 0:7.0.76-16.el7_9 |
tomcat-admin-webapps Red Hat:enterprise_linux:7::computenode | All versions | 0:7.0.76-16.el7_9 |
tomcat-docs-webapp Red Hat:enterprise_linux:7::computenode | All versions | 0:7.0.76-16.el7_9 |
tomcat-el-2.2-api Red Hat:enterprise_linux:7::computenode | All versions | 0:7.0.76-16.el7_9 |
tomcat-javadoc Red Hat:enterprise_linux:7::computenode | All versions | 0:7.0.76-16.el7_9 |
tomcat-jsp-2.2-api Red Hat:enterprise_linux:7::computenode | All versions | 0:7.0.76-16.el7_9 |
tomcat-jsvc Red Hat:enterprise_linux:7::computenode | All versions | 0:7.0.76-16.el7_9 |
tomcat-lib Red Hat:enterprise_linux:7::computenode | All versions | 0:7.0.76-16.el7_9 |
tomcat-webapps Red Hat:enterprise_linux:7::computenode | All versions | 0:7.0.76-16.el7_9 |
tomcat Red Hat:enterprise_linux:7::server | All versions | 0:7.0.76-16.el7_9 |
tomcat-admin-webapps Red Hat:enterprise_linux:7::server | All versions | 0:7.0.76-16.el7_9 |
tomcat-docs-webapp Red Hat:enterprise_linux:7::server | All versions | 0:7.0.76-16.el7_9 |
tomcat-el-2.2-api Red Hat:enterprise_linux:7::server | All versions | 0:7.0.76-16.el7_9 |
tomcat-javadoc Red Hat:enterprise_linux:7::server | All versions | 0:7.0.76-16.el7_9 |
tomcat-jsp-2.2-api Red Hat:enterprise_linux:7::server | All versions | 0:7.0.76-16.el7_9 |
tomcat-jsvc Red Hat:enterprise_linux:7::server | All versions | 0:7.0.76-16.el7_9 |
tomcat-lib Red Hat:enterprise_linux:7::server | All versions | 0:7.0.76-16.el7_9 |
Products include Apache Tomcat, Canonical Ubuntu Linux, Debian Debian Linux, Netapp Data Availability Services, Netapp Oncommand System Manager, Opensuse Leap and 14 more.
How do I fix CVE-2020-1935?
Upgrade org.apache.tomcat.embed:tomcat-embed-core to a fixed version for your release line: 7.0.100, 8.5.51 or 9.0.31.
Is CVE-2020-1935 being exploited?
There is no known exploitation of CVE-2020-1935 in the wild and no public exploit code.
Other vulnerabilities in Apache Tomcat
Sources
Also known as BIT-tomcat-2020-1935, DEBIAN-CVE-2020-1935, GHSA-qxf4-chvg-4r8r, RHSA-2020:5020, UBUNTU-CVE-2020-1935.