Every CVE Search/ Get API key

CVE-2008-7311

Spree uses a hardcoded hash value

5.0 MediumFix available

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.

Exploit likelihood

1.23%Up 0.2 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 5.0

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.

Record
CVE-2008-7311
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:P/A:N
Weakness
CWE-255
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2008-7311
Updated
2026-11-02
EUVDEUVD-2022-3880 No score

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.

Record
EUVD-2022-3880
Updated
2026-11-03
GitHub AdvisoriesGHSA-g466-57gh-cqfw No score

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

Record
GHSA-g466-57gh-cqfw
Updated
2026-11-02
OSVGHSA-g466-57gh-cqfw No score

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

Record
GHSA-g466-57gh-cqfw
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
spree
RubyGems
before 0.4.0
0.4.0
spree
RubyGems
before 0.4.0, plus listed versions
0.0.50.0.60.0.70.0.80.0.90.2.0
0.4.0

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2008-7311 is a medium vulnerability (CVSS 5.0) in Spreecommerce Spree, published April 4, 2012. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.23%, the 69th percentile. Fixed in spree 0.4.0.

References

Show 4 moreShow less
MoveEnter Open