Vulnerability identifier: #VU86810
Vulnerability risk: Medium
CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]
CVE-ID:
CWE-ID:
CWE-200
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
Ruby on Rails
Universal components / Libraries /
Scripting languages
Vendor: Rails
Description
The vulnerability allows a remote attacker to gain access to potentially sensitive information.
The vulnerability exists due to the Active Storage send a Set-Cookie header along with the user's session cookie when serving blobs. It also sets Cache-Control to public. Such cookie can be cached certain proxies and lead to information disclosure.
Mitigation
Install updates from vendor's website.
Vulnerable software versions
Ruby on Rails: 6.0.0 - 6.0.6.1, 6.1.0 rc2 - 6.1.7.6, 7.0.0 - 7.0.8
External links
https://github.com/rails/rails/security/advisories/GHSA-8h22-8cf7-hq6g
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.