CVE-2023-36479
Jetty vulnerable to errant command quoting in CGI Servlet
Also known as GHSA-3gh6-v5v9-6v9j
Mitigation
- Upgrade org.eclipse.jetty:jetty-servlets to one of 9.4.52, 10.0.16, 11.0.16 (or later in the same release line).
- Upgrade org.eclipse.jetty.ee10:jetty-ee10-servlets to 12.0.0-beta2 or later.
- Upgrade org.eclipse.jetty.ee9:jetty-ee9-servlets to 12.0.0-beta2 or later.
- Upgrade org.eclipse.jetty.ee8:jetty-ee8-servlets to 12.0.0-beta2 or later.
Who should check
- Projects that depend on Maven package org.eclipse.jetty:jetty-servlets (>= 9.0.0, < 9.4.52)
- Projects that depend on Maven package org.eclipse.jetty.ee10:jetty-ee10-servlets (< 12.0.0-beta2)
- Projects that depend on Maven package org.eclipse.jetty.ee9:jetty-ee9-servlets (< 12.0.0-beta2)
- Projects that depend on Maven package org.eclipse.jetty.ee8:jetty-ee8-servlets (< 12.0.0-beta2)
- Anyone running 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
Vulnerability facts
- Affected
- org.eclipse.jetty:jetty-servlets >= 9.0.0, < 9.4.52; org.eclipse.jetty.ee10:jetty-ee10-servlets < 12.0.0-beta2; org.eclipse.jetty.ee9:jetty-ee9-servlets < 12.0.0-beta2; org.eclipse.jetty.ee8:jetty-ee8-servlets < 12.0.0-beta2
- Fixed in
- 9.4.52, 10.0.16, 11.0.16, 12.0.0-beta2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 3.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: None
- Integrity impact: Low
- Availability impact: None
- EPSS
- 1.05% chance of exploitation in 30 days (percentile 64, 2026-11-26)
- CWE
- CWE-149
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.eclipse.jetty:jetty-servlets | >= 9.0.0, < 9.4.52 | 9.4.52, 10.0.16, 11.0.16 | osv |
| Maven org.eclipse.jetty.ee10:jetty-ee10-servlets | < 12.0.0-beta2 | 12.0.0-beta2 | osv |
| Maven org.eclipse.jetty.ee9:jetty-ee9-servlets | < 12.0.0-beta2 | 12.0.0-beta2 | osv |
| Maven org.eclipse.jetty.ee8:jetty-ee8-servlets | < 12.0.0-beta2 | 12.0.0-beta2 | osv |
| 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 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-36479. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-36479.md Affected: org.eclipse.jetty:jetty-servlets >= 9.0.0, < 9.4.52; org.eclipse.jetty.ee10:jetty-ee10-servlets < 12.0.0-beta2; org.eclipse.jetty.ee9:jetty-ee9-servlets < 12.0.0-beta2; org.eclipse.jetty.ee8:jetty-ee8-servlets < 12.0.0-beta2 Fixed in: 9.4.52, 10.0.16, 11.0.16, 12.0.0-beta2 Steps: 1. Search this machine and project for org.eclipse.jetty:jetty-servlets (Maven), org.eclipse.jetty.ee10:jetty-ee10-servlets (Maven), org.eclipse.jetty.ee9:jetty-ee9-servlets (Maven), org.eclipse.jetty.ee8:jetty-ee8-servlets (Maven), eclipse jetty.project: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
FAQ
Is CVE-2023-36479 being exploited?
There is no confirmed exploitation: CVE-2023-36479 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.05% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-36479?
Low: CVSS 3.5 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2023-36479?
org.eclipse.jetty:jetty-servlets >= 9.0.0, < 9.4.52; org.eclipse.jetty.ee10:jetty-ee10-servlets < 12.0.0-beta2; org.eclipse.jetty.ee9:jetty-ee9-servlets < 12.0.0-beta2; org.eclipse.jetty.ee8:jetty-ee8-servlets < 12.0.0-beta2.
Is there a fix for CVE-2023-36479?
Yes. Fixed in 9.4.52, 10.0.16, 11.0.16, 12.0.0-beta2. Upgrade org.eclipse.jetty:jetty-servlets to one of 9.4.52, 10.0.16, 11.0.16 (or later in the same release line). Upgrade org.eclipse.jetty.ee10:jetty-ee10-servlets to 12.0.0-beta2 or later. Upgrade org.eclipse.jetty.ee9:jetty-ee9-servlets to 12.0.0-beta2 or later. Upgrade org.eclipse.jetty.ee8:jetty-ee8-servlets to 12.0.0-beta2 or later.
How do I check if I'm affected by CVE-2023-36479?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.