{"id":"CVE-2008-7311","aliases":["EUVD-2022-3880","GHSA-g466-57gh-cqfw"],"status":"published","title":"Spree uses a hardcoded hash value","description":"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.","severity":{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.0123,"percentile":0.69133,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-255"],"published":"2012-04-04T22:00:00Z","modified":"2026-06-16T23:04:02Z","fixes":[{"ecosystem":"RubyGems","package":"spree","fixed_in":["0.4.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"spree","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.0"}]}]},{"source":"osv","ecosystem":"RubyGems","package":"spree","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.0"}]}],"versions":["0.0.5","0.0.6","0.0.7","0.0.8","0.0.9","0.2.0"]}],"products":[{"vendor":"spreecommerce","product":"spree"}],"references":[{"url":"http://support.spreehq.org/issues/show/63","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://spreecommerce.com/blog/2008/08/12/security-vulernability-session-cookie-store/","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-7311","tags":["advisory"]},{"url":"https://web.archive.org/web/20090306033106/http://support.spreehq.org/issues/show/63","tags":["web"]},{"url":"https://web.archive.org/web/20100309050152/http://rubygems.org/gems/spree/versions","tags":["web"]},{"url":"https://web.archive.org/web/20101128024939/http://spreecommerce.com/blog/2008/08/12/security-vulernability-session-cookie-store/"},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/spree/CVE-2008-7311.yml","tags":["web"]},{"url":"https://spreecommerce.com/blog/security-vulernability-session-cookie-store","tags":["web"]},{"url":"https://github.com/advisories/GHSA-g466-57gh-cqfw"},{"url":"https://github.com/spree/spree","tags":["package"]},{"url":"https://web.archive.org/web/20101128024939/http://spreecommerce.com/blog/2008/08/12/security-vulernability-session-cookie-store","tags":["web"]},{"url":"http://spreecommerce.com/blog/2008/08/12/security-vulernability-session-cookie-store","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2008-7311","description":"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.","status":"published","published":"2012-04-04T22:00:00Z","modified":"2024-09-17T00:06:53.42Z","updated_at":"2026-11-02T14:34:48.103804Z"}],"euvd":[{"id":"EUVD-2022-3880","description":"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.","status":"published","published":"2012-04-04T22:00:00Z","modified":"2024-09-17T00:06:53Z","updated_at":"2026-11-03T00:29:01.977589Z"}],"ghsa":[{"id":"GHSA-g466-57gh-cqfw","title":"Spree uses a hardcoded hash value","description":"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.","status":"published","published":"2022-05-17T05:30:58Z","modified":"2023-08-23T16:37:48Z","updated_at":"2026-11-02T14:37:00.680009Z"}],"nvd":[{"id":"CVE-2008-7311","description":"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.","status":"published","published":"2012-04-05T13:25:21.38Z","modified":"2026-06-16T23:04:02.11Z","cvss":[{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-255"],"updated_at":"2026-11-02T14:01:32.353533Z"}],"osv":[{"id":"GHSA-g466-57gh-cqfw","title":"Spree uses a hardcoded hash value","description":"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.","status":"published","published":"2022-05-17T05:30:58Z","modified":"2024-12-07T05:40:51.88875Z","updated_at":"2026-11-02T15:46:47.119724Z"}]}}
