Rails Active Storage Set-Cookie Leak (5.27.0.8.0, 6.16.1.7.6)
CVE-2024-26144 Published on February 27, 2024
Possible 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.
Vulnerability Analysis
CVE-2024-26144 is exploitable with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have a small impact on confidentiality, a small impact on integrity and availability.
Weakness Type
What is an Information Disclosure Vulnerability?
The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.
CVE-2024-26144 has been classified to as an Information Disclosure vulnerability or weakness.
Products Associated with CVE-2024-26144
Want to know whenever a new CVE is published for Ruby on Rails Rails? stack.watch will email you.
Affected Versions
rails:- Version >= 5.2.0, < 6.1.7.7 is affected.
- Version >= 7.0.0, < 7.0.8.1 is affected.
- Version 5.2.0 and below 7.1.0 is affected.
Vulnerable Packages
The following package name and versions may be associated with CVE-2024-26144
| Package Manager | Vulnerable Package | Versions | Fixed In |
|---|---|---|---|
| rubygems | rails | >= 5.2.0, < 6.1.7.7 | 6.1.7.7 |
| rubygems | rails | >= 7.0.0, < 7.0.8.1 | 7.0.8.1 |
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.