CVE-2012-2671 json
Rack-Cache caches sensitive headers
published 2012-06-17 14 y ago modified 2026-06-16 4 mo ago also GHSA-hrp6-w4v2-8737 , EUVD-2022-4211
- cvss
- 7.5
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.3%
- EPSS 2.3% chance of exploitation in 30 days, percentile 83%
- public exploits
- 0
- none known
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.
Patch / fix
- rubygems rack-cache 1.2
- ruby-rack-cache Debian 14, Debian 13, Debian 12 1.2-1
debian advisories DEBIAN-CVE-2012-2671
- github.com/rtomayko/rack-cache@2e3a64d commit
- github.com/rtomayko/rack-cache#52 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2012-2671 updated cvss 4.3
rubygem-rack-cache: caches sensitive headers (such as Set-Cookie)
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.33% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | rack-cache | >=0.3.0, <1.2 |
1.2 |
Classification
- Weakness
-
- CWE-525 Use of Web Browser Cache Containing Sensitive Information
References
-
github.com
/rtomayko/rack-cache/commit/2e3a64d07daac4c757cc57620f2288e865a09b90
web
-
github.com
/rtomayko/rack-cache/pull/52
web
-
lists.fedoraproject.org
/pipermail/package-announce/2012-June/081812.html
vendor-advisory, web
-
bugzilla.novell.com
/show_bug.cgi?id=763650
web
-
github.com
/rtomayko/rack-cache/blob/master/CHANGES
web
-
openwall.com
/lists/oss-security/2012/06/06/8
mailing-list, web
-
openwall.com
/lists/oss-security/2012/06/06/4
mailing-list, web
-
bugzilla.redhat.com
/show_bug.cgi?id=824520
web
-
nvd.nist.gov
/vuln/detail/CVE-2012-2671
advisory
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/rack-cache/CVE-2012-2671.yml
web
Sources
- CVE List CVE-2012-2671
- GitHub Advisory GHSA-hrp6-w4v2-8737
- NVD CVE-2012-2671
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.