{"id":"UBUNTU-CVE-2021-32811","details":"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.","modified":"2025-10-24T04:50:21Z","published":"2021-08-02T22:15:00Z","upstream":["CVE-2021-32811"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-32811"},{"type":"REPORT","url":"https://github.com/zopefoundation/AccessControl/security/advisories/GHSA-qcx9-j53g-ccgf"},{"type":"REPORT","url":"https://github.com/zopefoundation/Zope/security/advisories/GHSA-g4gq-j4p2-j8fr"},{"type":"REPORT","url":"https://github.com/zopefoundation/Zope/commit/f72a18dda8e9bf2aedb46168761668464a4be988"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-32811"}],"affected":[{"package":{"name":"zope2.13","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/zope2.13@2.13.22-1ubuntu1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.13.22-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"zope2.13","binary_version":"2.13.22-1ubuntu1"},{"binary_name":"zope2.13-sandbox","binary_version":"2.13.22-1ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-32811.json"}},{"package":{"name":"zope2.13","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/zope2.13@2.13.22-1ubuntu1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.13.22-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"zope2.13","binary_version":"2.13.22-1ubuntu1"},{"binary_name":"zope2.13-sandbox","binary_version":"2.13.22-1ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-32811.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}