CVE-2024-26144Possible Sensitive Session Information Leak in Active Storage
Rails is a web-application framework. Starting with version 5.2.0, there is a possible sensitive session information leak in Active Storage. By default, Active Storage sends a Set-Cookie header along with the user's session cookie when serving blobs. It also sets Cache-Control to public. Certain proxies may cache the Set-Cookie, leading to an information leak. The vulnerability is fixed in 7.0.8.1 and 6.1.7.7.
What to do
Fixed builds are available from Debian, 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-2024-26144 | |
| Ubuntu 26.04 | rails | Under investigation | UBUNTU-CVE-2024-26144 | |
| 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-2024-26144 | |
| Ubuntu 24.04 | rails | Under investigation | UBUNTU-CVE-2024-26144 | |
| Ubuntu 22.04 | rails | Fix pending | UBUNTU-CVE-2024-26144 | |
| Ubuntu 20.04 | rails | Fix pending | UBUNTU-CVE-2024-26144 | |
| Ubuntu 18.04 | rails | Fix pending | UBUNTU-CVE-2024-26144 | |
| 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-2024-26144 | |
| 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:7.2.2.1+dfsg-1 | DEBIAN-CVE-2024-26144 |
| Debian 13 | rails | Fixed | 2:7.2.2.1+dfsg-1 | DEBIAN-CVE-2024-26144 |
| Debian 12 | rails | Fixed | 2:6.1.7.10+dfsg-1~deb12u1 | DEBIAN-CVE-2024-26144 |
| RubyGems library | activestorage | Fixed | 7.0.8.1 | GHSA-8h22-8cf7-hq6g |
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: >= 5.2.0, < 6.1.7.7, >= 7.0.0, < 7.0.8.1
References
- https://github.com/rails/rails/security/advisories/GHSA-8h22-8cf7-hq6g
- https://github.com/rails/rails/commit/723f54566023e91060a67b03353e7c03e7436433
- https://github.com/rails/rails/commit/78fe149509fac5b05e54187aaaef216fbb5fd0d3
- https://discuss.rubyonrails.org/t/possible-sensitive-session-information-leak-in-active-storage/84945
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activestorage/CVE-2024-26144.yml
- https://security.netapp.com/advisory/ntap-20240510-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.