CVE-2023-40167 json
Jetty accepts "+" prefixed value in Content-Length
published 2023-09-14 3 y ago modified 2026-09-10 1 mo ago also GHSA-hmr7-m48g-48f6 , EUVD-2023-2523
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 70%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.eclipse.jetty:jetty-http 9.4.52, 10.0.16, 11.0.16, 12.0.1
- eclipse jetty 9.4.52, 10.0.16, 11.0.16
- jetty9 Debian 12 9.4.50-4+deb12u1
- jetty9 Debian 14, Debian 13 9.4.52-1
debian advisories DEBIAN-CVE-2023-40167
- foreman satellite utils 6.15, satellite capsule 6.15, satellite 6.15 3.9.1.6-1.el8sat
- foreman-cli satellite utils 6.15, satellite 6.15 3.9.1.6-1.el8sat
- foreman-ec2 satellite 6.15 3.9.1.6-1.el8sat
- foreman-pcp satellite 6.15 3.9.1.6-1.el8sat
- puppetserver satellite capsule 6.15, satellite capsule 6.14, satellite 6.15 +1 more 7.14.0-1.el8sat
- rubygem-puma satellite 6.15 6.4.2-1.el8sat
- foreman-ovirt satellite 6.15 3.9.1.6-1.el8sat
- foreman-redis satellite 6.15 3.9.1.6-1.el8sat
red hat advisories RHSA-2024:2010RHSA-2024:0778RHSA-2024:0797
- jetty-minimal SLES for SAP 15 SP3, SLES for SAP 15 SP2, SLES 15 SP3-LTSS +9 more 9.4.53-150200.3.22.1
suse advisories SUSE-SU-2023:4210-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-40167 updated cvss 5.3
jetty: Improper validation of HTTP/1 content-length
-
Red Hat A-MQ Clients 2 jetty-httpaffected: no fix available
-
Red Hat OpenShift Serverless org.kie.kogito-kogito-apps org.kie.kogito-kogito-appsaffected: no fix planned “Will not fix”
-
Red Hat build of Apache Camel for Spring Boot 3 jetty-httpaffected: no fix available
-
Red Hat Enterprise Linux 7 jetty-io, jetty-ant, jetty-jmx, jetty-jsp, jetty-xml, jetty-http, +30 moreaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 9 jetty-projectaffected: no fix planned “Will not fix”
-
Red Hat JBoss A-MQ 6 jetty-http Red Hat JBoss Data Grid 7 jetty-http Red Hat JBoss Fuse 6 jetty, jetty-http Red Hat JBoss Fuse Service Works 6 jetty-httpaffected: no fix planned “Out of support scope”
-
Red Hat OpenShift Container Platform 4 openshift4/ose-metering-hadoopaffected: no fix planned “Will not fix”
-
Red Hat Process Automation 7 jetty-httpaffected: no fix planned “Out of support scope”
show 12 moreshow fewer
-
Red Hat Single Sign-On 7 jetty-httpaffected: no fix available
-
Red Hat OpenShift Developer Tools and Services for OCP 4.12 jenkins 2.426.3.1706515686-3.el8fixed: vendor fix RHSA-2024:0778
-
Red Hat AMQ Broker 7fixed: vendor fix RHSA-2023:5946
-
Red Hat AMQ Clientsfixed: vendor fix RHSA-2023:7697
-
Red Hat AMQ Streams 2.6.0fixed: vendor fix RHSA-2023:7678
-
Red Hat Fuse 7.12.1fixed: vendor fix RHSA-2023:7247
-
Red Hat Fuse 7.13.0fixed: vendor fix RHSA-2024:3354
-
Red Hat Integration Camel Quarkus 2fixed: vendor fix RHSA-2023:5780
-
Red Hat Satellite 6.14 for RHEL 8 candlepin 4.3.11-1.el8sat, candlepin-selinux 4.3.11-1.el8satfixed: vendor fix RHSA-2024:0797
-
Red Hat Satellite 6.15 for RHEL 8 puppetserver 7.14.0-1.el8satfixed: vendor fix RHSA-2024:2010
-
Red Hat RHINT Camel-Springboot 4.0.0fixed: vendor fix RHSA-2023:5441
-
Red Hat Migration Toolkit for Applications 6 commons-io-commons-io Red Hat Migration Toolkit for Runtimes commons-io-commons-io Red Hat OpenShift Developer Tools and Services for OCP 4.12 jenkins-2-plugins 4.12.1706515741-1.el8 Red Hat Enterprise Linux 8 jetty-io, jetty-http, jetty-util, jetty-server, jetty-servlet, jetty-security, +1 more Red Hat OpenShift Container Platform 4 openshift4/ose-metering-hive, openshift4/ose-metering-presto Red Hat OpenShift Dev Spaces jetty-httpnot affected: vulnerable code not present
+2 more productsfewer
Red Hat Satellite 6.14 for RHEL 8 foreman 3.7.0.11-2.el8sat, mosquitto 2.0.17-1.el8sat, satellite 6.14.2-1.el8sat, rubygem-kafo 7.2.0-1.el8sat, rubygem-puma 6.3.1-1.el8sat, puppet-agent 7.27.0-1.el8sat, +26 more Red Hat Satellite 6.15 for RHEL 8 cjson 1.7.14-5.el8sat, libsolv 0.7.22-6.el8pc, katello 4.11.0-1.el8sat, libcomps 0.1.18-8.el8pc, python-jq 1.6.0-3.el8pc, foreman 3.9.1.6-1.el8sat, +678 more
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
1.28% chance of exploitation in the next 30 days, higher than 70% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.eclipse.jetty:jetty-http | >=9.0.0, <9.4.52 >=10.0.0, <10.0.16 >=11.0.0, <11.0.16 >=12.0.0, <12.0.1 |
9.4.52 10.0.16 11.0.16 12.0.1 |
Affected products
- eclipse jetty.project
Classification
- Weakness
-
- CWE-130 Improper Handling of Length Parameter Inconsistency
References
-
github.com
/eclipse/jetty.project/security/advisories/GHSA-hmr7-m48g-48f6
web, vendor-advisory
-
rfc-editor.org
/rfc/rfc9110#section-8.6
web, technical-description
-
debian.org
/security/2023/dsa-5507
web, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2023/09/msg00039.html
web, mailing-list, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2023-40167
advisory
-
github.com
/eclipse/jetty.project
package
Sources
- CVE List CVE-2023-40167
- GitHub Advisory GHSA-hmr7-m48g-48f6
- NVD CVE-2023-40167
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.