VDB

CVE-2021-32811

CVE-2021-32811 PUBLISHED CVSS 7.5 HIGH

Remote Code Execution via Script (Python) objects under Python 3

Reported by github_m · Published August 2, 2021

AccessControl is fixed in 5.2 and 4.3 (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
AccessControlPyPI5.2, 4.3
zopePyPIf72a18dda8e9bf2aedb46168761668464a4be988, 5.3, 4.6.3
accesscontrolzope5.2, 4.3
zopezope5.3, 4.6.3

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
zopefoundationZope>= 4.0, < 4.6.3, >= 5.0, < 5.3
PyPIAccessControl4.0, 5.0
zopefoundationZope4.0, 5.0
PyPIzope4.0.0, 5.0.0

Timeline

  • Aug 2, 2021 CVE Published
  • Aug 3, 2021 EPSS Score (30 in total, the first dated here)
  • Sep 3, 2024 CVE Updated
  • Mar 17, 2026 Security Advisory (2 in total, the first dated here)
  • Aug 1, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-32811
vulnetix vdb fixes CVE-2021-32811

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-32811/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›