CVEfocus › CVE database › CVE-2023-40167

CVE-2023-40167Jetty accepts "+" prefixed value in Content-Length

CVSS 5.3 MediumEPSS 1.3% (higher than 70% of CVEs)Published 2023-09-15Updated 2025-02-13Assigner: GitHub_M

Jetty is a Java based web server and servlet engine. Prior to versions 9.4.52, 10.0.16, 11.0.16, and 12.0.1, Jetty accepts the `+` character proceeding the content-length value in a HTTP/1 header field. This is more permissive than allowed by the RFC and other servers routinely reject such requests with 400 responses. There is no known exploit scenario, but it is conceivable that request smuggling could result if jetty is used in combination with a server that does not close the connection after sending such a 400 response. Versions 9.4.52, 10.0.16, 11.0.16, and 12.0.1 contain a patch for this issue. There is no workaround as there is no known exploit scenario.

CWE-130

What to do

Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
4Fix pending
37Will not fix
10Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04jetty9Not affected
vulnerable_code_not_present
Ubuntu 25.10jetty9Not affected
vulnerable_code_not_present
Ubuntu 24.04jetty9Not affected
vulnerable_code_not_present
Ubuntu 22.04jetty9Fix pendingUBUNTU-CVE-2023-40167
Ubuntu 20.04jetty9Fix pendingUBUNTU-CVE-2023-40167
Ubuntu 18.04jetty9Fix pendingUBUNTU-CVE-2023-40167
Ubuntu 16.04jetty9Fix pendingUBUNTU-CVE-2023-40167
Debian 14jetty9Fixed9.4.52-1DEBIAN-CVE-2023-40167
Debian 13jetty9Fixed9.4.52-1DEBIAN-CVE-2023-40167
Debian 12jetty9Fixed9.4.50-4+deb12u1DEBIAN-CVE-2023-40167
Red Hat Enterprise Linux 9jetty-projectWill not fix
Will not fix
Red Hat Enterprise Linux 8jetty-continuationNot affected
Red Hat Enterprise Linux 8jetty-httpNot affected
Red Hat Enterprise Linux 8jetty-ioNot affected
Red Hat Enterprise Linux 8jetty-securityNot affected
Red Hat Enterprise Linux 8jetty-serverNot affected
Red Hat Enterprise Linux 8jetty-servletNot affected
Red Hat Enterprise Linux 8jetty-utilNot affected
Red Hat Enterprise Linux 7jetty-annotationsWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-antWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-clientWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-continuationWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-deployWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-httpWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-ioWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-jaasWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-jaspiWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-javadocWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-jmxWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-jndiWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-jspWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-jspc-maven-pluginWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-maven-pluginWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-monitorWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-plusWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-projectWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-proxyWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-rewriteWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-runnerWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-securityWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-serverWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-servletWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-servletsWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-startWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-utilWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-util-ajaxWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-webappWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-websocket-apiWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-websocket-clientWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-websocket-commonWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-websocket-parentWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-websocket-serverWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-websocket-servletWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-xmlWill not fix
Out of support scope
Maven libraryorg.eclipse.jetty:jetty-httpFixed12.0.1GHSA-hmr7-m48g-48f6

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.