Skip to content
OpenAdvisories
Medium Public exploit CVE-2010-2227 EUVD-2022-3661GHSA-cxg2-49rq-8gcr

Apache Tomcat does not properly handle an invalid Transfer-Encoding header

Published Jul 13, 2010 · Updated Aug 7, 2024 · Assigned by redhat

Description

Apache Tomcat 5.5.0 through 5.5.29, 6.0.0 through 6.0.27, and 7.0.0 beta does not properly handle an invalid Transfer-Encoding header, which allows remote attackers to cause a denial of service (application outage) or obtain sensitive information via a crafted header that interferes with "recycling of a buffer."

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 5.0 tomcat5.5 5.5.26-5lenny2 DSA-2207-1
ReleasePackageFixed inAdvisory
RHEL 5 tomcat5 +10 5.5.23-0jpp.9.el5_5 RHSA-2010:0580
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Rhel Developer Suite 3 tomcat5 +5 5.5.23-0jpp_21rh RHSA-2010:0583
Red Hat Rhel Application Server 2 tomcat5 +10 5.5.23-0jpp_4rh.17 RHSA-2010:0582
Red Hat JBoss Web Server 1 tomcat5 +12 5.5.28-9.patch_01.jdk6.ep5.el4 RHSA-2010:0581
Red Hat JBoss Web Server 1 tomcat6 +9 6.0.24-7.patch_01.jdk6.ep5.el4 RHSA-2010:0581
Red Hat JBoss EAP 4 jbossweb 2.0.0-6.CP14.0jpp.ep1.1.el4 RHSA-2010:0584
Red Hat Certificate System 7 tomcat5 +5 5.5.23-0jpp_4rh.19 RHSA-2010:0693

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 2 modules

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.tomcat:tomcat >= 7.0.0, < 7.0.2 7.0.2 GHSA-cxg2-49rq-8gcr
Maven org.apache.tomcat:tomcat >= 5.5.0, < 5.5.30 5.5.30 GHSA-cxg2-49rq-8gcr
Maven org.apache.tomcat:tomcat >= 6.0.0, < 6.0.28 6.0.28 GHSA-cxg2-49rq-8gcr

Advisories 7

References