{"id":"CVE-2023-36479","published":"2023-09-15T18:37:35Z","modified":"2025-06-18T14:41:11Z","title":"Jetty vulnerable to errant command quoting in CGI Servlet","vendor":"eclipse","product":"jetty.project","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.5,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01055,"percentile":0.63775,"provenance":"source"},"cwes":[{"id":"CWE-149","name":"Improper Neutralization of Quoting Syntax"}],"references":[{"url":"https://github.com/eclipse/jetty.project/security/advisories/GHSA-3gh6-v5v9-6v9j","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/eclipse/jetty.project/pull/9516","tags":["x_refsource_MISC"]},{"url":"https://github.com/eclipse/jetty.project/pull/9888","tags":["x_refsource_MISC"]},{"url":"https://github.com/eclipse/jetty.project/pull/9889","tags":["x_refsource_MISC"]},{"url":"https://www.debian.org/security/2023/dsa-5507","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2023/09/msg00039.html","tags":[]}],"priority":{"score":15.2,"factors":[{"name":"EPSS percentile","points":12.76},{"name":"CVSS severity","points":2.45}]},"vendorSlug":"eclipse","affectedVersions":[{"vendor":"eclipse","product":"jetty.project","versions":[">= 9.0.0, <= 9.4.51",">= 10.0.0, <= 10.0.15",">= 11.0.0, <= 11.0.15","<= 12.0.0-beta1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-25T15:04:27.724025Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.eclipse.jetty:jetty-servlets","vulnerableRanges":[">=9.0.0, <9.4.52",">=10.0.0, <10.0.16",">=11.0.0, <11.0.16"],"patched":["9.4.52","10.0.16","11.0.16"],"from":["GHSA-3gh6-v5v9-6v9j"],"provenance":"source"},{"ecosystem":"Maven","package":"org.eclipse.jetty.ee10:jetty-ee10-servlets","vulnerableRanges":["<12.0.0-beta2"],"patched":["12.0.0-beta2"],"from":["GHSA-3gh6-v5v9-6v9j"],"provenance":"source"},{"ecosystem":"Maven","package":"org.eclipse.jetty.ee9:jetty-ee9-servlets","vulnerableRanges":["<12.0.0-beta2"],"patched":["12.0.0-beta2"],"from":["GHSA-3gh6-v5v9-6v9j"],"provenance":"source"},{"ecosystem":"Maven","package":"org.eclipse.jetty.ee8:jetty-ee8-servlets","vulnerableRanges":["<12.0.0-beta2"],"patched":["12.0.0-beta2"],"from":["GHSA-3gh6-v5v9-6v9j"],"provenance":"source"}],"summary":{"text":"Jetty's CgiServlet (org.eclipse.jetty.servlets.CGI, part of the eclipse jetty.project canonical repository) mishandles quoting when building the command it runs for binaries with spaces in their names, so a crafted binary name containing a quotation mark followed by a space can split the command line into multiple tokens instead of one. An attacker with network access and low privileges can send a request to the servlet with such a binary name to cause an unintended command to be executed, with the attack complexity being high and the impact limited to integrity.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:32:10Z"},"euvd":{"id":"EUVD-2023-2405","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-28169","published":"2021-06-09","fixed":"11.0.3","kev":false},{"cve":"CVE-2023-36479","published":"2023-09-15","fixed":"11.0.16","kev":false},{"cve":"CVE-2024-9823","published":"2024-10-14","fixed":"11.0.18","kev":false,"link":{"from":"CVE-2023-36479","to":"CVE-2024-9823","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.eclipse.jetty:jetty-servlets","fromFixed":"9.4.52","toFixed":"9.4.54","daysApart":395},{"kind":"version-step","provenance":"source","package":"Maven:org.eclipse.jetty:jetty-servlets","fromFixed":"10.0.16","toFixed":"10.0.18","daysApart":395}]}},{"cve":"CVE-2024-6762","published":"2024-10-14","fixed":"12.0.4","kev":false,"link":{"from":"CVE-2023-36479","to":"CVE-2024-6762","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.eclipse.jetty:jetty-servlets","fromFixed":"10.0.16","toFixed":"10.0.18","daysApart":395},{"kind":"version-step","provenance":"source","package":"Maven:org.eclipse.jetty:jetty-servlets","fromFixed":"11.0.16","toFixed":"11.0.18","daysApart":395}]}}],"package":"Maven:org.eclipse.jetty:jetty-servlets"}}