VDB

CVE-2023-26049

CVE-2023-26049 PUBLISHED CVSS 2.4 LOW

Cookie parsing of quoted values can exfiltrate values from other cookies in Eclipse Jetty

Reported by github_m · Published April 18, 2023

jetty-client is fixed in 11.0.14, 10.0.14 and 9.4.51 (Maven Central)

Jetty is a java based web server and servlet engine. Nonstandard cookie parsing in Jetty may allow an attacker to smuggle cookies within other cookies, or otherwise perform unintended behavior by tampering with the cookie parsing mechanism. If Jetty sees a cookie VALUE that starts with `"` (double quote), it will continue to read the cookie string until it sees a closing quote -- even if a semicolon is encountered. So, a cookie header such as: `DISPLAY_LANGUAGE="b; JSESSIONID=1337; c=d"` will be parsed as one cookie, with the name DISPLAY_LANGUAGE and a value of b; JSESSIONID=1337; c=d instead of 3 separate cookies. This has security implications because if, say, JSESSIONID is an HttpOnly cookie, and the DISPLAY_LANGUAGE cookie value is rendered on the page, an attacker can smuggle the JSESSIONID cookie into the DISPLAY_LANGUAGE cookie and thereby exfiltrate it. This is significant when an intermediary is enacting some policy based on cookies, so a smuggled cookie can bypass that policy yet still be seen by the Jetty server or its logging system. This issue has been addressed in versions 9.4.51, 10.0.14, 11.0.14, and 12.0.0.beta0 and users are advised to upgrade. There are no known workarounds for this issue.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
org.eclipse.jetty:jetty-clientMaven Central11.0.14, 10.0.14, 9.4.51
org.eclipse.jetty:jetty-deployMaven Central11.0.14, 10.0.14, 9.4.51
org.eclipse.jetty:jetty-webappMaven Central11.0.14, 10.0.14, 9.4.51
org.eclipse.jetty:jetty-servletsMaven Central11.0.14, 10.0.14, 9.4.51
org.eclipse.jetty:jetty-serverMaven Central12.0.0.beta0, 11.0.14, 10.0.14, 9.4.51.v20230217, 9.4.51
cassandra-reaperChainguard4.0.1-r1
kafkaChainguard3.4.0-r2
hiveChainguard4.0.1-r1
cassandra-reaperWolfi4.0.1-r1
kafkaWolfi3.4.0-r2
jettyeclipse11.0.14, 10.0.14, 9.4.51

Risk scores

CVSS 3.1
2.4
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:N/A:N

Affected products

VendorProductVersions
eclipsejetty.project< 9.4.51, >= 10.0.0, < 10.0.14, >= 11.0.0, < 11.0.14
chainguardcassandra-reaper0
chainguardkafka0
chainguardhive0
wolficassandra-reaper0
Mavenorg.eclipse.jetty:jetty-client11.0.0, 0, 10.0.0
Mavenorg.eclipse.jetty:jetty-servlets10.0.0, 0, 11.0.0
wolfikafka0
Mavenorg.eclipse.jetty:jetty-server0, 12.0.0, 11.0.0
Mavenorg.eclipse.jetty:jetty-webapp0, 10.0.0, 11.0.0
Mavenorg.eclipse.jetty:jetty-deploy12.0.0, 0, 10.0.0
eclipsejetty.project0, 12.0.0.alpha0, 11.0.0

Timeline

  • Apr 18, 2023 CVE Published
  • Apr 18, 2023 CVE Updated
  • Apr 19, 2023 EPSS Score (30 in total, the first dated here)
  • Feb 8, 2024 PoC Published
  • Mar 23, 2026 Security Advisory (12 in total, the first dated here)
  • Apr 27, 2026 Distribution Patch (11 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-26049
vulnetix vdb fixes CVE-2023-26049

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-26049/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›