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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | jetty | No fix yet | — |
| Ubuntu 14.04 LTS | jetty | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | jetty-io +35 | 9.0.3-8.amzn2.0.2 | ALAS2-2024-2394 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | cassandra-reaper | 4.0.1-r1 | — |
| Wolfi rolling | cloudwatch-exporter | 0.15.4-r3 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| 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
- RHSA-2024:0797 Red Hat Security Advisory: Satellite 6.14.2 Async Security Update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2024:2010 Red Hat Security Advisory: Satellite 6.15.0 release Red Hat Security Advisories (RHSA) · Oct 13, 2026
- WID-SEC-2024-0794 Dell ECS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 11, 2026
- WID-SEC-2023-2359 Eclipse Jetty: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 5, 2026
- DSA-5507-1 jetty9 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3592-1 jetty9 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2023:4210-1 Security update for jetty-minimal SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2024-0949 Red Hat Satellite: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 26, 2026
- ALAS2-2024-2394 Moderate: jetty security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jan 9, 2024
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