Name | CVE-2023-36479 |
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.
|
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3592-1, DSA-5507-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
jetty8 (PTS) | jessie, jessie (lts) | 8.1.16-4+deb8u1 | vulnerable |
jetty9 (PTS) | stretch (security), stretch (lts), stretch | 9.2.30-0+deb9u2 | vulnerable |
| buster (security), buster, buster (lts) | 9.4.50-4+deb10u2 | fixed |
| bullseye (security), bullseye | 9.4.50-4+deb11u2 | fixed |
| bookworm (security), bookworm | 9.4.50-4+deb12u3 | fixed |
| sid, trixie | 9.4.56-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
https://github.com/eclipse/jetty.project/security/advisories/GHSA-3gh6-v5v9-6v9j
https://github.com/eclipse/jetty.project/pull/9888
Jetty 9.x, 10.x, and 11.x the org.eclipse.jetty.servlets.CGI has been deprecated
and in Jetty 12 entirely removed.
[jessie] - jetty8 <postponed> (Minor issue)
[stretch] - jetty9 <ignored> (Minor issue, Fast CGI is available)