CVE-2011-10019: Spree Spree Has Remote Command Execution Vulnerability

CRITICAL
Advisory Identifier: GHSA-97vm-c39p-jr86
CVSS 9.8
CWE-1321 CWE-94
Published
Advisory Summary

CVE-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.

CVE-2011-10019 at a Glance

CVE Identifier CVE-2011-10019
GHSA Identifier GHSA-97vm-c39p-jr86
Severity CRITICAL
CVSS v3.1 Base Score 9.8
CWE Classification CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
Affected Product Spree
Package Ecosystem RubyGems
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (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.

spree fixed: 0.60.2
Upgrade spree to 0.60.2
Verify Direct and Transitive Dependencies

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

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.

CVE-2011-10019 Affected Spree Versions

1 component(s)
Fixed Versions:
0.60.2
Product / Package Ecosystem Affected Versions Fixed Version
spree
RubyGems
< 0.60.2
0.60.2

References

Frequently Asked Questions

What is CVE-2011-10019?
CVE-2011-10019 is a security vulnerability in Spree involving Spree has Remote Command Execution vulnerability in search functionality under CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution').
Which Spree versions are affected?
Affected versions include releases prior to 0.60.2 across affected packages: spree.
What version fixes CVE-2011-10019?
Upgrading to 0.60.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is spree affected?
Yes, spree is affected in releases prior to 0.60.2. Upgrade your dependency to 0.60.2 or later.
What is the CVSS score of CVE-2011-10019?
CVE-2011-10019 has a CVSS v3.1 base score of 9.8 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2011-10019?
CVE-2011-10019 is classified under CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') (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.).
How can I check RubyGems dependencies for CVE-2011-10019?
Run the dependency tree command: 'inspect dependencies for spree'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}