CVE-2006-4684: Zope2 Zope Allows Remote Attackers To Vulnerability

MODERATE
Advisory Identifier: GHSA-hm8g-jxjj-gfm3
Published
Advisory Summary

CVE-2006-4684 is a MODERATE zope allows remote attackers to vulnerability (General Security Weakness) affecting Zope2 libraries in the PyPI ecosystem. The issue involves zope allows remote attackers to read arbitrary files. Remediation is available by upgrading affected packages to version 2.8.9.

CVE-2006-4684 at a Glance

CVE Identifier CVE-2006-4684
GHSA Identifier GHSA-hm8g-jxjj-gfm3
Severity MODERATE
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-4684

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: Latest secure release
pip install zope2>=Latest secure release
zope2 fixed: 2.8.9
pip install zope2>=2.8.9
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-4684, 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.8.9), 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

The docutils module in Zope (Zope2) 2.7.0 through 2.7.9 and 2.8.0 through 2.8.8 does not properly handle web pages with reStructuredText (reST) markup, which allows remote attackers to read arbitrary files via a csv_table directive, a different vulnerability than CVE-2006-3458.

CVE-2006-4684 Affected Zope2 Versions

2 component(s)
Fixed Versions:
2.8.9
Product / Package Ecosystem Affected Versions Fixed Version
zope2
PyPI
≥ 2.7.0
≤ 2.7.9
zope2
PyPI
≥ 2.8.0
< 2.8.9
2.8.9

References

Frequently Asked Questions

What is CVE-2006-4684?
CVE-2006-4684 is a security vulnerability in Zope2 involving Zope allows remote attackers to read arbitrary files under General Security Weakness.
Which Zope2 versions are affected?
Affected versions include releases prior to 2.8.9 across affected packages: zope2.
What version fixes CVE-2006-4684?
Upgrading to 2.8.9 (or the latest patched release for your respective branch) resolves the vulnerability.
Is zope2 affected?
Yes, zope2 is affected in releases prior to Latest secure release, 2.8.9. Upgrade your dependency to Latest secure release, 2.8.9 or later.
What CWE is associated with CVE-2006-4684?
CVE-2006-4684 is classified under General Security Weakness.
How can I check PyPI dependencies for CVE-2006-4684?
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-hm8g-jxjj-gfm3",
  "modified" : "2024-11-21T23:19:22Z",
  "published" : "2022-05-01T07:20:57Z",
  "aliases" : [ "CVE-2006-4684" ],
  "summary" : "Zope allows remote attackers to read arbitrary files",
  "details" : "The docutils module in Zope (Zope2) 2.7.0 through 2.7.9 and 2.8.0 through 2.8.8 does not properly handle web pages with reStructuredText (reST) markup, which allows remote attackers to read arbitrary files via a csv_table directive, a different vulnerability than CVE-2006-3458.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "zope2"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.7.0"
      }, {
        "last_affected" : "2.7.9"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "zope2"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.8.0"
      }, {
        "fixed" : "2.8.9"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2006-4684"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/zope2/PYSEC-2006-8.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/zopefoundation/Zope"
  }, {
    "type" : "WEB",
    "url" : "http://mail.zope.org/pipermail/zope-announce/2006-August/002005.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2006/dsa-1176"
  }, {
    "type" : "WEB",
    "url" : "http://www.zope.org/Products/Zope/Hotfix-2006-08-21/Hotfix-20060821/README.txt"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-11-21T23:19:22Z",
    "nvd_published_at" : "2006-09-19T18:07:00Z"
  }
}