Improper Neutralization Affecting jetty-client package, versions <0:9.0.3-8.amzn2.0.2


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.22% (61st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2-JETTYCLIENT-6149303
  • published10 Jan 2024
  • disclosed15 Sept 2023

Introduced: 15 Sep 2023

CVE-2023-36479  (opens in a new tab)
CWE-149  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 jetty-client to version 0:9.0.3-8.amzn2.0.2 or higher.
This issue was patched in ALAS2-2024-2394.

NVD Description

Note: Versions mentioned in the description apply only to the upstream jetty-client package and not the jetty-client package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

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.

CVSS Scores

version 3.1