CVE-2020-1935
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.
What to do
Fixed builds are available from Debian, Maven, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | tomcat9 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | tomcat9 | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | tomcat8 | Fix pending | UBUNTU-CVE-2020-1935 | |
| Ubuntu 18.04 | tomcat9 | Fix pending | UBUNTU-CVE-2020-1935 | |
| Ubuntu 16.04 | tomcat7 | Fix pending | UBUNTU-CVE-2020-1935 | |
| Ubuntu 16.04 | tomcat8 | Fixed | 8.0.32-1ubuntu1.13 | UBUNTU-CVE-2020-1935 |
| Ubuntu 14.04 | tomcat7 | Fix pending | UBUNTU-CVE-2020-1935 | |
| Debian 14 | tomcat9 | Fixed | 9.0.31-1 | DEBIAN-CVE-2020-1935 |
| Debian 13 | tomcat9 | Fixed | 9.0.31-1 | DEBIAN-CVE-2020-1935 |
| Debian 12 | tomcat9 | Fixed | 9.0.31-1 | DEBIAN-CVE-2020-1935 |
| Red Hat Enterprise Linux 8 | apache-commons-collections | Fixed | 0:3.2.2-10.module+el8.1.0+3366+6dfb954c | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | apache-commons-lang | Fixed | 0:2.6-21.module+el8.1.0+3366+6dfb954c | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | apache-commons-net | Fixed | 0:3.6-3.module+el8.3.0+6805+72837426 | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | bea-stax | Fixed | 0:1.2.0-16.module+el8.1.0+3366+6dfb954c | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | bea-stax-api | Fixed | 0:1.2.0-16.module+el8.1.0+3366+6dfb954c | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | glassfish-fastinfoset | Fixed | 0:1.2.13-9.module+el8.1.0+3366+6dfb954c | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | glassfish-jaxb | Fixed | 0:2.2.11-11.module+el8.1.0+3366+6dfb954c | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | glassfish-jaxb-api | Fixed | 0:2.2.12-8.module+el8.1.0+3366+6dfb954c | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | glassfish-jaxb-core | Fixed | 0:2.2.11-11.module+el8.1.0+3366+6dfb954c | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | glassfish-jaxb-runtime | Fixed | 0:2.2.11-11.module+el8.1.0+3366+6dfb954c | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | glassfish-jaxb-txw2 | Fixed | 0:2.2.11-11.module+el8.1.0+3366+6dfb954c | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | jackson-annotations | Fixed | 0:2.10.0-1.module+el8.2.0+5059+3eb3af25 | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | jackson-core | Fixed | 0:2.10.0-1.module+el8.2.0+5059+3eb3af25 | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | jackson-databind | Fixed | 0:2.10.0-1.module+el8.2.0+5059+3eb3af25 | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | jackson-jaxrs-json-provider | Fixed | 0:2.9.9-1.module+el8.1.0+3832+9784644d | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | jackson-jaxrs-providers | Fixed | 0:2.9.9-1.module+el8.1.0+3832+9784644d | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | jackson-module-jaxb-annotations | Fixed | 0:2.7.6-4.module+el8.1.0+3366+6dfb954c | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | jakarta-commons-httpclient | Fixed | 1:3.1-28.module+el8.1.0+3366+6dfb954c | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | javassist | Fixed | 0:3.18.1-8.module+el8.1.0+3366+6dfb954c | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | javassist-javadoc | Fixed | 0:3.18.1-8.module+el8.1.0+3366+6dfb954c | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | jss | Fixed | 0:4.7.3-1.module+el8.3.0+8058+d5cd4219 | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | jss-javadoc | Fixed | 0:4.7.3-1.module+el8.3.0+8058+d5cd4219 | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | ldapjdk | Fixed | 0:4.22.0-1.module+el8.3.0+6784+6e1e4c62 | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | ldapjdk-javadoc | Fixed | 0:4.22.0-1.module+el8.3.0+6784+6e1e4c62 | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | pki-base | Fixed | 0:10.9.4-1.module+el8.3.0+8058+d5cd4219 | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | pki-base-java | Fixed | 0:10.9.4-1.module+el8.3.0+8058+d5cd4219 | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | pki-ca | Fixed | 0:10.9.4-1.module+el8.3.0+8058+d5cd4219 | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | pki-core | Fixed | 0:10.9.4-1.module+el8.3.0+8058+d5cd4219 | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | pki-kra | Fixed | 0:10.9.4-1.module+el8.3.0+8058+d5cd4219 | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | pki-server | Fixed | 0:10.9.4-1.module+el8.3.0+8058+d5cd4219 | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | pki-servlet-4.0-api | Fixed | 1:9.0.30-1.module+el8.3.0+6730+8f9c6254 | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | pki-servlet-engine | Fixed | 1:9.0.30-1.module+el8.3.0+6730+8f9c6254 | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | pki-symkey | Fixed | 0:10.9.4-1.module+el8.3.0+8058+d5cd4219 | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | pki-tools | Fixed | 0:10.9.4-1.module+el8.3.0+8058+d5cd4219 | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | python-nss | Fixed | 0:1.0.1-10.module+el8.1.0+3366+6dfb954c | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | python-nss-doc | Fixed | 0:1.0.1-10.module+el8.1.0+3366+6dfb954c | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | python3-nss | Fixed | 0:1.0.1-10.module+el8.1.0+3366+6dfb954c | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | python3-pki | Fixed | 0:10.9.4-1.module+el8.3.0+8058+d5cd4219 | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | relaxngDatatype | Fixed | 0:2011.1-7.module+el8.1.0+3366+6dfb954c | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | resteasy | Fixed | 0:3.0.26-3.module+el8.2.0+5723+4574fbff | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | slf4j | Fixed | 0:1.7.25-4.module+el8.1.0+3366+6dfb954c | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | slf4j-jdk14 | Fixed | 0:1.7.25-4.module+el8.1.0+3366+6dfb954c | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | stax-ex | Fixed | 0:1.7.7-8.module+el8.2.0+5723+4574fbff | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | tomcatjss | Fixed | 0:7.5.0-1.module+el8.3.0+7355+c59bcbd9 | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | velocity | Fixed | 0:1.7-24.module+el8.1.0+3366+6dfb954c | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | xalan-j2 | Fixed | 0:2.7.1-38.module+el8.1.0+3366+6dfb954c | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | xerces-j2 | Fixed | 0:2.11.0-34.module+el8.1.0+3366+6dfb954c | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | xml-commons-apis | Fixed | 0:1.4.01-25.module+el8.1.0+3366+6dfb954c | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | xml-commons-resolver | Fixed | 0:1.2-26.module+el8.1.0+3366+6dfb954c | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | xmlstreambuffer | Fixed | 0:1.5.4-8.module+el8.2.0+5723+4574fbff | RHSA-2020:4847 |
| Red Hat Enterprise Linux 8 | xsom | Fixed | 0:0-19.20110809svn.module+el8.1.0+3366+6dfb954c | RHSA-2020:4847 |
| Red Hat Enterprise Linux 7 | tomcat | Fixed | 0:7.0.76-16.el7_9 | RHSA-2020:5020 |
| Red Hat Enterprise Linux 7 | tomcat-admin-webapps | Fixed | 0:7.0.76-16.el7_9 | RHSA-2020:5020 |
| Red Hat Enterprise Linux 7 | tomcat-docs-webapp | Fixed | 0:7.0.76-16.el7_9 | RHSA-2020:5020 |
| Red Hat Enterprise Linux 7 | tomcat-el-2.2-api | Fixed | 0:7.0.76-16.el7_9 | RHSA-2020:5020 |
| Red Hat Enterprise Linux 7 | tomcat-javadoc | Fixed | 0:7.0.76-16.el7_9 | RHSA-2020:5020 |
| Red Hat Enterprise Linux 7 | tomcat-jsp-2.2-api | Fixed | 0:7.0.76-16.el7_9 | RHSA-2020:5020 |
| Red Hat Enterprise Linux 7 | tomcat-jsvc | Fixed | 0:7.0.76-16.el7_9 | RHSA-2020:5020 |
| Red Hat Enterprise Linux 7 | tomcat-lib | Fixed | 0:7.0.76-16.el7_9 | RHSA-2020:5020 |
| Red Hat Enterprise Linux 7 | tomcat-servlet-3.0-api | Fixed | 0:7.0.76-16.el7_9 | RHSA-2020:5020 |
| Red Hat Enterprise Linux 7 | tomcat-webapps | Fixed | 0:7.0.76-16.el7_9 | RHSA-2020:5020 |
| Red Hat Enterprise Linux 6 | tomcat6 | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | tomcat6-admin-webapps | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | tomcat6-docs-webapp | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | tomcat6-el-2.1-api | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | tomcat6-javadoc | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | tomcat6-jsp-2.1-api | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | tomcat6-lib | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | tomcat6-log4j | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | tomcat6-servlet-2.5-api | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | tomcat6-webapps | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 5 | tomcat5 | Will not fix Out of support scope | ||
| Rocky Linux 8 | apache-commons-collections | Fixed | 0:3.2.2-10.module+el8.3.0+74+855e3f5d | RLSA-2020:4847 |
| Rocky Linux 8 | apache-commons-lang | Fixed | 0:2.6-21.module+el8.3.0+74+855e3f5d | RLSA-2020:4847 |
| Rocky Linux 8 | apache-commons-net | Fixed | 0:3.6-3.module+el8.3.0+74+855e3f5d | RLSA-2020:4847 |
| Rocky Linux 8 | bea-stax | Fixed | 0:1.2.0-16.module+el8.3.0+53+ea062990 | RLSA-2020:4847 |
| Rocky Linux 8 | glassfish-fastinfoset | Fixed | 0:1.2.13-9.module+el8.3.0+53+ea062990 | RLSA-2020:4847 |
| Rocky Linux 8 | glassfish-jaxb | Fixed | 0:2.2.11-11.module+el8.3.0+53+ea062990 | RLSA-2020:4847 |
| Rocky Linux 8 | glassfish-jaxb-api | Fixed | 0:2.2.12-8.module+el8.3.0+53+ea062990 | RLSA-2020:4847 |
| Rocky Linux 8 | jackson-annotations | Fixed | 0:2.10.0-1.module+el8.3.0+53+ea062990 | RLSA-2020:4847 |
| Rocky Linux 8 | jackson-core | Fixed | 0:2.10.0-1.module+el8.3.0+53+ea062990 | RLSA-2020:4847 |
| Rocky Linux 8 | jackson-databind | Fixed | 0:2.10.0-1.module+el8.3.0+53+ea062990 | RLSA-2020:4847 |
| Rocky Linux 8 | jackson-jaxrs-providers | Fixed | 0:2.9.9-1.module+el8.3.0+53+ea062990 | RLSA-2020:4847 |
| Rocky Linux 8 | jackson-module-jaxb-annotations | Fixed | 0:2.7.6-4.module+el8.3.0+53+ea062990 | RLSA-2020:4847 |
| Rocky Linux 8 | jakarta-commons-httpclient | Fixed | 1:3.1-28.module+el8.3.0+74+855e3f5d | RLSA-2020:4847 |
| Rocky Linux 8 | javassist | Fixed | 0:3.18.1-8.module+el8.3.0+74+855e3f5d | RLSA-2020:4847 |
| Rocky Linux 8 | ldapjdk | Fixed | 0:4.22.0-1.module+el8.4.0+418+b7ae1d4a | RLSA-2020:4847 |
| Rocky Linux 8 | pki-servlet-engine | Fixed | 1:9.0.30-1.module+el8.3.0+53+ea062990 | RLSA-2020:4847 |
| Rocky Linux 8 | python-nss | Fixed | 0:1.0.1-10.module+el8.3.0+53+ea062990 | RLSA-2020:4847 |
| Rocky Linux 8 | relaxngDatatype | Fixed | 0:2011.1-7.module+el8.3.0+53+ea062990 | RLSA-2020:4847 |
| Rocky Linux 8 | resteasy | Fixed | 0:3.0.26-3.module+el8.3.0+53+ea062990 | RLSA-2020:4847 |
| Rocky Linux 8 | slf4j | Fixed | 0:1.7.25-4.module+el8.5.0+697+f586bb30 | RLSA-2020:4847 |
| Rocky Linux 8 | stax-ex | Fixed | 0:1.7.7-8.module+el8.3.0+53+ea062990 | RLSA-2020:4847 |
| Rocky Linux 8 | velocity | Fixed | 0:1.7-24.module+el8.3.0+74+855e3f5d | RLSA-2020:4847 |
| Rocky Linux 8 | xalan-j2 | Fixed | 0:2.7.1-38.module+el8.3.0+74+855e3f5d | RLSA-2020:4847 |
| Rocky Linux 8 | xerces-j2 | Fixed | 0:2.11.0-34.module+el8.3.0+74+855e3f5d | RLSA-2020:4847 |
| Rocky Linux 8 | xml-commons-apis | Fixed | 0:1.4.01-25.module+el8.3.0+53+ea062990 | RLSA-2020:4847 |
| Rocky Linux 8 | xml-commons-resolver | Fixed | 0:1.2-26.module+el8.3.0+74+855e3f5d | RLSA-2020:4847 |
| Rocky Linux 8 | xmlstreambuffer | Fixed | 0:1.5.4-8.module+el8.3.0+53+ea062990 | RLSA-2020:4847 |
| Rocky Linux 8 | xsom | Fixed | 0:0-19.20110809svn.module+el8.3.0+53+ea062990 | RLSA-2020:4847 |
| Maven library | org.apache.tomcat.embed:tomcat-embed-core | Fixed | 8.5.51 | GHSA-qxf4-chvg-4r8r |
| Maven library | org.apache.tomcat:tomcat | Fixed | 8.5.51 | GHSA-qxf4-chvg-4r8r |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Tomcat: affected: Apache Tomcat 9.0.0.M1 to 9.0.30, 8.5.0 to 8.5.50, 7.0.0 to 7.0.99
Vendor advisories:
- http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00025.html (vendor-advisory)
- https://www.debian.org/security/2020/dsa-4673 (vendor-advisory)
- https://www.debian.org/security/2020/dsa-4680 (vendor-advisory)
- https://usn.ubuntu.com/4448-1/ (vendor-advisory)
References
- https://lists.apache.org/thread.html/r127f76181aceffea2bd4711b03c595d0f115f63e020348fe925a916c%40%3Cannounce.tomcat.apache.org%3E
- https://lists.debian.org/debian-lts-announce/2020/03/msg00006.html
- http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00025.html
- https://lists.apache.org/thread.html/rc31cbabb46cdc58bbdd8519a8f64b6236b2635a3922bbeba0f0e3743%40%3Ccommits.tomee.apache.org%3E
- https://lists.apache.org/thread.html/r7bc994c965a34876bd94d5ff15b4e1e30b6220a15eb9b47c81915b78%40%3Ccommits.tomee.apache.org%3E
- https://www.debian.org/security/2020/dsa-4673
- https://www.debian.org/security/2020/dsa-4680
- https://lists.debian.org/debian-lts-announce/2020/05/msg00026.html
- https://www.oracle.com/security-alerts/cpujul2020.html
- https://security.netapp.com/advisory/ntap-20200327-0005/
- https://lists.apache.org/thread.html/r441c1f30a252bf14b07396286f6abd8089ce4240e91323211f1a2d75%40%3Cusers.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r660cd379afe346f10d72c0eaa8459ccc95d83aff181671b7e9076919%40%3Cusers.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/rd547be0c9d821b4b1000a694b8e58ef9f5e2d66db03a31dfe77c4b18%40%3Cusers.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/ra5dee390ad2d60307b8362505c059cd6a726de4d146d63dfce1e05e7%40%3Cusers.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r80e9c8417c77d52c62809168b96912bda70ddf7748f19f8210f745b1%40%3Cusers.tomcat.apache.org%3E
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.