CVE-2023-40167

NameCVE-2023-40167
DescriptionJetty 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3592-1, DSA-5507-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
jetty8 (PTS)jessie, jessie (lts)8.1.16-4+deb8u1vulnerable
jetty9 (PTS)stretch (security), stretch (lts), stretch9.2.30-0+deb9u2vulnerable
buster (security), buster, buster (lts)9.4.50-4+deb10u2fixed
bullseye (security), bullseye9.4.50-4+deb11u2fixed
bookworm (security), bookworm9.4.50-4+deb12u3fixed
sid, trixie9.4.56-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
jetty8source(unstable)(unfixed)
jetty9sourcebuster9.4.16-0+deb10u3DLA-3592-1
jetty9sourcebullseye9.4.39-3+deb11u2DSA-5507-1
jetty9sourcebookworm9.4.50-4+deb12u1DSA-5507-1
jetty9source(unstable)9.4.52-1

Notes

https://github.com/eclipse/jetty.project/security/advisories/GHSA-hmr7-m48g-48f6
https://github.com/eclipse/jetty.project/pull/10329
https://github.com/eclipse/jetty.project/commit/e4d596eafc887bcd813ae6e28295b5ce327def47
[jessie] - jetty8 <postponed> (Minor issue)
[stretch] - jetty9 <no-dsa> (Minor issue)

Search for package or bug name: Reporting problems