CVE-2023-36479
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.
How to fix
- eclipse jetty9.4.52, 10.0.16, 11.0.16 or later
- org.eclipse.jetty:jetty-servlets9.4.52, 10.0.16, 11.0.16 or later
- org.eclipse.jetty.ee10:jetty-ee10-servlets12.0.0-beta2 or later
- org.eclipse.jetty.ee9:jetty-ee9-servlets12.0.0-beta2 or later
- org.eclipse.jetty.ee8:jetty-ee8-servlets12.0.0-beta2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| eclipse jetty | 9.0.0 ≤ v < 9.4.52, 10.0.0 ≤ v < 10.0.16, 11.0.0 ≤ v < 11.0.16, 12.0.0 | 9.4.52, 10.0.16, 11.0.16 |
| debian debian_linux | 10.0, 11.0, 12.0 | — |
| org.eclipse.jetty:jetty-servletsMaven | 9.0.0 ≤ v < 9.4.52, 10.0.0 ≤ v < 10.0.16, 11.0.0 ≤ v < 11.0.16 | 9.4.52, 10.0.16, 11.0.16 |
| org.eclipse.jetty.ee10:jetty-ee10-servletsMaven | v < 12.0.0-beta2 | 12.0.0-beta2 |
| org.eclipse.jetty.ee9:jetty-ee9-servletsMaven | v < 12.0.0-beta2 | 12.0.0-beta2 |
| org.eclipse.jetty.ee8:jetty-ee8-servletsMaven | v < 12.0.0-beta2 | 12.0.0-beta2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.