Information disclosure in Rails
CVE-2024-26144
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.
Vulnerability class: Information Disclosure
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS: 0.011 (65.1th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 65th percentile — 65.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.011 · newest: 0.011 · change: 0.000
Affected products
- Rails — versions >= 5.2.0, < 6.1.7.7, >= 7.0.0, < 7.0.8.1
- Rubyonrails Rails
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/rails/rails/security/advisories/GHSA-8h22-8cf7-hq6g (Vendor Advisory)
- github.com/rails/rails/commit/723f54566023e91060a67b03353e7c03e7436433 (Patch)
- github.com/rails/rails/commit/78fe149509fac5b05e54187aaaef216fbb5fd0d3 (Patch)
- discuss.rubyonrails.org/t/possible-sensitive-session-information-leak-in-active… (Vendor Advisory)
- github.com/rubysec/ruby-advisory-db/blob/master/gems/activestorage/CVE-2024-261… (Third Party Advisory)
- security.netapp.com/advisory/ntap-20240510-0013/ (Third Party Advisory)
Frequently asked questions
- What is CVE-2024-26144?
- CVE-2024-26144 is a medium-severity vulnerability in Rails, classified under Information Disclosure. CVSS score: 5.3/10. Published 2024-02-27.
- How severe is CVE-2024-26144?
- Medium severity. CVSS v3 base score is 5.3 out of 10.
- Is CVE-2024-26144 known to be exploited?
- 5 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.