CVE-2008-7310
MEDIUM 5.0CVSS 2.0Spree does not properly restrict the use of a hash to provide values for a model's attributes
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.
- Published
- 5 Apr 2012
- Last modified
- 16 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-255
- Also known as
- GHSA-7h48-m3rw-vr27
- Sources
- NVDJSONOSV GHSA-7h48-m3rw-vr27JSON
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://railspikes.com/2008/9/22/is-your-rails-application-safe-from-mass-assignment · WEB
- http://spreecommerce.com/blog/2008/09/16/security-vulnerability-mass-assignment-of-order-params/ · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2008-7310 · ADVISORY
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/spree/CVE-2008-7310.yml · WEB
- https://github.com/spree/spree · PACKAGE
- https://spreecommerce.com/blog/security-vulnerability-mass-assignment · WEB
- https://web.archive.org/web/20080925003904/http://railspikes.com/2008/9/22/is-your-rails-application-safe-from-mass-assignment · WEB
- https://web.archive.org/web/20101128024717/http://spreecommerce.com/blog/2008/09/16/security-vulnerability-mass-assignment-of-order-params · 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)