GHSA-962m-m8jw-8wrr: Duplicate Advisory Path Traversal Vulnerability
HIGHGHSA-962m-m8jw-8wrr is a HIGH (CVSS 8.8) path traversal vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Duplicate Advisory libraries in the PyPI ecosystem. The issue involves path traversal in zope. Remediation is available by upgrading affected packages to version 4.6, 5.2.
GHSA-962m-m8jw-8wrr at a Glance
Security Impact
CVSS: 8.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).
How to Fix GHSA-962m-m8jw-8wrr
To remediate this vulnerability, upgrade all affected Duplicate Advisory 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 Zope>=4.6
pip install Zope>=5.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show Zope
How to Check if You Are Affected
To determine whether your Python environment is affected by GHSA-962m-m8jw-8wrr, inspect your installed packages using pip:
pip show Zope
Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.6), your application is affected.
Note: The pip show Zope command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In Duplicate Advisory, 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
GHSA-962m-m8jw-8wrr Affected Duplicate Advisory Versions
2 component(s)References
Frequently Asked Questions
What is GHSA-962m-m8jw-8wrr?
Which Duplicate Advisory versions are affected?
What version fixes GHSA-962m-m8jw-8wrr?
Is Zope affected?
What is the CVSS score of GHSA-962m-m8jw-8wrr?
What CWE is associated with GHSA-962m-m8jw-8wrr?
How can I check PyPI dependencies for GHSA-962m-m8jw-8wrr?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-962m-m8jw-8wrr",
"modified" : "2024-11-19T18:25:12Z",
"published" : "2021-06-15T16:10:49Z",
"withdrawn" : "2024-11-19T18:25:12Z",
"aliases" : [ ],
"summary" : "Duplicate Advisory: Path Traversal in Zope",
"details" : "## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-5pr9-v234-jw36. This link is maintained to preserve external references.\n\n## Original Description\nZope is an open-source web application server. In Zope versions prior to 4.6 and 5.2, users can access untrusted modules indirectly through Python modules that are available for direct use. By default, only users with the Manager role can add or edit Zope Page Templates through the web, but sites that allow untrusted users to add/edit Zope Page Templates through the web are at risk from this vulnerability. The problem has been fixed in Zope 5.2 and 4.6. As a workaround, a site administrator can restrict adding/editing Zope Page Templates through the web using the standard Zope user/role permission mechanisms. Untrusted users should not be assigned the Zope Manager role and adding/editing Zope Page Templates through the web should be restricted to trusted users only.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "Zope"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "Zope"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.0"
}, {
"fixed" : "5.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/zopefoundation/Zope/security/advisories/GHSA-5pr9-v234-jw36"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-32633"
}, {
"type" : "WEB",
"url" : "https://github.com/zopefoundation/Zope/commit/1f8456bf1f908ea46012537d52bd7e752a532c91"
}, {
"type" : "WEB",
"url" : "https://cyllective.com/blog/post/plone-authenticated-rce-cve-2021-32633"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/zopefoundation/Zope"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2021/05/21/1"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2021/05/22/1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2021-05-27T20:08:03Z",
"nvd_published_at" : "2021-05-21T14:15:00Z"
}
}