Skip to content
OpenAdvisories

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.

Affected products

VendorProductAffectedFixed
eclipse jetty.project >= 9.0.0, <= 9.4.51, >= 10.0.0, <= 10.0.15, >= 11.0.0, <= 11.0.15, <= 12.0.0-beta1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 jetty9 9.4.52-1 —
Debian 13 jetty9 9.4.52-1 —
Debian 12 jetty9 9.4.50-4+deb12u1 DSA-5507-1
Debian 11 jetty9 9.4.39-3+deb11u2 DSA-5507-1
Debian 10 jetty9 9.4.16-0+deb10u3 DLA-3592-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS jetty No fix yet —
Ubuntu 14.04 LTS jetty No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Satellite Utils 6 foreman +1 3.9.1.6-1.el8sat RHSA-2024:2010
Red Hat Satellite Capsule 6 foreman +1 3.9.1.6-1.el8sat RHSA-2024:2010
Red Hat Satellite Capsule 6 mosquitto 2.0.17-1.el8sat RHSA-2024:0797
Red Hat Satellite Capsule 6 puppet-agent 7.27.0-1.el8sat RHSA-2024:0797
Red Hat Satellite Capsule 6 puppetserver 7.14.0-1.el8sat RHSA-2024:2010, RHSA-2024:0797
Red Hat Satellite Capsule 6 python-aiohttp +1 3.9.2-1.el8pc RHSA-2024:2010
Red Hat Satellite Capsule 6 python-django +1 4.2.9-1.el8pc RHSA-2024:2010
Red Hat Satellite Capsule 6 python-galaxy-importer +1 0.4.19-2.el8pc RHSA-2024:2010
Red Hat Satellite Capsule 6 python-jinja2 +1 3.1.3-1.el8pc RHSA-2024:2010
Red Hat Satellite Capsule 6 python-pycryptodomex +1 3.20.0-1.el8pc RHSA-2024:2010
Red Hat Satellite Capsule 6 python-pygments +1 2.17.0-1.el8pc RHSA-2024:2010
Red Hat Satellite Capsule 6 rubygem-activesupport 6.1.7.6-1.el8sat RHSA-2024:2010
Red Hat Satellite 6 candlepin +1 4.3.11-1.el8sat RHSA-2024:0797
Red Hat Satellite 6 foreman +14 3.9.1.6-1.el8sat RHSA-2024:2010
Red Hat Satellite 6 mosquitto 2.0.17-1.el8sat RHSA-2024:0797
Red Hat Satellite 6 puppet-agent 7.27.0-1.el8sat RHSA-2024:0797
Red Hat Satellite 6 puppetserver 7.14.0-1.el8sat RHSA-2024:2010, RHSA-2024:0797
Red Hat Satellite 6 python-aiohttp +1 3.9.2-1.el8pc RHSA-2024:2010
Red Hat Satellite 6 python-django +1 4.2.9-1.el8pc RHSA-2024:2010
Red Hat Satellite 6 python-galaxy-importer +1 0.4.19-2.el8pc RHSA-2024:2010
Red Hat Satellite 6 python-jinja2 +1 3.1.3-1.el8pc RHSA-2024:2010
Red Hat Satellite 6 python-pycryptodomex +1 3.20.0-1.el8pc RHSA-2024:2010
Red Hat Satellite 6 python-pygments +1 2.17.0-1.el8pc RHSA-2024:2010
Red Hat Satellite 6 rubygem-activesupport 6.1.7.6-1.el8sat RHSA-2024:2010
Red Hat Satellite 6 rubygem-audited 5.4.2-1.el8sat RHSA-2024:2010
Red Hat Satellite 6 rubygem-grpc 1.58.0-1.el8sat RHSA-2024:0797
Red Hat Satellite 6 rubygem-puma 6.3.1-1.el8sat RHSA-2024:2010, RHSA-2024:0797
Red Hat Satellite 6 rubygem-sidekiq 6.5.12-1.el8sat RHSA-2024:0797
ReleasePackageFixed inAdvisory
SLES 15 SP5 jetty-minimal 9.4.53-150200.3.22.1 SUSE-SU-2023:4210-1
SLES 15 SP4 jetty-minimal 9.4.53-150200.3.22.1 SUSE-SU-2023:4210-1
SLES 15 SP3 jetty-minimal 9.4.53-150200.3.22.1 SUSE-SU-2023:4210-1
SLES 15 SP2 jetty-minimal 9.4.53-150200.3.22.1 SUSE-SU-2023:4210-1
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP3 jetty-minimal 9.4.53-150200.3.22.1 SUSE-SU-2023:4210-1
SLES for SAP 15 SP2 jetty-minimal 9.4.53-150200.3.22.1 SUSE-SU-2023:4210-1
SLE HPC 15 SP3 jetty-minimal 9.4.53-150200.3.22.1 SUSE-SU-2023:4210-1
SLE HPC 15 SP2 jetty-minimal 9.4.53-150200.3.22.1 SUSE-SU-2023:4210-1
SUSE Enterprise Storage 7.1 jetty-minimal 9.4.53-150200.3.22.1 SUSE-SU-2023:4210-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.5 jetty-minimal 9.4.53-150200.3.22.1 SUSE-SU-2023:4210-1
openSUSE Leap 15.4 jetty-minimal 9.4.53-150200.3.22.1 SUSE-SU-2023:4210-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 jetty-io +35 9.0.3-8.amzn2.0.2 ALAS2-2024-2394

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling cassandra-reaper 4.0.1-r1 —
Wolfi rolling cloudwatch-exporter 0.15.4-r3 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.eclipse.jetty:jetty-servlets >= 9.0.0, < 9.4.52 9.4.52 GHSA-3gh6-v5v9-6v9j
Maven org.eclipse.jetty:jetty-servlets >= 10.0.0, < 10.0.16 10.0.16 GHSA-3gh6-v5v9-6v9j
Maven org.eclipse.jetty:jetty-servlets >= 11.0.0, < 11.0.16 11.0.16 GHSA-3gh6-v5v9-6v9j
Maven org.eclipse.jetty.ee10:jetty-ee10-servlets < 12.0.0-beta2 12.0.0-beta2 GHSA-3gh6-v5v9-6v9j
Maven org.eclipse.jetty.ee8:jetty-ee8-servlets < 12.0.0-beta2 12.0.0-beta2 GHSA-3gh6-v5v9-6v9j
Maven org.eclipse.jetty.ee9:jetty-ee9-servlets < 12.0.0-beta2 12.0.0-beta2 GHSA-3gh6-v5v9-6v9j

Advisories 9

References