CVE-2023-36479
Jetty vulnerable to errant command quoting in CGI Servlet
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.
How to fix CVE-2023-36479
To remediate CVE-2023-36479, upgrade the affected package to a fixed version below.
- —upgrade to 9.4.39-3+deb11u2 or later
- —upgrade to 12.0.0-beta2 or later
- —upgrade to 12.0.0-beta2 or later
- —upgrade to 12.0.0-beta2 or later
- —upgrade to 9.4.52 or later
Is CVE-2023-36479 being exploited?
Low — EPSS is 1.4%, meaning exploitation activity has not been observed at scale.
Affected packages (5)
- from 0, < 9.4.39-3+deb11u2
- from 0, < 12.0.0-beta2
- from 0, < 12.0.0-beta2
- from 0, < 12.0.0-beta2
- >= 9.0.0, < 9.4.52
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | LOW3.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:N |