CVE-2021-32811
Remote Code Execution via Script (Python) objects under Python 3
Description
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.
How to fix CVE-2021-32811
To remediate CVE-2021-32811, upgrade the affected package to a fixed version below.
- —upgrade to 4.3 or later
- —upgrade to 4.6.3 or later
- —upgrade to f72a18dda8e9bf2aedb46168761668464a4be988 or later
Is CVE-2021-32811 being exploited?
Low — EPSS is 2.3%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- >= 4.0, < 4.3, >= 5.0, < 5.2
- >= 4.0, < 4.6.3
- from 0, < f72a18dda8e9bf2aedb46168761668464a4be988 | >= 4.0, < 4.6.3, >= 5.0, < 5.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | 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 |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |