CVE-2004-2381 Jetty HTTP Server Denial of Service vulnerability

Medium 5.0 Published Updated

Remote attackers can cause denial of service in Jetty HTTP Server by sending requests with large Content-Length headers, leading to memory exhaustion and crashes.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2004-2381?

CVE-2004-2381 is a medium-severity denial of service vulnerability in n/a, published on 16 Aug 2005. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Which versions are affected by CVE-2004-2381?

2 open source packages ship an affected version, including org.mortbay.jetty:jetty. It affects 1 product.

PackageAffectedFixed in
org.mortbay.jetty:jetty MavenAll versions4.2.19
org.mortbay.jetty:jetty MavenAll versions4.2.19

Products include Jetty Jetty Http Server.

How do I fix CVE-2004-2381?

Upgrade org.mortbay.jetty:jetty to 4.2.19 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2004-2381 being exploited?

There is no known exploitation of CVE-2004-2381 in the wild and no public exploit code.

Sources

Also known as GHSA-p5rr-q5g6-gm42.

Is CVE-2004-2381 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free