Home / Jetty / Jetty Http Server / CVE-2004-2381
CVE-2004-2381: is it exploited, and which versions of Jetty Http Server are affected and fixed?
CVE-2004-2381 is a denial of service (uncontrolled resource consumption) vulnerability in Jetty Http Server. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 08:38 UTC). Affected: org.mortbay.jetty:jetty before 4.2.19 (GitHub advisory GHSA-p5rr-q5g6-gm42). Fixed in 4.2.19 (GitHub advisory GHSA-p5rr-q5g6-gm42). Severity: Medium (5.0, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:38 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:54 UTC.
What is 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) via HTTP requests with a large Content-Length.
From the CVE record by mitre, last updated August 8, 2024, 01:22 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.mortbay.jetty:jetty | < 4.2.19 | 4.2.19 | GHSA-p5rr-q5g6-gm42 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 18, 2023. Summary: Jetty HTTP Server Denial of Service vulnerability.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| jetty | jetty http server | 4.0.0 | application |
| jetty | jetty http server | 4.0.1 | application |
| jetty | jetty http server | 4.0.1_rc0 | application |
| jetty | jetty http server | 4.0.1_rc1 | application |
| jetty | jetty http server | 4.0.1_rc2 | application |
| jetty | jetty http server | 4.0.2 | application |
| jetty | jetty http server | 4.0.3 | application |
| jetty | jetty http server | 4.0.4 | application |
| jetty | jetty http server | 4.0.5 | application |
| jetty | jetty http server | 4.0.6 | application |
| jetty | jetty http server | 4.0.b0 | application |
| jetty | jetty http server | 4.0.b1 | application |
| jetty | jetty http server | 4.0.b2 | application |
| jetty | jetty http server | 4.0.d0 | application |
| jetty | jetty http server | 4.0.d1 | application |
| jetty | jetty http server | 4.0.d2 | application |
| jetty | jetty http server | 4.0.d3 | application |
| jetty | jetty http server | 4.0.d4 | application |
| jetty | jetty http server | 4.0_rc1 | application |
| jetty | jetty http server | 4.0_rc2 | application |
| jetty | jetty http server | 4.0_rc3 | application |
| jetty | jetty http server | 4.1.0 | application |
| jetty | jetty http server | 4.1.0_rc0 | application |
| jetty | jetty http server | 4.1.0_rc1 | application |
| jetty | jetty http server | 4.1.0_rc2 | application |
NVD analysis (status Modified), last modified June 16, 2026, 22:09 UTC.
How severe is CVE-2004-2381?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2004-2381 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.80% probability of exploitation activity in the next 30 days, percentile 79.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-400 Uncontrolled Resource Consumption
Where are the vendor advisories and references?
- 4387 vdb-entry, x_refsource_OSVDB
- 11166 third-party-advisory, x_refsource_SECUNIA
- http://sourceforge.net/project/shownotes.php?release_id=224743 x_refsource_CONFIRM
- jetty-dos(15537) vdb-entry, x_refsource_XF
- 9917 vdb-entry, x_refsource_BID
- http://cvs.sourceforge.net/viewcvs.py/jetty/Jetty/src/org/mortbay/http/HttpRequest.java?r1=1.75&r2=1.76 x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- August 16, 2005
- Published
- August 16, 2005, 04:00 UTC
- CVE record updated
- August 8, 2024, 01:22 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 22:09 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:54 UTC; KEV December 3, 2026, 08:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Jetty Http Server?
- Feb 7, 2007CVE-2006-6969 Jetty Http Server: weak randomness
- Aug 21, 2005CVE-2004-2478 Ca Unicenter Web Services Distributed Management: n/a
- Sep 1, 2004CVE-2002-1178 Jetty Http Server: n/a
Every CVE in Jetty Http Server
Questions about CVE-2004-2381
Is CVE-2004-2381 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:38 UTC. FIRST's EPSS gives it a 1.80% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Jetty Http Server are affected by CVE-2004-2381?
org.mortbay.jetty:jetty before 4.2.19, per the GitHub advisory GHSA-p5rr-q5g6-gm42. The tables above give every range the sources list.
Which version fixes CVE-2004-2381?
4.2.19, per the GitHub advisory GHSA-p5rr-q5g6-gm42. Check the vendor's advisory before you rely on it.
How severe is CVE-2004-2381?
Medium (5.0, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2004-2381?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.