Description
The Rack::Cache rubygem 0.3.0 through 1.1 caches Set-Cookie and other sensitive headers, which allows attackers to obtain sensitive cookie information, hijack web sessions, or have other unspecified impact by accessing the cache.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | ruby-rack-cache | 1.2-1 | — |
| Debian 13 | ruby-rack-cache | 1.2-1 | — |
| Debian 12 | ruby-rack-cache | 1.2-1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| RubyGems | rack-cache | >= 0.3.0, < 1.2 | 1.2 | GHSA-hrp6-w4v2-8737 |
References
- https://bugzilla.novell.com/show_bug.cgi?id=763650
- https://github.com/rtomayko/rack-cache/commit/2e3a64d07daac4c757cc57620f2288e865a09b90
- https://github.com/rtomayko/rack-cache/blob/master/CHANGES
- FEDORA-2012-8439 vendor-advisory
- https://github.com/rtomayko/rack-cache/pull/52
- [oss-security] 20120606 Re: CVE request: rack-cache caches sensitive headers (Set-Cookie) mailing-list
- [oss-security] 20120606 CVE request: rack-cache caches sensitive headers (Set-Cookie) mailing-list
- https://bugzilla.redhat.com/show_bug.cgi?id=824520