PYSEC-2021-368
Vulnerability from pysec - Published: 2021-08-02 22:15 - Updated: 2026-07-09 14:40Zope is an open-source web application server. Zope versions prior to versions 4.6.3 and 5.3 have a remote code execution security issue. In order to be affected, one must use Python 3 for one's Zope deployment, run Zope 4 below version 4.6.3 or Zope 5 below version 5.3, and have the optional Products.PythonScripts add-on package installed. By default, one must have the admin-level Zope "Manager" role to add or edit Script (Python) objects through the web. Only sites that allow untrusted users to add/edit these scripts through the web are at risk. Zope releases 4.6.3 and 5.3 are not vulnerable. As a workaround, a site administrator can restrict adding/editing Script (Python) objects through the web using the standard Zope user/role permission mechanisms. Untrusted users should not be assigned the Zope Manager role and adding/editing these scripts through the web should be restricted to trusted users only. This is the default configuration in Zope.
| Name | purl | zope | pkg:pypi/zope |
|---|
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "zope",
"purl": "pkg:pypi/zope"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "f72a18dda8e9bf2aedb46168761668464a4be988"
}
],
"repo": "https://github.com/zopefoundation/Zope",
"type": "GIT"
},
{
"events": [
{
"introduced": "4.0"
},
{
"fixed": "4.6.3"
},
{
"introduced": "5.0"
},
{
"fixed": "5.3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4.0",
"4.1",
"4.1.1",
"4.1.2",
"4.1.3",
"4.2",
"4.2.1",
"4.3",
"4.4",
"4.4.1",
"4.4.2",
"4.4.3",
"4.4.4",
"4.5",
"4.5.1",
"4.5.2",
"4.5.3",
"4.5.4",
"4.5.5",
"4.6",
"4.6.1",
"4.6.2",
"5.0",
"5.1",
"5.1.1",
"5.1.2",
"5.2",
"5.2.1"
]
}
],
"aliases": [
"CVE-2021-32811",
"GHSA-g4gq-j4p2-j8fr"
],
"details": "Zope is an open-source web application server. Zope versions prior to versions 4.6.3 and 5.3 have a remote code execution security issue. In order to be affected, one must use Python 3 for one\u0027s Zope deployment, run Zope 4 below version 4.6.3 or Zope 5 below version 5.3, and have the optional `Products.PythonScripts` add-on package installed. By default, one must have the admin-level Zope \"Manager\" role to add or edit Script (Python) objects through the web. Only sites that allow untrusted users to add/edit these scripts through the web are at risk. Zope releases 4.6.3 and 5.3 are not vulnerable. As a workaround, a site administrator can restrict adding/editing Script (Python) objects through the web using the standard Zope user/role permission mechanisms. Untrusted users should not be assigned the Zope Manager role and adding/editing these scripts through the web should be restricted to trusted users only. This is the default configuration in Zope.",
"id": "PYSEC-2021-368",
"modified": "2026-07-09T14:40:00Z",
"published": "2021-08-02T22:15:00Z",
"references": [
{
"type": "ADVISORY",
"url": "https://github.com/zopefoundation/Zope/security/advisories/GHSA-g4gq-j4p2-j8fr"
},
{
"type": "FIX",
"url": "https://github.com/zopefoundation/Zope/commit/f72a18dda8e9bf2aedb46168761668464a4be988"
}
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.