CVEfocus › CVE database › CVE-2023-36479

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

CVSS 3.5 LowEPSS 1.1% (higher than 64% of CVEs)Published 2023-09-15Updated 2025-06-18Assigner: GitHub_M

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.

CWE-149

What to do

Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

7Fixed
3Fix pending
36Will not fix
7Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04jettyFix pendingUBUNTU-CVE-2023-36479
Ubuntu 14.04jettyFix pendingUBUNTU-CVE-2023-36479
Debian 14jetty9Fixed9.4.52-1DEBIAN-CVE-2023-36479
Debian 13jetty9Fixed9.4.52-1DEBIAN-CVE-2023-36479
Debian 12jetty9Fixed9.4.50-4+deb12u1DEBIAN-CVE-2023-36479
Red Hat Enterprise Linux 9jetty-projectFix pending
Fix deferred
Red Hat Enterprise Linux 8jetty-continuationNot affected
Red Hat Enterprise Linux 8jetty-httpNot affected
Red Hat Enterprise Linux 8jetty-ioNot affected
Red Hat Enterprise Linux 8jetty-securityNot affected
Red Hat Enterprise Linux 8jetty-serverNot affected
Red Hat Enterprise Linux 8jetty-servletNot affected
Red Hat Enterprise Linux 8jetty-utilNot affected
Red Hat Enterprise Linux 7jetty-annotationsWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-antWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-clientWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-continuationWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-deployWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-httpWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-ioWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-jaasWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-jaspiWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-javadocWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-jmxWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-jndiWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-jspWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-jspc-maven-pluginWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-maven-pluginWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-monitorWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-plusWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-projectWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-proxyWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-rewriteWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-runnerWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-securityWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-serverWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-servletWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-servletsWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-startWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-utilWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-util-ajaxWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-webappWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-websocket-apiWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-websocket-clientWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-websocket-commonWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-websocket-parentWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-websocket-serverWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-websocket-servletWill not fix
Out of support scope
Red Hat Enterprise Linux 7jetty-xmlWill not fix
Out of support scope
Maven libraryorg.eclipse.jetty.ee10:jetty-ee10-servletsFixed12.0.0-beta2GHSA-3gh6-v5v9-6v9j
Maven libraryorg.eclipse.jetty.ee8:jetty-ee8-servletsFixed12.0.0-beta2GHSA-3gh6-v5v9-6v9j
Maven libraryorg.eclipse.jetty.ee9:jetty-ee9-servletsFixed12.0.0-beta2GHSA-3gh6-v5v9-6v9j
Maven libraryorg.eclipse.jetty:jetty-servletsFixed9.4.52GHSA-3gh6-v5v9-6v9j

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.