Description
Action Pack is a framework for handling and responding to web requests. Under certain circumstances response bodies will not be closed. In the event a response is *not* notified of a `close`, `ActionDispatch::Executor` will not know to reset thread local state for the next request. This can lead to data being leaked to subsequent requests.This has been fixed in Rails 7.0.2.1, 6.1.4.5, 6.0.4.5, and 5.2.6.1. Upgrading is highly recommended, but to work around this problem a middleware described in GHSA-wh98-p28r-vrc9 can be used.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| rails | rails | >= 7.0.0.0, < 7.0.2.1, >= 6.1.0.0, < 6.1.4.5, >= 6.0.0.0, < 6.0.4.5, >= 5.0.0, < 5.2.6.1 | — |
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.1.4.6+dfsg-1 | — |
| Debian 13 | rails | 2:6.1.4.6+dfsg-1 | — |
| Debian 12 | rails | 2:6.1.4.6+dfsg-1 | — |
| Debian 11 | rails | 2:6.0.3.7+dfsg-2+deb11u1 | DSA-5372-1 |
| Debian 10 | rails | 2:5.2.2.1+dfsg-1+deb10u4 | DLA-3093-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 Utils 6 | foreman | 3.1.1.21-2.el7sat | RHSA-2022:5498 |
| Red Hat Satellite Utils 6 | satellite | 6.11.0-2.el7sat | RHSA-2022:5498 |
| Red Hat Satellite Capsule 6 | foreman | 3.1.1.21-2.el7sat | RHSA-2022:5498 |
| Red Hat Satellite Capsule 6 | libsolv | 0.7.22-1.el7pc | RHSA-2022:5498 |
| Red Hat Satellite Capsule 6 | python-django +1 | 3.2.13-1.el8pc | RHSA-2022:5498 |
| Red Hat Satellite Capsule 6 | python-lxml | 4.7.1-1.el8pc | RHSA-2022:5498 |
| Red Hat Satellite Capsule 6 | python-sqlparse | 0.4.2-2.el8pc | RHSA-2022:5498 |
| Red Hat Satellite Capsule 6 | satellite | 6.11.0-2.el7sat | RHSA-2022:5498 |
| Red Hat Satellite 6 | candlepin | 4.1.13-1.el7sat | RHSA-2022:5498 |
| Red Hat Satellite 6 | foreman | 3.1.1.21-2.el7sat | RHSA-2022:5498 |
| Red Hat Satellite 6 | libsolv | 0.7.22-1.el7pc | RHSA-2022:5498 |
| Red Hat Satellite 6 | python-django +1 | 3.2.13-1.el8pc | RHSA-2022:5498 |
| Red Hat Satellite 6 | python-lxml | 4.7.1-1.el8pc | RHSA-2022:5498 |
| Red Hat Satellite 6 | python-sqlparse | 0.4.2-2.el8pc | RHSA-2022:5498 |
| Red Hat Satellite 6 | rubygem-actionpack | 6.0.4.7-1.el8sat | RHSA-2022:5498 |
| Red Hat Satellite 6 | rubygem-puma | 5.6.2-1.el8sat | RHSA-2022:5498 |
| Red Hat Satellite 6 | rubygem-sidekiq | 5.2.10-1.el8sat | RHSA-2022:5498 |
| Red Hat Satellite 6 | satellite | 6.11.0-2.el7sat | RHSA-2022:5498 |
| Red Hat Satellite 6 | tfm-rubygem-actionpack | 6.0.4.7-1.el7sat | RHSA-2022:5498 |
| Red Hat Satellite 6 | tfm-rubygem-puma | 5.6.2-1.el7sat | RHSA-2022:5498 |
| Red Hat Satellite 6 | tfm-rubygem-sidekiq | 5.2.10-1.el7sat | RHSA-2022:5498 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | libdb | 5.3.28-42.el8_4 | RLSA-2022:5498 |
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 | ruby3.2-rubygem-actionpack-7.0 | 7.0.4.3-1.1 | openSUSE-SU-2024:12878-1 |
| openSUSE Tumbleweed | rubygem-actionpack-6.0 | 6.0.4.6-1.1 | openSUSE-SU-2024:11869-1 |
| openSUSE Tumbleweed | rubygem-actionpack-7.0 | 7.0.2.2-1.1 | openSUSE-SU-2025:15110-1, openSUSE-SU-2024:14067-1, openSUSE-SU-2024:11899-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 | >= 5.0.0.0, < 5.2.6.2 | 5.2.6.2 | GHSA-wh98-p28r-vrc9 |
| RubyGems | actionpack | >= 6.0.0.0, < 6.0.4.6 | 6.0.4.6 | GHSA-wh98-p28r-vrc9 |
| RubyGems | actionpack | >= 6.1.0.0, < 6.1.4.6 | 6.1.4.6 | GHSA-wh98-p28r-vrc9 |
| RubyGems | actionpack | >= 7.0.0.0, < 7.0.2.2 | 7.0.2.2 | GHSA-wh98-p28r-vrc9 |
Advisories 10
- RHSA-2022:5498 Red Hat Security Advisory: Satellite 6.11 Release Red Hat Security Advisories (RHSA) · Oct 13, 2026
- DSA-5372-1 rails - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3093-1 rails - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2022:5498 Moderate: Satellite 6.11 Release Rocky Linux Security Advisories · Feb 5, 2026
- openSUSE-SU-2024:11899-1 ruby3.1-rubygem-actionpack-7.0-7.0.2.2-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14067-1 ruby3.3-rubygem-actionpack-7.0-7.0.8.4-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11869-1 ruby3.1-rubygem-actionpack-6.0-6.0.4.6-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
- openSUSE-SU-2025:15110-1 ruby3.4-rubygem-actionpack-7.0-7.0.8.6-1.3 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:12878-1 ruby3.2-rubygem-actionpack-7.0-7.0.4.3-1.1 on GA media SUSE / openSUSE Security Updates · May 7, 2025
References
- https://github.com/rails/rails/security/advisories/GHSA-wh98-p28r-vrc9
- https://github.com/rails/rails/commit/f9a2ad03943d5c2ba54e1d45f155442b519c75da
- [oss-security] 20220211 [CVE-2022-23633] Possible exposure of information vulnerability in Action Pack mailing-list
- [debian-lts-announce] 20220903 [SECURITY] [DLA 3093-1] rails security update mailing-list
- DSA-5372 vendor-advisory
- https://security.netapp.com/advisory/ntap-20240119-0013/