CVE-2006-3458: Zope2 Zope Allows Local Users To Vulnerability

LOW
Advisory Identifier: GHSA-jcjp-qqpq-pc54
Published
Advisory Summary

CVE-2006-3458 is a LOW zope allows local users to vulnerability (General Security Weakness) affecting Zope2 libraries in the PyPI ecosystem. The issue involves zope allows local users to read arbitrary files. Remediation is available by upgrading affected packages to version 2.7.8, 2.8.7, 2.9.3.

CVE-2006-3458 at a Glance

CVE Identifier CVE-2006-3458
GHSA Identifier GHSA-jcjp-qqpq-pc54
Severity LOW
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-2006-3458

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.7.8
pip install Zope2>=2.7.8
Zope2 fixed: 2.8.7
pip install Zope2>=2.8.7
Zope2 fixed: 2.9.3
pip install Zope2>=2.9.3
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-2006-3458, 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.7.8), 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

Zope 2.7.0 to 2.7.8, 2.8.0 to 2.8.7, and 2.9.0 to 2.9.3 (Zope2) does not disable the "raw" command when providing untrusted users with restructured text (reStructuredText) functionality from docutils, which allows local users to read arbitrary files.

CVE-2006-3458 Affected Zope2 Versions

3 component(s)
Fixed Versions:
2.7.82.8.72.9.3
Product / Package Ecosystem Affected Versions Fixed Version
Zope2
PyPI
≥ 2.7.0
< 2.7.8
2.7.8
Zope2
PyPI
≥ 2.8.0
< 2.8.7
2.8.7
Zope2
PyPI
≥ 2.9.0
< 2.9.3
2.9.3

References

Frequently Asked Questions

What is CVE-2006-3458?
CVE-2006-3458 is a security vulnerability in Zope2 involving Zope allows local users to read arbitrary files under General Security Weakness.
Which Zope2 versions are affected?
Affected versions include releases prior to 2.7.8, 2.8.7, 2.9.3 across affected packages: Zope2.
What version fixes CVE-2006-3458?
Upgrading to 2.7.8, 2.8.7, 2.9.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is Zope2 affected?
Yes, Zope2 is affected in releases prior to 2.7.8, 2.8.7, 2.9.3. Upgrade your dependency to 2.7.8, 2.8.7, 2.9.3 or later.
What CWE is associated with CVE-2006-3458?
CVE-2006-3458 is classified under General Security Weakness.
How can I check PyPI dependencies for CVE-2006-3458?
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-jcjp-qqpq-pc54",
  "modified" : "2024-11-21T22:13:08Z",
  "published" : "2022-05-01T07:09:18Z",
  "aliases" : [ "CVE-2006-3458" ],
  "summary" : "Zope allows local users to read arbitrary files",
  "details" : "Zope 2.7.0 to 2.7.8, 2.8.0 to 2.8.7, and 2.9.0 to 2.9.3 (Zope2) does not disable the \"raw\" command when providing untrusted users with restructured text (reStructuredText) functionality from docutils, which allows local users to read arbitrary files.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "Zope2"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.7.0"
      }, {
        "fixed" : "2.7.8"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "Zope2"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.8.0"
      }, {
        "fixed" : "2.8.7"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "Zope2"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.9.0"
      }, {
        "fixed" : "2.9.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2006-3458"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/27636"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/zope2/PYSEC-2006-7.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/zopefoundation/Zope"
  }, {
    "type" : "WEB",
    "url" : "https://usn.ubuntu.com/317-1"
  }, {
    "type" : "WEB",
    "url" : "http://mail.zope.org/pipermail/zope-announce/2006-July/001984.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2006/dsa-1113"
  }, {
    "type" : "WEB",
    "url" : "http://www.novell.com/linux/security/advisories/2006_19_sr.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-11-21T22:13:08Z",
    "nvd_published_at" : "2006-07-07T23:05:00Z"
  }
}