CVE-2021-32811 Remote Code Execution via Script (Python) objects under Python 3
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- Ubuntu
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.
Upgrade path
7 packages: 4 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/zope2.13(Ubuntu 16.04) | = 2.13.22-1ubuntu1; All versions | No fix listed | No fix yet |
| ubuntu/zope2.13(Ubuntu 18.04) | = 2.13.22-1ubuntu1; All versions | No fix listed | No fix yet |
| pypi accesscontrol(PyPI) | = 4.0; = 4.1; = 4.2; = 5.0 +3 more | 4.3, 5.2 | Fixed |
| pypi zope(PyPI) | = 4.0; = 4.0a1; = 4.0a2; = 4.0a3 +44 more | 4.6.3, 5.3 | Fixed |
| zope | >= 4.0, < 4.6.3; >= 5.0, < 5.3 | 4.6.3, 5.3 | Fixed |
| zope accesscontrol | >= 4.0, < 4.3; >= 5.0, < 5.2 | 4.3, 5.2 | Fixed |
| zopefoundation Zope | = >= 4.0, < 4.6.3; = >= 5.0, < 5.3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi zope(PyPI) | >= 4.0, < 4.6.3 | 4.6.3 |
| pypi zope(PyPI) | = 4.0 | No fix listed |
| pypi zope(PyPI) | = 4.1 | No fix listed |
| pypi zope(PyPI) | = 4.1.1 | No fix listed |
| pypi zope(PyPI) | = 4.1.2 | No fix listed |
| pypi zope(PyPI) | = 4.1.3 | No fix listed |
| pypi zope(PyPI) | = 4.2 | No fix listed |
| pypi zope(PyPI) | = 4.2.1 | No fix listed |
| pypi zope(PyPI) | = 4.3 | No fix listed |
| pypi zope(PyPI) | = 4.4 | No fix listed |
| pypi zope(PyPI) | = 4.4.1 | No fix listed |
| pypi zope(PyPI) | = 4.4.2 | No fix listed |
| pypi zope(PyPI) | = 4.4.3 | No fix listed |
| pypi zope(PyPI) | = 4.4.4 | No fix listed |
| pypi zope(PyPI) | = 4.5 | No fix listed |
| pypi zope(PyPI) | = 4.5.1 | No fix listed |
| pypi zope(PyPI) | = 4.5.2 | No fix listed |
| pypi zope(PyPI) | = 4.5.3 | No fix listed |
| pypi zope(PyPI) | = 4.5.4 | No fix listed |
| pypi zope(PyPI) | = 4.5.5 | No fix listed |
| pypi zope(PyPI) | = 4.6 | No fix listed |
| pypi zope(PyPI) | = 4.6.1 | No fix listed |
| pypi zope(PyPI) | = 4.6.2 | No fix listed |
| pypi zope(PyPI) | >= 5.0, < 5.3 | 5.3 |
| pypi zope(PyPI) | = 5.0 | No fix listed |
Show 40 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi zope(PyPI) | = 5.1 | No fix listed |
| pypi zope(PyPI) | = 5.1.1 | No fix listed |
| pypi zope(PyPI) | = 5.1.2 | No fix listed |
| pypi zope(PyPI) | = 5.2 | No fix listed |
| pypi zope(PyPI) | = 5.2.1 | No fix listed |
| pypi zope(PyPI) | = 5.0a2 | No fix listed |
| pypi zope(PyPI) | = 5.0a1 | No fix listed |
| pypi zope(PyPI) | = 4.0b10 | No fix listed |
| pypi zope(PyPI) | = 4.0b9 | No fix listed |
| pypi zope(PyPI) | = 4.0b8 | No fix listed |
| pypi zope(PyPI) | = 4.0b7 | No fix listed |
| pypi zope(PyPI) | = 4.0b6 | No fix listed |
| pypi zope(PyPI) | = 4.0b5 | No fix listed |
| pypi zope(PyPI) | = 4.0b4 | No fix listed |
| pypi zope(PyPI) | = 4.0b3 | No fix listed |
| pypi zope(PyPI) | = 4.0b2 | No fix listed |
| pypi zope(PyPI) | = 4.0b1 | No fix listed |
| pypi zope(PyPI) | = 4.0a6 | No fix listed |
| pypi zope(PyPI) | = 4.0a5 | No fix listed |
| pypi zope(PyPI) | = 4.0a4 | No fix listed |
| pypi zope(PyPI) | = 4.0a3 | No fix listed |
| pypi zope(PyPI) | = 4.0a2 | No fix listed |
| pypi zope(PyPI) | = 4.0a1 | No fix listed |
| pypi accesscontrol(PyPI) | >= 4.0, < 4.3 | 4.3 |
| pypi accesscontrol(PyPI) | >= 5.0, < 5.2 | 5.2 |
| pypi accesscontrol(PyPI) | = 4.0 | No fix listed |
| pypi accesscontrol(PyPI) | = 4.1 | No fix listed |
| pypi accesscontrol(PyPI) | = 4.2 | No fix listed |
| pypi accesscontrol(PyPI) | = 5.0 | No fix listed |
| pypi accesscontrol(PyPI) | = 5.1 | No fix listed |
| zope accesscontrol | >= 4.0, < 4.3 | 4.3 |
| zope accesscontrol | >= 5.0, < 5.2 | 5.2 |
| zope | >= 4.0, < 4.6.3 | 4.6.3 |
| zope | >= 5.0, < 5.3 | 5.3 |
| zopefoundation Zope | = >= 4.0, < 4.6.3 | No fix listed |
| zopefoundation Zope | = >= 5.0, < 5.3 | No fix listed |
| ubuntu/zope2.13(Ubuntu:16.04) | All versions | No fix listed |
| ubuntu/zope2.13(Ubuntu:16.04) | = 2.13.22-1ubuntu1 | No fix listed |
| ubuntu/zope2.13(Ubuntu:18.04) | All versions | No fix listed |
| ubuntu/zope2.13(Ubuntu:18.04) | = 2.13.22-1ubuntu1 | No fix listed |
References
- github.com issue-tracking third-party-advisory vendor-advisory
- github.com issue-tracking third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com issue-tracking patch third-party-advisory
- github.com
- github.com product
- github.com
- ubuntu.com issue-tracking
- www.cve.org issue-tracking