CVE-2024-26144
published medium CVSS 3.1 · 5.3Possible Sensitive Session Information Leak in Active Storage
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| rails | — | rails>= 5.2.0, < 6.1.7.7 · >= 7.0.0, < 7.0.8.1 | Affected | Not stated | GitHub_M |
| rails | — | rails5.2.0 to < 7.1.0 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Debian | bookworm | rails | Advisory build | 2:6.1.7.10+dfsg-1~deb12u1 | DSA-5881-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| rails | rails | >= 5.2.0, < 6.1.7.7 (affected)>= 7.0.0, < 7.0.8.1 (affected) | GitHub_M · cna |
| rails | rails | 5.2.0 to < 7.1.0 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-200 CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
References
6- https://discuss.rubyonrails.org/t/possible-sensitive-session-information-leak-in-active-storage/84945
- https://github.com/rails/rails/commit/723f54566023e91060a67b03353e7c03e7436433
- https://github.com/rails/rails/commit/78fe149509fac5b05e54187aaaef216fbb5fd0d3
- https://github.com/rails/rails/security/advisories/GHSA-8h22-8cf7-hq6g
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activestorage/CVE-2024-26144.yml
- https://security.netapp.com/advisory/ntap-20240510-0013/
Provider assertions
3GitHub_M · cna
Possible Sensitive Session Information Leak in Active Storage
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 1f396b0af674fd4d8b23555d7bb944001431ac4878e904ec5e537db573d711a5
- Ingested
- 23 Sep 2026, 08:20:20 UTC
- Source record
- Official CVE record