CVE-2022-23633Exposure of sensitive information in Action Pack
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.
What to do
Fixed builds are available from Debian, Rocky Linux, RubyGems: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | rails | Fix pending | UBUNTU-CVE-2022-23633 | |
| Ubuntu 26.04 | rails | Under investigation | UBUNTU-CVE-2022-23633 | |
| Ubuntu 25.10 | rails | Will not fix In Oneiric-Saucy, rails package is just for transition; The rails package contains actual code from vivid onward | UBUNTU-CVE-2022-23633 | |
| Ubuntu 24.04 | rails | Under investigation | UBUNTU-CVE-2022-23633 | |
| Ubuntu 22.04 | rails | Fix pending | UBUNTU-CVE-2022-23633 | |
| Ubuntu 20.04 | rails | Fix pending | UBUNTU-CVE-2022-23633 | |
| Ubuntu 18.04 | rails | Fix pending | UBUNTU-CVE-2022-23633 | |
| Ubuntu 16.04 | rails | Will not fix In Oneiric-Saucy, rails package is just for transition; The rails package contains actual code from vivid onward | UBUNTU-CVE-2022-23633 | |
| Ubuntu 14.04 | rails | Will not fix In Oneiric-Saucy, rails package is just for transition; The rails package contains actual code from vivid onward | ||
| Ubuntu 14.04 | rails-4.0 | Will not fix In Oneiric-Saucy, rails package is just for transition; The rails package contains actual code from vivid onward | ||
| Ubuntu 14.04 | ruby-actionpack-3.2 | Will not fix In Oneiric-Saucy, rails package is just for transition; The rails package contains actual code from vivid onward | ||
| Ubuntu 14.04 | ruby-activemodel-3.2 | Will not fix In Oneiric-Saucy, rails package is just for transition; The rails package contains actual code from vivid onward | ||
| Ubuntu 14.04 | ruby-activerecord-3.2 | Will not fix In Oneiric-Saucy, rails package is just for transition; The rails package contains actual code from vivid onward | ||
| Ubuntu 14.04 | ruby-activesupport-3.2 | Will not fix In Oneiric-Saucy, rails package is just for transition; The rails package contains actual code from vivid onward | ||
| Ubuntu 14.04 | ruby-rails-3.2 | Will not fix In Oneiric-Saucy, rails package is just for transition; The rails package contains actual code from vivid onward | ||
| Debian 14 | rails | Fixed | 2:6.1.4.6+dfsg-1 | DEBIAN-CVE-2022-23633 |
| Debian 13 | rails | Fixed | 2:6.1.4.6+dfsg-1 | DEBIAN-CVE-2022-23633 |
| Debian 12 | rails | Fixed | 2:6.1.4.6+dfsg-1 | DEBIAN-CVE-2022-23633 |
| Rocky Linux 8 | libdb | Fixed | 0:5.3.28-42.el8_4 | RLSA-2022:5498 |
| RubyGems library | actionpack | Fixed | 6.0.4.6 | GHSA-wh98-p28r-vrc9 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- rails: affected: >= 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
Vendor advisories:
- https://www.debian.org/security/2023/dsa-5372 (vendor-advisory)
References
- https://github.com/rails/rails/security/advisories/GHSA-wh98-p28r-vrc9
- https://github.com/rails/rails/commit/f9a2ad03943d5c2ba54e1d45f155442b519c75da
- http://www.openwall.com/lists/oss-security/2022/02/11/5
- https://lists.debian.org/debian-lts-announce/2022/09/msg00002.html
- https://www.debian.org/security/2023/dsa-5372
- https://security.netapp.com/advisory/ntap-20240119-0013/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.