CVE-2021-32811
HIGH 7.2CVSS 3.1Remote Code Execution via Script (Python) objects under Python 3
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'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.
- Published
- 2 Aug 2021
- Last modified
- 9 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-1321CWE-915
- Also known as
- GHSA-g4gq-j4p2-j8frPYSEC-2021-368PYSEC-2021-370
- Sources
- NVDJSONOSV GHSA-g4gq-j4p2-j8frJSONOSV PYSEC-2021-368JSONOSV PYSEC-2021-370JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | zope | accesscontrolcpe:2.3:a:zope:accesscontrol:*:*:*:*:*:*:*:* |
>= 4.0, < 4.3 | 4.3 |
| NVD | zope | accesscontrolcpe:2.3:a:zope:accesscontrol:*:*:*:*:*:*:*:* |
>= 5.0, < 5.2 | 5.2 |
| NVD | zope | zopecpe:2.3:a:zope:zope:*:*:*:*:*:*:*:* |
>= 4.0, < 4.6.3 | 4.6.3 |
| NVD | zope | zopecpe:2.3:a:zope:zope:*:*:*:*:*:*:*:* |
>= 5.0, < 5.3 | 5.3 |
| OSV | PyPI | zope | >= 4.0, < 4.6.3 | 4.6.3 |
| OSV | PyPI | zope | >= 5.0, < 5.3 | 5.3 |
| OSV | PyPI | zope | >= 4.0, < 4.6.3; >= 5.0, < 5.3 | 4.6.3, 5.3 |
| OSV | PyPI | accesscontrol | >= 4.0, < 4.3; >= 5.0, < 5.2 | 4.3, 5.2 |
References
- https://github.com/zopefoundation/AccessControl/security/advisories/GHSA-qcx9-j53g-ccgf · Third Party Advisory, WEB
- https://github.com/zopefoundation/Zope/commit/f72a18dda8e9bf2aedb46168761668464a4be988 · Patch, Third Party Advisory, WEB, FIX
- https://github.com/zopefoundation/Zope/security/advisories/GHSA-g4gq-j4p2-j8fr · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2021-32811 · ADVISORY
- https://github.com/zopefoundation/Zope/commit/869f947e586517566509e0ccdd4d99b60704cc02 · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/zope/PYSEC-2021-368.yaml · WEB
- https://github.com/zopefoundation/Zope · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 2 Aug 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 2 Aug 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 2 Aug 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 5 Aug 2021)