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.
Remediation
References
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://github.com/eclipse/jetty.project/security/advisories/GHSA-3gh6-v5v9-6v9j
https://lists.debian.org/debian-lts-announce/2023/09/msg00039.html
https://www.debian.org/security/2023/dsa-5507
Related Vulnerabilities
CVE-2021-27578 Vulnerability in maven package org.apache.zeppelin:zeppelin
CVE-2020-25638 Vulnerability in maven package org.hibernate:hibernate-core
CVE-2021-21172 Vulnerability in npm package electron
CVE-2018-3719 Vulnerability in maven package org.webjars.npm:mixin-deep
CVE-2019-10158 Vulnerability in maven package org.infinispan:infinispan-spring5-embedded