{"answers":{"affected":"2 open source packages ship an affected version, including org.mortbay.jetty:jetty. It affects 1 product.","exploited":"There is no known exploitation of CVE-2004-2381 in the wild and no public exploit code.","fix":"Upgrade org.mortbay.jetty:jetty to 4.2.19 or later.","what":"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."},"fix_prompt":"Check this codebase for CVE-2004-2381 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2004-2381 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.mortbay.jetty:jetty (Maven): affected all versions; fixed in 4.2.19\n- org.mortbay.jetty:jetty (Maven): affected all versions; fixed in 4.2.19\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2004-2381/ (Markdown: https://insights.sbomify.com/CVE-2004-2381/index.md)","id":"CVE-2004-2381","markdown":"https://insights.sbomify.com/CVE-2004-2381/index.md","name":"CVE-2004-2381","record":{"aliases":["GHSA-p5rr-q5g6-gm42"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Jetty HTTP Server","requires_auth":"none","summary":"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.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"jetty_http_server","vendor":"jetty"}],"cvss":{"score":5,"severity":"medium","source":"nvd","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","version":"2.0"},"cwes":[],"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Jetty HTTP Server Denial of Service vulnerability","id":"CVE-2004-2381","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"denial_of_service","year":"2004"},"n_packages":2,"n_references":6,"next":{"headline":"Denial of service in n/a","id":"CVE-2004-2382"},"packages":[{"ecosystem":"Maven","fixed":["4.2.19"],"introduced":["0"],"last_affected":[],"package":"org.mortbay.jetty:jetty","purl":null,"source":"GHSA-p5rr-q5g6-gm42"},{"ecosystem":"Maven","fixed":["4.2.19"],"introduced":["0"],"last_affected":[],"package":"org.mortbay.jetty:jetty","purl":"pkg:maven/org.mortbay.jetty/jetty","source":"GHSA-p5rr-q5g6-gm42"}],"prev":{"headline":"Path traversal in n/a","id":"CVE-2004-2380"},"products":["n/a"],"published":"2005-08-16","related":[{"cvss_score":6.8,"headline":"Jetty Uses Predictable Session Identifiers","id":"CVE-2006-6969","kev_date_added":null,"published":"2007-02-07"},{"cvss_score":5,"headline":"Path traversal in n/a","id":"CVE-2002-1178","kev_date_added":null,"published":"2004-09-01"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-08","vendors":["n/a"]},"summary":"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.","url":"https://insights.sbomify.com/CVE-2004-2381/"}