CVE-2021-32811Zope Accesscontrol
High 7.2
Follow: this CVE · Zope · Zope Accesscontrol We alert you by email or Slack (account required).
- Priority
- 43
- CVSS 3.1
- 7.2
- EPSS
- 2.3% probability of exploitation in 30 days · percentile 84
- Auth required
- Yes
- Published
- Aug 2, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Accesscontrol.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | accesscontrol |
≥ 4.0 < 4.3 |
4.3 |
pip install "accesscontrol>=4.3" |
| PyPI | accesscontrol |
≥ 5.0 < 5.2 |
5.2 |
pip install "accesscontrol>=5.2" |
| PyPI | zope |
≥ 4.0 < 4.6.3 |
4.6.3 |
pip install "zope>=4.6.3" |
| PyPI | zope |
≥ 5.0 < 5.3 |
5.3 |
pip install "zope>=5.3" |
| PyPI | zope |
≥ 4.0 < 4.6.3 |
4.6.3 |
pip install "zope>=4.6.3" |
| PyPI | zope |
≥ 5.0 < 5.3 |
5.3 |
pip install "zope>=5.3" |
Per OSV / GitHub Advisories (PYSEC-2021-370, GHSA-g4gq-j4p2-j8fr, PYSEC-2021-368). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| zope | accesscontrol | ≥ 4.0 < 4.3 |
| zope | accesscontrol | ≥ 5.0 < 5.2 |
| zope | zope | ≥ 4.0 < 4.6.3 |
| zope | zope | ≥ 5.0 < 5.3 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Third Party Advisory