Vulnerabilities in pkg:gem/spree
PACKAGECVE-2011-10019 is a CRITICAL (CVSS 9.8) spree has remote command execution vulnerability (CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')) affecting Spree libraries in the RubyGems ecosystem. The issue involves spree has remote command execution vulnerability in search functionality. Remediation is available by upgrading affected packages to version 0.60.2.
pkg:gem/spree
Vulnerability advisories affecting package pkg:gem/spree. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-97vm-c39p-jr86 | CVE-2011-10019 | CRITICAL | Spree has Remote Command Execution vulnerability in search functionality |
| GHSA-xf4v-w5x5-pv79 | - | MODERATE | Spree: CSV Formula Injection in Customer Export |
| GHSA-x485-rhg3-cqr4 | CVE-2011-10026 | CRITICAL | Spree Commerce is vulnerable to RCE through Search API |
| GHSA-jxx8-v83v-rhw3 | CVE-2013-1656 | MODERATE | Spree Improper Input Validation vulnerability |
| GHSA-hwrx-wc75-mgh7 | CVE-2010-3978 | MODERATE | Spree allows remote attackers to obtain sensitive information |
| GHSA-g466-57gh-cqfw | CVE-2008-7311 | MODERATE | Spree uses a hardcoded hash value |
| GHSA-7h48-m3rw-vr27 | CVE-2008-7310 | MODERATE | Spree does not properly restrict the use of a hash to provide values for a model's attributes |
| GHSA-f8cm-364f-q9qh | CVE-2020-15269 | HIGH | Ensure that doorkeeper_token is valid when authenticating requests in API v2 calls |
CVE-2011-10019 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2011-10019
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.60.2
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-2011-10019, 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.60.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-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution'), where the product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype. 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-2011-10019 Affected Spree Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
spree
|
RubyGems |
< 0.60.2
|
0.60.2
|
References
Frequently Asked Questions
What is CVE-2011-10019?
Which Spree versions are affected?
What version fixes CVE-2011-10019?
Is spree affected?
What is the CVSS score of CVE-2011-10019?
What CWE is associated with CVE-2011-10019?
How can I check RubyGems dependencies for CVE-2011-10019?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-97vm-c39p-jr86",
"modified" : "2026-06-09T11:56:05Z",
"published" : "2025-08-13T21:30:30Z",
"aliases" : [ "CVE-2011-10019" ],
"summary" : "Spree has Remote Command Execution vulnerability in search functionality",
"details" : "Spreecommerce versions prior to 0.60.2 contains a remote command execution vulnerability in its search functionality. The application fails to properly sanitize input passed via the search[send][] parameter, which is dynamically invoked using Ruby’s send method. This allows attackers to execute arbitrary shell commands on the server without authentication.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "spree"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.60.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2011-10019"
}, {
"type" : "WEB",
"url" : "https://github.com/orgs/spree"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/spree/CVE-2011-10019.yml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/spree/spree"
}, {
"type" : "WEB",
"url" : "https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/multi/http/spree_search_exec.rb"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20111009192436/http://spreecommerce.com/blog/2011/10/05/remote-command-product-group"
}, {
"type" : "WEB",
"url" : "https://www.exploit-db.com/exploits/17941"
}, {
"type" : "WEB",
"url" : "https://www.vulncheck.com/advisories/spreecommerce-search-parameter-rce"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1321", "CWE-94" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2026-01-13T20:33:40Z",
"nvd_published_at" : "2025-08-13T21:15:29Z"
}
}