{"id":"GHSA-7h48-m3rw-vr27","summary":"Spree does not properly restrict the use of a hash to provide values for a model's attributes","details":"Spree 0.2.0 does not properly restrict the use of a hash to provide values for a model's attributes, which allows remote attackers to set the Order state value and bypass the intended payment step via a modified URL, related to a \"mass assignment\" vulnerability.","aliases":["CVE-2008-7310"],"modified":"2024-12-07T05:41:01.800352Z","published":"2022-05-17T05:31:08Z","database_specific":{"cwe_ids":[],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2023-01-27T00:01:51Z","nvd_published_at":"2012-04-05T13:25:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2008-7310"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/spree/CVE-2008-7310.yml"},{"type":"PACKAGE","url":"https://github.com/spree/spree"},{"type":"WEB","url":"https://spreecommerce.com/blog/security-vulnerability-mass-assignment"},{"type":"WEB","url":"https://web.archive.org/web/20080925003904/http://railspikes.com/2008/9/22/is-your-rails-application-safe-from-mass-assignment"},{"type":"WEB","url":"https://web.archive.org/web/20101128024717/http://spreecommerce.com/blog/2008/09/16/security-vulnerability-mass-assignment-of-order-params"},{"type":"WEB","url":"http://railspikes.com/2008/9/22/is-your-rails-application-safe-from-mass-assignment"},{"type":"WEB","url":"http://spreecommerce.com/blog/2008/09/16/security-vulnerability-mass-assignment-of-order-params"}],"affected":[{"package":{"name":"spree","ecosystem":"RubyGems","purl":"pkg:gem/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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-7h48-m3rw-vr27/GHSA-7h48-m3rw-vr27.json"}}],"schema_version":"1.9.0"}