CVE-2010-3978: Spree Spree Allows Remote Attackers To Vulnerability
MODERATECVE-2010-3978 is a MODERATE spree allows remote attackers to vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Spree libraries in the RubyGems ecosystem. The issue involves spree allows remote attackers to obtain sensitive information. Remediation is available by upgrading affected packages to version 0.11.2, 0.30.0.
CVE-2010-3978 at a Glance
How to Fix CVE-2010-3978
To remediate this vulnerability, upgrade all affected Spree dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade spree to 0.11.2
Upgrade spree to 0.30.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for spree
How to Check if You Are Affected
To determine whether your application is affected by CVE-2010-3978, inspect your project dependencies for Spree:
inspect dependencies for spree
Analyze the terminal output to locate any version of Spree in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.11.2), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Spree, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2010-3978 Affected Spree Versions
2 component(s)References
Frequently Asked Questions
What is CVE-2010-3978?
Which Spree versions are affected?
What version fixes CVE-2010-3978?
Is spree affected?
What CWE is associated with CVE-2010-3978?
How can I check RubyGems dependencies for CVE-2010-3978?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-hwrx-wc75-mgh7",
"modified" : "2023-01-27T00:18:49Z",
"published" : "2022-05-14T02:42:49Z",
"aliases" : [ "CVE-2010-3978" ],
"summary" : "Spree allows remote attackers to obtain sensitive information",
"details" : "Spree 0.11.x before 0.11.2 and 0.30.x before 0.30.0 exchanges data using JavaScript Object Notation (JSON) without a mechanism for validating requests, which allows remote attackers to obtain sensitive information via vectors involving (1) `admin/products.json`, (2) `admin/users.json`, or (3) `admin/overview/get_report_data`, related to a \"JSON hijacking\" issue.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "spree"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.11.0"
}, {
"fixed" : "0.11.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "spree"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.30.0.beta1"
}, {
"fixed" : "0.30.0"
} ]
} ],
"versions" : [ "0.30.0.beta1" ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2010-3978"
}, {
"type" : "WEB",
"url" : "https://github.com/railsdog/spree/commit/19944bd999c310d9b10d16a41f48ebac97dc4fac"
}, {
"type" : "WEB",
"url" : "https://github.com/railsdog/spree/commit/d881b2bb610ea33e2364ff16feb8e702dfeda135"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/spree/CVE-2010-3978.yml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/spree/spree"
}, {
"type" : "WEB",
"url" : "https://spreecommerce.com/blog/json-hijacking-vulnerability"
}, {
"type" : "WEB",
"url" : "http://spreecommerce.com/blog/2010/11/02/json-hijacking-vulnerability"
}, {
"type" : "WEB",
"url" : "http://spreecommerce.com/blog/2010/11/09/spree-0-30-0-released"
}, {
"type" : "WEB",
"url" : "http://twitter.com/conviso/statuses/29555076248"
}, {
"type" : "WEB",
"url" : "http://www.conviso.com.br/json-hijacking-vulnerability"
}, {
"type" : "WEB",
"url" : "http://www.conviso.com.br/security-advisory-spree-e-commerce-json-v-0-11x"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/archive/1/514674/100/0/threaded"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-01-27T00:18:49Z",
"nvd_published_at" : "2010-11-17T16:00:00Z"
}
}