{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-36479","id":"CVE-2023-36479","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 opti","descriptionLong":"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.","published":"2023-09-15T18:37:35.948Z","updated":"2026-10-28T02:30:23.089288402Z","reserved":"2023-06-21T18:50:41.704Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":3.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:N","rating":"low","source":"GitHub_M"},"metrics":[{"version":"3.1","score":3.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:N","rating":"low","source":"GitHub_M"},{"version":"3.1","score":3.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:N","rating":"low","source":"github.com"},{"version":"3.1","score":3.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"low","source":"NVD"},{"version":"3.1","score":3.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:N","rating":"low","source":"OSV"},{"version":"3.1","score":3.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:N","rating":"low","source":"GitHub"}],"rating":"low","products":["eclipse jetty.project"],"affectedProducts":[{"vendor":"eclipse","product":"jetty.project","defaultStatus":null,"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"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.eclipse.jetty:jetty-servlets","purl":"pkg:maven/org.eclipse.jetty/jetty-servlets","ranges":[">=9.0.0 <9.4.52",">=10.0.0 <10.0.16",">=11.0.0 <11.0.16"],"fixed":["9.4.52","10.0.16","11.0.16"],"advisory":"GHSA-3gh6-v5v9-6v9j"},{"ecosystem":"Maven","name":"org.eclipse.jetty.ee10:jetty-ee10-servlets","purl":"pkg:maven/org.eclipse.jetty.ee10/jetty-ee10-servlets","ranges":["<12.0.0-beta2"],"fixed":["12.0.0-beta2"],"advisory":"GHSA-3gh6-v5v9-6v9j"},{"ecosystem":"Maven","name":"org.eclipse.jetty.ee9:jetty-ee9-servlets","purl":"pkg:maven/org.eclipse.jetty.ee9/jetty-ee9-servlets","ranges":["<12.0.0-beta2"],"fixed":["12.0.0-beta2"],"advisory":"GHSA-3gh6-v5v9-6v9j"},{"ecosystem":"Maven","name":"org.eclipse.jetty.ee8:jetty-ee8-servlets","purl":"pkg:maven/org.eclipse.jetty.ee8/jetty-ee8-servlets","ranges":["<12.0.0-beta2"],"fixed":["12.0.0-beta2"],"advisory":"GHSA-3gh6-v5v9-6v9j"}],"cwes":["CWE-149"],"aliases":["GHSA-3gh6-v5v9-6v9j"],"references":[{"url":"https://github.com/eclipse/jetty.project/security/advisories/GHSA-3gh6-v5v9-6v9j","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Patch","Vendor Advisory","advisory","web"]},{"url":"https://github.com/eclipse/jetty.project/pull/9516","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://github.com/eclipse/jetty.project/pull/9888","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://github.com/eclipse/jetty.project/pull/9889","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://www.debian.org/security/2023/dsa-5507","tags":["x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/09/msg00039.html","tags":["x_transferred","Mailing List","Third Party Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/36xxx/CVE-2023-36479.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-36479","tags":["advisory"]},{"url":"https://github.com/eclipse/jetty.project","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.01162,"epssPercentile":0.67874,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-36479","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-36479","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-36479","ok":true,"note":"4 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-3gh6-v5v9-6v9j","ok":true,"note":"GHSA-3gh6-v5v9-6v9j"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-36479","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}