{"id":"CVE-2023-36479","state":"PUBLISHED","title":"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.","publishedAt":"2023-09-15T18:37:35.948Z","updatedAt":"2025-06-18T14:41:11.113Z","severity":{"score":3.5,"label":"Low","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["eclipse jetty.project"],"affected":[{"vendor":"eclipse","product":"jetty.project","versions":[{"version":">= 9.0.0, <= 9.4.51","status":"affected"},{"version":">= 10.0.0, <= 10.0.15","status":"affected"},{"version":">= 11.0.0, <= 11.0.15","status":"affected"},{"version":"<= 12.0.0-beta1","status":"affected"}]}],"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"],"weaknesses":["CWE-149"],"ingestedAt":"2026-10-29T20:06:08.715Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/36xxx/CVE-2023-36479.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-36479","state":"PUBLISHED","datePublished":"2023-09-15T18:37:35.948Z","dateUpdated":"2025-06-18T14:41:11.113Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-06-21T18:50:41.704Z"},"containers":{"cna":{"title":"Jetty vulnerable to errant command quoting in CGI Servlet","descriptions":[{"lang":"en","value":"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":[{"vendor":"eclipse","product":"jetty.project","versions":[{"version":">= 9.0.0, <= 9.4.51","status":"affected"},{"version":">= 10.0.0, <= 10.0.15","status":"affected"},{"version":">= 11.0.0, <= 11.0.15","status":"affected"},{"version":"<= 12.0.0-beta1","status":"affected"}]}],"references":[{"url":"https://github.com/eclipse/jetty.project/security/advisories/GHSA-3gh6-v5v9-6v9j","name":"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","name":"https://github.com/eclipse/jetty.project/pull/9516","tags":["x_refsource_MISC"]},{"url":"https://github.com/eclipse/jetty.project/pull/9888","name":"https://github.com/eclipse/jetty.project/pull/9888","tags":["x_refsource_MISC"]},{"url":"https://github.com/eclipse/jetty.project/pull/9889","name":"https://github.com/eclipse/jetty.project/pull/9889","tags":["x_refsource_MISC"]},{"url":"https://www.debian.org/security/2023/dsa-5507"},{"url":"https://lists.debian.org/debian-lts-announce/2023/09/msg00039.html"}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":3.5,"baseSeverity":"LOW","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-149","lang":"en","description":"CWE-149: Improper Neutralization of Quoting Syntax","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-09-30T14:06:17.561Z"},"source":{"advisory":"GHSA-3gh6-v5v9-6v9j","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/eclipse/jetty.project/security/advisories/GHSA-3gh6-v5v9-6v9j","name":"https://github.com/eclipse/jetty.project/security/advisories/GHSA-3gh6-v5v9-6v9j","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/eclipse/jetty.project/pull/9516","name":"https://github.com/eclipse/jetty.project/pull/9516","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/eclipse/jetty.project/pull/9888","name":"https://github.com/eclipse/jetty.project/pull/9888","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/eclipse/jetty.project/pull/9889","name":"https://github.com/eclipse/jetty.project/pull/9889","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.debian.org/security/2023/dsa-5507","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/09/msg00039.html","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T16:45:57.116Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-09-25T15:04:27.724025Z","id":"CVE-2023-36479","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-06-18T14:41:11.113Z"}}]}}}