GHSA-7h48-m3rw-vr27

Suggest an improvement
Source
https://github.com/advisories/GHSA-7h48-m3rw-vr27
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-7h48-m3rw-vr27/GHSA-7h48-m3rw-vr27.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-7h48-m3rw-vr27
Aliases
  • CVE-2008-7310
Published
2022-05-17T05:31:08Z
Modified
2024-12-07T05:41:01Z
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.

Database specific
{
    "cwe_ids":  [],
    "github_reviewed":  true,
    "github_reviewed_at":  "2023-01-27T00:01:51Z",
    "nvd_published_at":  "2012-04-05T13:25:00Z",
    "severity":  "MODERATE"
}
References

Affected packages

RubyGems / spree

Package

Name
spree
Purl
pkg:gem/spree

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.4.0

Affected versions

0.*
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"