Vulnerability · Published Feb 27, 2024 · Assigned by GitHub_M
CVE-2024-26144Possible Sensitive Session Information Leak in Active Storage
Medium 5.3
In plain English
A medium-severity information exposure in rails from rails. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 70% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | rails | 2:6.1.7.10+dfsg-1~deb12u1 | DSA-5881-1 |
| Debian:12 | rails | 2:6.1.7.10+dfsg-1~deb12u1 | DEBIAN-CVE-2024-26144 |
| Debian:13 | rails | 2:7.2.2.1+dfsg-1 | DEBIAN-CVE-2024-26144 |
| Debian:14 | rails | 2:7.2.2.1+dfsg-1 | DEBIAN-CVE-2024-26144 |
| RubyGems | activestorage | 6.1.7.7 | GHSA-8h22-8cf7-hq6g |
| RubyGems | activestorage | 7.0.8.1 | GHSA-8h22-8cf7-hq6g |
| Ubuntu:24.04:LTS | rails | no fix listed | UBUNTU-CVE-2024-26144 |
| Ubuntu:25.10 | rails | no fix listed | UBUNTU-CVE-2024-26144 |
| Ubuntu:26.04:LTS | rails | no fix listed | UBUNTU-CVE-2024-26144 |
| Ubuntu:26.10 | rails | no fix listed | UBUNTU-CVE-2024-26144 |
Affected products (as reported)
Weakness: CWE-200 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
References
- https://github.com/rails/rails/security/advisories/GHSA-8h22-8cf7-hq6g x_refsource_CONFIRM
- https://github.com/rails/rails/commit/723f54566023e91060a67b03353e7c03e7436433 x_refsource_MISC
- https://github.com/rails/rails/commit/78fe149509fac5b05e54187aaaef216fbb5fd0d3 x_refsource_MISC
- https://discuss.rubyonrails.org/t/possible-sensitive-session-information-leak-in-active-storage/84945 x_refsource_MISC
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activestorage/CVE-2024-26144.yml x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20240510-0013/