Description
The actionpack ruby gem before 6.1.3.2, 6.0.3.7, 5.2.4.6, 5.2.6 suffers from a possible denial of service vulnerability in the Token Authentication logic in Action Controller due to a too permissive regular expression. Impacted code uses `authenticate_or_request_with_http_token` or `authenticate_with_http_token` for request authentication.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | https://github.com/rails/rails | Fixed in 6.1.3.2, 6.0.3.7, 5.2.4.6, 5.2.6 | — |
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 | rails | 2:6.0.3.7+dfsg-1 | — |
| Debian 13 | rails | 2:6.0.3.7+dfsg-1 | — |
| Debian 12 | rails | 2:6.0.3.7+dfsg-1 | — |
| Debian 10 | rails | 2:5.2.2.1+dfsg-1+deb10u3 | DSA-4929-1 |
| Debian 9 | rails | 2:4.2.7.1-1+deb9u5 | DLA-2655-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | rails | No fix yet | — |
| Ubuntu 26.04 LTS | rails | No fix yet | — |
| Ubuntu 25.10 | rails | No fix yet | — |
| Ubuntu 24.04 LTS | rails | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | rails | No fix yet | — |
| Ubuntu Pro 20.04 LTS | rails | No fix yet | — |
| Ubuntu Pro 18.04 LTS | rails | No fix yet | — |
| Ubuntu Pro 16.04 LTS | rails | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Satellite Capsule 6 | foreman | 2.5.2.17-2.el7sat | RHSA-2021:4702 |
| Red Hat Satellite Capsule 6 | python-aiohttp | 3.7.4-1.el7pc | RHSA-2021:4702 |
| Red Hat Satellite Capsule 6 | python-ecdsa +1 | 0.13.3-2.el7pc | RHSA-2021:4702 |
| Red Hat Satellite Capsule 6 | python-pyyaml +1 | 5.4.1-1.el7pc | RHSA-2021:4702 |
| Red Hat Satellite Capsule 6 | python-urllib3 +1 | 1.26.5-1.el7pc | RHSA-2021:4702 |
| Red Hat Satellite Capsule 6 | python3-django | 2.2.24-1.el7pc | RHSA-2021:4702 |
| Red Hat Satellite Capsule 6 | satellite +1 | 6.10.0-3.el7sat | RHSA-2021:4702 |
| Red Hat Satellite Capsule 6 | tfm-rubygem-nokogiri | 1.11.3-2.el7sat | RHSA-2021:4702 |
| Red Hat Satellite 6 | candlepin | 4.0.9-1.el7sat | RHSA-2021:4702 |
| Red Hat Satellite 6 | foreman | 2.5.2.17-2.el7sat | RHSA-2021:4702 |
| Red Hat Satellite 6 | python-aiohttp | 3.7.4-1.el7pc | RHSA-2021:4702 |
| Red Hat Satellite 6 | python-ecdsa +1 | 0.13.3-2.el7pc | RHSA-2021:4702 |
| Red Hat Satellite 6 | python-pyyaml +1 | 5.4.1-1.el7pc | RHSA-2021:4702 |
| Red Hat Satellite 6 | python-urllib3 +1 | 1.26.5-1.el7pc | RHSA-2021:4702 |
| Red Hat Satellite 6 | python3-django | 2.2.24-1.el7pc | RHSA-2021:4702 |
| Red Hat Satellite 6 | satellite | 6.10.0-3.el7sat | RHSA-2021:4702 |
| Red Hat Satellite 6 | tfm-rubygem-activerecord-session_store | 2.0.0-1.el7sat | RHSA-2021:4702 |
| Red Hat Satellite 6 | tfm-rubygem-addressable | 2.8.0-1.el7sat | RHSA-2021:4702 |
| Red Hat Satellite 6 | tfm-rubygem-nokogiri | 1.11.3-2.el7sat | RHSA-2021:4702 |
| Red Hat Satellite 6 | tfm-rubygem-puma | 5.3.2-1.el7sat | RHSA-2021:4702 |
| Red Hat Satellite 6 | tfm-rubygem-rails +1 | 6.0.3.7-1.el7sat | RHSA-2021:4702 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP4 | rubygem-actionpack-5_1 | 5.1.4-150000.3.12.1 | SUSE-SU-2022:2108-1 |
| SLES 15 SP4 | rubygem-activesupport-5_1 | 5.1.4-150000.3.6.1 | SUSE-SU-2022:2108-1 |
| SLES 15 SP3 | rubygem-actionpack-5_1 | 5.1.4-150000.3.12.1 | SUSE-SU-2022:2108-1 |
| SLES 15 SP3 | rubygem-activesupport-5_1 | 5.1.4-150000.3.6.1 | SUSE-SU-2022:2108-1 |
| SLES 15 SP2 | rubygem-actionpack-5_1 | 5.1.4-150000.3.12.1 | SUSE-SU-2022:2108-1 |
| SLES 15 SP2 | rubygem-activesupport-5_1 | 5.1.4-150000.3.6.1 | SUSE-SU-2022:2108-1 |
| SLES 15 SP1 | rubygem-actionpack-5_1 | 5.1.4-150000.3.12.1 | SUSE-SU-2022:2108-1 |
| SLES 15 SP1 | rubygem-activesupport-5_1 | 5.1.4-150000.3.6.1 | SUSE-SU-2022:2108-1 |
| SLES 15 | rubygem-actionpack-5_1 | 5.1.4-150000.3.12.1 | SUSE-SU-2022:2108-1 |
| SLES 15 | rubygem-activesupport-5_1 | 5.1.4-150000.3.6.1 | SUSE-SU-2022:2108-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | rubygem-actionpack-6.0 | 6.0.4.4-1.1 | openSUSE-SU-2024:11821-1 |
| openSUSE Leap 15.4 | rubygem-actionpack-5_1 | 5.1.4-150000.3.12.1 | SUSE-SU-2022:2108-1 |
| openSUSE Leap 15.4 | rubygem-activesupport-5_1 | 5.1.4-150000.3.6.1 | SUSE-SU-2022:2108-1 |
| openSUSE Leap 15.3 | rubygem-actionpack-5_1 | 5.1.4-150000.3.12.1 | SUSE-SU-2022:2108-1 |
| openSUSE Leap 15.3 | rubygem-activesupport-5_1 | 5.1.4-150000.3.6.1 | SUSE-SU-2022:2108-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| RubyGems | actionpack | >= 6.0.0, < 6.0.3.7 | 6.0.3.7 | GHSA-7wjx-3g7j-8584 |
| RubyGems | actionpack | >= 6.1.0, < 6.1.3.2 | 6.1.3.2 | GHSA-7wjx-3g7j-8584 |
| RubyGems | actionpack | >= 5.2.5, < 5.2.6 | 5.2.6 | GHSA-7wjx-3g7j-8584 |
| RubyGems | actionpack | >= 4.0.0, < 5.2.4.6 | 5.2.4.6 | GHSA-7wjx-3g7j-8584 |
Advisories 6
- RHSA-2021:4702 Red Hat Security Advisory: Satellite 6.10 Release Red Hat Security Advisories (RHSA) · Oct 13, 2026
- DSA-4929-1 rails - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2655-1 rails - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:11821-1 ruby3.1-rubygem-actionpack-6.0-6.0.4.4-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:2108-1 Security update for rubygem-actionpack-5_1, rubygem-activesupport-5_1 SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2022-0341 Ruby on Rails: Mehrere Schwachstellen BSI CERT-Bund (WID) · Dec 8, 2022