Vulnerability · Published Sep 15, 2023 · Assigned by GitHub_M

CVE-2023-36479Jetty vulnerable to errant command quoting in CGI Servlet

Low 3.5

In plain English

A low-severity security flaw in jetty.project from eclipse. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 67% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)3.5Low
Exploit odds (30 days)1.2%top 32.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12jetty99.4.50-4+deb12u1DEBIAN-CVE-2023-36479
Debian:12jetty99.4.50-4+deb12u1DSA-5507-1
Debian:13jetty99.4.52-1DEBIAN-CVE-2023-36479
Debian:14jetty99.4.52-1DEBIAN-CVE-2023-36479
Mavenorg.eclipse.jetty.ee10:jetty-ee10-servlets12.0.0-beta2GHSA-3gh6-v5v9-6v9j
Mavenorg.eclipse.jetty.ee8:jetty-ee8-servlets12.0.0-beta2GHSA-3gh6-v5v9-6v9j
Mavenorg.eclipse.jetty.ee9:jetty-ee9-servlets12.0.0-beta2GHSA-3gh6-v5v9-6v9j
Mavenorg.eclipse.jetty:jetty-servlets9.4.52GHSA-3gh6-v5v9-6v9j
Mavenorg.eclipse.jetty:jetty-servlets11.0.16GHSA-3gh6-v5v9-6v9j
Mavenorg.eclipse.jetty:jetty-servlets10.0.16GHSA-3gh6-v5v9-6v9j

Affected products (as reported)

VendorProductVersions
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

Weakness: CWE-149 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:N

References