CVE-2023-36479
Vulnerability Summary
Timeline
Description
Eclipse Jetty Canonical Repository is the canonical repository for the Jetty project. Users of the CgiServlet with a very specific command structure may have the wrong command executed. If a user sends a request to a org.eclipse.jetty.servlets.CGI Servlet for a binary with a space in its name, the servlet will escape the command by wrapping it in quotation marks. This wrapped command, plus an optional command prefix, will then be executed through a call to Runtime.exec. If the original binary name provided by the user contains a quotation mark followed by a space, the resulting command line will contain multiple tokens instead of one. This issue was patched in version 9.4.52, 10.0.16, 11.0.16 and 12.0.0-beta2.
CVSS Metrics
- v3.1•LOW•Score: 3.5CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:N
- v3.1•LOW•Score: 3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
EPSS Trends
Current EPSS score: 1.38%• Percentile: 81%
Techniques & Countermeasures
- CWE-149•Improper Neutralization of Quoting Syntax
Quotes injected into a product can be used to compromise a system. As data are parsed, an injected/absent/duplicate/malformed use of quotes may cause the process to take unexpected actions.
Affected Systems
- debian•debian_linux
10.0 | 11.0 | 12.0
- eclipse•jetty
≥ 9.0.0, < 9.4.52 | ≥ 10.0.0, < 10.0.16 | ≥ 11.0.0, < 11.0.16 | 12.0.0:alpha1 | 12.0.0:alpha2 | 12.0.0:alpha3 | 12.0.0:beta0 | 12.0.0:beta1
- eclipse•jetty.project
≥ 9.0.0, ≤ 9.4.51 | ≥ 10.0.0, ≤ 10.0.15 | ≥ 11.0.0, ≤ 11.0.15 | ≤ 12.0.0-beta1
- org.eclipse.jetty•jetty-servlets
≥ 9.0.0, < 9.4.52 | ≥ 10.0.0, < 10.0.16 | ≥ 11.0.0, < 11.0.16
- org.eclipse.jetty.ee10•jetty-ee10-servlets
< 12.0.0-beta2
- org.eclipse.jetty.ee8•jetty-ee8-servlets
< 12.0.0-beta2
- org.eclipse.jetty.ee9•jetty-ee9-servlets
< 12.0.0-beta2
References (8)
- https://github.com/eclipse/jetty.project/security/advisories/GHSA-3gh6-v5v9-6v9j
- https://github.com/eclipse/jetty.project/pull/9516
- https://github.com/eclipse/jetty.project/pull/9888
- https://github.com/eclipse/jetty.project/pull/9889
- https://www.debian.org/security/2023/dsa-5507
- https://lists.debian.org/debian-lts-announce/2023/09/msg00039.html
- https://nvd.nist.gov/vuln/detail/CVE-2023-36479
- https://github.com/eclipse/jetty.project