CVE-2023-36479

Jetty vulnerable to errant command quoting in CGI Servlet

State
Published
Severity
3.5 Low
Published
Sep 15, 2023
Updated
Jun 18, 2025
Reserved
Jun 21, 2023

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.13.5 LowCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:NGitHub_M

Weaknesses

  • CWE-149 Improper Neutralization of Quoting Syntax

Affected Products

ProductVersions
jetty.projecteclipse
  • >= 9.0.0, <= 9.4.51Affected
  • >= 10.0.0, <= 10.0.15Affected
  • >= 11.0.0, <= 11.0.15Affected
  • <= 12.0.0-beta1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.