CVE-2024-26144
rubygem-activestorage: Possible Sensitive Session Information Leak in Active Storage
Overview
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.
Source: OX vulnerability database
Severity
5.3 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness: CWE-200
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| RubyGems | activestorage | >=5.2.0, <6.1.7.7>=7.0.0, <7.0.8.1 | 6.1.7.77.0.8.1~> 6.1.7, >= 6.1.7.7 |
Open a package to see all its vulnerabilities.
Operating systems · 5 fixes
Red Hat 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | rubygem-activestorage | affected |
debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | rails | 2:6.1.7.10+dfsg-1~deb12u1 |
| 13 | rails | 2:7.2.2.1+dfsg-1 |
| 14 | rails | 2:7.2.2.1+dfsg-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| rails | 2:6.1.7.10+dfsg-1~deb12u1 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2024-26144
- discuss.rubyonrails.org https://discuss.rubyonrails.org/t/possible-sensitive-session-information-leak-in-active-storage/84945
- github.com https://github.com/rails/rails
- github.com https://github.com/rails/rails/commit/723f54566023e91060a67b03353e7c03e7436433
- github.com https://github.com/rails/rails/commit/78fe149509fac5b05e54187aaaef216fbb5fd0d3
- github.com https://github.com/rails/rails/security/advisories/GHSA-8h22-8cf7-hq6g
- github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2024-26144.yml
- github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activestorage/CVE-2024-26144.yml
- hackerone.com https://hackerone.com/reports/3082917
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2024-26144
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.