CVE-2006-4684: Zope2 Zope Allows Remote Attackers To Vulnerability
MODERATECVE-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
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.
pip install zope2>=Latest secure release
pip install zope2>=2.8.9
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
CVE-2006-4684 Affected Zope2 Versions
2 component(s)| 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?
Which Zope2 versions are affected?
What version fixes CVE-2006-4684?
Is zope2 affected?
What CWE is associated with CVE-2006-4684?
How can I check PyPI dependencies for CVE-2006-4684?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}