CWE
149
Advisory Published
CVE Published
Updated

CVE-2023-36479: Jetty vulnerable to errant command quoting in CGI Servlet

First published: Thu Sep 14 2023(Updated: )

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.

Credit: security-advisories@github.com security-advisories@github.com security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
maven/org.eclipse.jetty.ee8:jetty-ee8-servlets<=12.0.0-beta1
12.0.0-beta2
maven/org.eclipse.jetty.ee9:jetty-ee9-servlets<=12.0.0-beta1
12.0.0-beta2
maven/org.eclipse.jetty.ee10:jetty-ee10-servlets<=12.0.0-beta1
12.0.0-beta2
maven/org.eclipse.jetty:jetty-servlets>=11.0.0<=11.0.15
11.0.16
maven/org.eclipse.jetty:jetty-servlets>=10.0.0<=10.0.15
10.0.16
maven/org.eclipse.jetty:jetty-servlets>=9.0.0<=9.4.51
9.4.52
Eclipse Jetty>=9.0.0<9.4.52
Eclipse Jetty>=10.0.0<10.0.16
Eclipse Jetty>=11.0.0<11.0.16
Eclipse Jetty=12.0.0-alpha1
Eclipse Jetty=12.0.0-alpha2
Eclipse Jetty=12.0.0-alpha3
Eclipse Jetty=12.0.0-beta0
Eclipse Jetty=12.0.0-beta1
Debian Debian Linux=10.0
Debian Debian Linux=11.0
Debian Debian Linux=12.0
debian/jetty9<=9.4.16-0+deb10u1
9.4.50-4+deb10u1
9.4.39-3+deb11u2
9.4.50-4+deb11u1
9.4.50-4+deb12u2
9.4.53-1
redhat/jetty<12.0.0
12.0.0
redhat/jetty<9.4.52
9.4.52
redhat/jetty<10.0.16
10.0.16
redhat/jetty<11.0.16
11.0.16
IBM Cognos Analytics<=12.0.0-12.0.3
IBM Cognos Analytics<=11.2.0-11.2.4 FP3

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2023-36479?

    CVE-2023-36479 is a vulnerability in Eclipse Jetty that allows remote attackers to execute arbitrary commands via a specially crafted request.

  • What is the severity of CVE-2023-36479?

    The severity of CVE-2023-36479 is medium, with a CVSS score of 4.3.

  • Which versions of Eclipse Jetty are affected by CVE-2023-36479?

    Eclipse Jetty versions 9.0.0 to 9.4.51, 10.0.0 to 10.0.15, and 11.0.0 to 11.0.15 are affected by CVE-2023-36479.

  • How can I fix CVE-2023-36479?

    To fix CVE-2023-36479, upgrade to Jetty version 9.4.52, 10.0.16, or 11.0.16.

  • Where can I find more information about CVE-2023-36479?

    You can find more information about CVE-2023-36479 in the following references: [Link 1](https://github.com/eclipse/jetty.project/pull/9516), [Link 2](https://github.com/eclipse/jetty.project/pull/9888), [Link 3](https://github.com/eclipse/jetty.project/pull/9889).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203