The Rack::Cache rubygem 0.3.0 through 1.1 caches Set-Cookie and other sensitive headers…
Priority LOW 37CWE-525Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
EPSS 0.02332 83rd percentileScored 2026-11-07
Fix Fixed rack-cache (RubyGems): 1.2
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | rack-cache (RubyGems) | 0.3.0 to before 1.2 | 1.2 | Patch available | GHSA-hrp6-w4v2-8737 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- rack-cache (RubyGems) Vendor— Affected 0.3.0 to before 1.2 Fixed in 1.2 Patch available GHSA-hrp6-w4v2-8737
CPE configurations NVD · 10
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:rtomayko:rack-cach:0.3.0:*:*:*:*:*:*:* | 0.3.0 | Vulnerable | Rtomayko |
| cpe:2.3:a:rtomayko:rack-cach:0.4:*:*:*:*:*:*:* | 0.4 | Vulnerable | Rtomayko |
| cpe:2.3:a:rtomayko:rack-cach:0.5:*:*:*:*:*:*:* | 0.5 | Vulnerable | Rtomayko |
| cpe:2.3:a:rtomayko:rack-cach:0.5.2:*:*:*:*:*:*:* | 0.5.2 | Vulnerable | Rtomayko |
| cpe:2.3:a:rtomayko:rack-cach:0.5.3:*:*:*:*:*:*:* | 0.5.3 | Vulnerable | Rtomayko |
| cpe:2.3:a:rtomayko:rack-cach:1.0:*:*:*:*:*:*:* | 1.0 | Vulnerable | Rtomayko |
| cpe:2.3:a:rtomayko:rack-cach:1.0.1:*:*:*:*:*:*:* | 1.0.1 | Vulnerable | Rtomayko |
| cpe:2.3:a:rtomayko:rack-cach:1.0.2:*:*:*:*:*:*:* | 1.0.2 | Vulnerable | Rtomayko |
| cpe:2.3:a:rtomayko:rack-cach:1.0.3:*:*:*:*:*:*:* | 1.0.3 | Vulnerable | Rtomayko |
| cpe:2.3:a:rtomayko:rack-cach:1.1:*:*:*:*:*:*:* | 1.1 | Vulnerable | Rtomayko |
- cpe:2.3:a:rtomayko:rack-cach:0.3.0:*:*:*:*:*:*:* Versions 0.3.0 Vulnerable ·Rtomayko
- cpe:2.3:a:rtomayko:rack-cach:0.4:*:*:*:*:*:*:* Versions 0.4 Vulnerable ·Rtomayko
- cpe:2.3:a:rtomayko:rack-cach:0.5:*:*:*:*:*:*:* Versions 0.5 Vulnerable ·Rtomayko
- cpe:2.3:a:rtomayko:rack-cach:0.5.2:*:*:*:*:*:*:* Versions 0.5.2 Vulnerable ·Rtomayko
- cpe:2.3:a:rtomayko:rack-cach:0.5.3:*:*:*:*:*:*:* Versions 0.5.3 Vulnerable ·Rtomayko
- cpe:2.3:a:rtomayko:rack-cach:1.0:*:*:*:*:*:*:* Versions 1.0 Vulnerable ·Rtomayko
- cpe:2.3:a:rtomayko:rack-cach:1.0.1:*:*:*:*:*:*:* Versions 1.0.1 Vulnerable ·Rtomayko
- cpe:2.3:a:rtomayko:rack-cach:1.0.2:*:*:*:*:*:*:* Versions 1.0.2 Vulnerable ·Rtomayko
- cpe:2.3:a:rtomayko:rack-cach:1.0.3:*:*:*:*:*:*:* Versions 1.0.3 Vulnerable ·Rtomayko
- cpe:2.3:a:rtomayko:rack-cach:1.1:*:*:*:*:*:*:* Versions 1.1 Vulnerable ·Rtomayko
Remediation
- Fix · GHSA-hrp6-w4v2-8737 rack-cache (RubyGems) Fixed in 1.2 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2012-2671
- 2026-10-03 Alias added: GHSA-hrp6-w4v2-8737
References
Other 8
- 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
- https://github.com/rtomayko/rack-cache/pull/52
- [oss-security] 20120606 Re: CVE request: rack-cache caches sensitive headers (Set-Cookie)
- [oss-security] 20120606 CVE request: rack-cache caches sensitive headers (Set-Cookie)
- https://bugzilla.redhat.com/show_bug.cgi?id=824520
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack-cache/CVE-2012-2671.yml
Sources
- CVE-2012-2671 · CVE Program
- CVE-2012-2671 · NVD
- FIRST EPSS
- GHSA-hrp6-w4v2-8737 · GitHub Advisory Database · CC BY 4.0
- CVE-2012-2671 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences