CVE-2011-3587: Zope2 Zope Command Execution Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-8w48-m6hx-rjw2
Published
Advisory Summary

CVE-2011-3587 is a HIGH zope command execution vulnerability vulnerability (General Security Weakness) affecting Zope2 libraries in the PyPI ecosystem. The issue involves zope command execution vulnerability. Remediation is available by upgrading affected packages to version 2.12.20, 2.13.10.

CVE-2011-3587 at a Glance

CVE Identifier CVE-2011-3587
GHSA Identifier GHSA-8w48-m6hx-rjw2
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Zope2
Package Ecosystem PyPI
Published Date
Last Updated

How to Fix CVE-2011-3587

To remediate this vulnerability, upgrade all affected Zope2 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

zope2 fixed: 2.12.20
pip install zope2>=2.12.20
zope2 fixed: 2.13.10
pip install zope2>=2.13.10
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show zope2

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2011-3587, inspect your installed packages using pip:

pip show zope2

Analyze the terminal output to locate any version of Zope2 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.12.20), your application is affected.

Note: The pip show zope2 command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under General Security Weakness. In Zope2, 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

Unspecified vulnerability in Zope 2.12.x and 2.13.x, as used in Plone 4.0.x through 4.0.9, 4.1, and 4.2 through 4.2a2, allows remote attackers to execute arbitrary commands via vectors related to the `p_` class in `OFS/misc_.py` and the use of Python modules.

CVE-2011-3587 Affected Zope2 Versions

2 component(s)
Fixed Versions:
2.12.202.13.10
Product / Package Ecosystem Affected Versions Fixed Version
zope2
PyPI
≥ 2.12.0
< 2.12.20
2.12.20
zope2
PyPI
≥ 2.13.0
< 2.13.10
2.13.10

References

Frequently Asked Questions

What is CVE-2011-3587?
CVE-2011-3587 is a security vulnerability in Zope2 involving Zope Command Execution Vulnerability under General Security Weakness.
Which Zope2 versions are affected?
Affected versions include releases prior to 2.12.20, 2.13.10 across affected packages: zope2.
What version fixes CVE-2011-3587?
Upgrading to 2.12.20, 2.13.10 (or the latest patched release for your respective branch) resolves the vulnerability.
Is zope2 affected?
Yes, zope2 is affected in releases prior to 2.12.20, 2.13.10. Upgrade your dependency to 2.12.20, 2.13.10 or later.
What CWE is associated with CVE-2011-3587?
CVE-2011-3587 is classified under General Security Weakness.
How can I check PyPI dependencies for CVE-2011-3587?
Run the dependency tree command: 'pip show zope2'. 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-8w48-m6hx-rjw2",
  "modified" : "2024-11-22T20:15:48Z",
  "published" : "2022-05-17T05:37:39Z",
  "aliases" : [ "CVE-2011-3587" ],
  "summary" : "Zope Command Execution Vulnerability",
  "details" : "Unspecified vulnerability in Zope 2.12.x and 2.13.x, as used in Plone 4.0.x through 4.0.9, 4.1, and 4.2 through 4.2a2, allows remote attackers to execute arbitrary commands via vectors related to the `p_` class in `OFS/misc_.py` and the use of Python modules.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "zope2"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.12.0"
      }, {
        "fixed" : "2.12.20"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "zope2"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.13.0"
      }, {
        "fixed" : "2.13.10"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2011-3587"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/zopefoundation/Zope/commit/491a583d8c6622b80c75917e5017c4bb4b15e477"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/zopefoundation/Zope/commit/6bb2fb3c04a76b00bec9bd7c069733e06fa6ebe9"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=742297"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/products-plonehotfix20110928/PYSEC-2011-26.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/zopefoundation/Zope"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20111013043934/http://zope2.zope.org/news/security-vulnerability-announcement-cve-2011-3587"
  }, {
    "type" : "WEB",
    "url" : "http://plone.org/products/plone-hotfix/releases/20110928"
  }, {
    "type" : "WEB",
    "url" : "http://plone.org/products/plone-hotfix/releases/20110928/PloneHotfix20110928-1.0.zip"
  }, {
    "type" : "WEB",
    "url" : "http://plone.org/products/plone/security/advisories/20110928"
  }, {
    "type" : "WEB",
    "url" : "http://pypi.python.org/pypi/Products.PloneHotfix20110928/1.0"
  }, {
    "type" : "WEB",
    "url" : "http://zope2.zope.org/news/security-vulnerability-announcement-cve-2011-3587"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-01-15T18:14:23Z",
    "nvd_published_at" : "2011-10-10T10:55:00Z"
  }
}