CVE-2008-7311
MEDIUM 5.0CVSS 2.0Spree uses a hardcoded hash value
The session cookie store implementation in Spree 0.2.0 uses a hardcoded config.action_controller_session hash value (aka secret key), which makes it easier for remote attackers to bypass cryptographic protection mechanisms by leveraging an application that contains this value within the config/environment.rb file.
- Published
- 5 Apr 2012
- Last modified
- 16 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-255
- Also known as
- GHSA-g466-57gh-cqfw
- Sources
- NVDJSONOSV GHSA-g466-57gh-cqfwJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | spreecommerce | spreecpe:2.3:a:spreecommerce:spree:0.2.0:*:*:*:*:*:*:* |
= 0.2.0 | |
| OSV | RubyGems | spree | < 0.4.0 | 0.4.0 |
References
- http://spreecommerce.com/blog/2008/08/12/security-vulernability-session-cookie-store/ · Vendor Advisory, WEB
- http://support.spreehq.org/issues/show/63
- https://nvd.nist.gov/vuln/detail/CVE-2008-7311 · ADVISORY
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/spree/CVE-2008-7311.yml · WEB
- https://github.com/spree/spree · PACKAGE
- https://spreecommerce.com/blog/security-vulernability-session-cookie-store · WEB
- https://web.archive.org/web/20090306033106/http://support.spreehq.org/issues/show/63 · WEB
- https://web.archive.org/web/20100309050152/http://rubygems.org/gems/spree/versions · WEB
- https://web.archive.org/web/20101128024939/http://spreecommerce.com/blog/2008/08/12/security-vulernability-session-cookie-store · WEB
History
- 25 Nov 2026 20:16 UTC · NVD: first stored (published 5 Apr 2012)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 17 May 2022)