{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-32811","id":"CVE-2021-32811","title":"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","descriptionLong":"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.","published":"2021-08-02T21:55:11.000Z","updated":"2026-10-24T10:50:13.209611597Z","reserved":"2021-05-12T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"4.0","score":null,"vector":"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","rating":"high","source":"GitHub"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":["zopefoundation Zope"],"affectedProducts":[{"vendor":"zopefoundation","product":"Zope","defaultStatus":null,"versions":[{"status":"affected","version":">= 4.0, < 4.6.3"},{"status":"affected","version":">= 5.0, < 5.3"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"zope","purl":"pkg:pypi/zope","ranges":[">=4.0 <4.6.3",">=5.0 <5.3"],"fixed":["4.6.3","5.3"],"advisory":"GHSA-g4gq-j4p2-j8fr"},{"ecosystem":"PyPI","name":"accesscontrol","purl":"pkg:pypi/accesscontrol","ranges":[">=4.0 <4.3",">=5.0 <5.2"],"fixed":["4.3","5.2"],"advisory":"PYSEC-2021-370"}],"cwes":["CWE-915","CWE-1321"],"aliases":["GHSA-g4gq-j4p2-j8fr","PYSEC-2021-368","PYSEC-2021-370"],"references":[{"url":"https://github.com/zopefoundation/Zope/security/advisories/GHSA-g4gq-j4p2-j8fr","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/zopefoundation/AccessControl/security/advisories/GHSA-qcx9-j53g-ccgf","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/zopefoundation/Zope/commit/f72a18dda8e9bf2aedb46168761668464a4be988","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32811","tags":["advisory"]},{"url":"https://github.com/zopefoundation/Zope/commit/869f947e586517566509e0ccdd4d99b60704cc02","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/zope/PYSEC-2021-368.yaml","tags":["web"]},{"url":"https://github.com/zopefoundation/Zope","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.02296,"epssPercentile":0.83639,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-32811","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32811","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-32811","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-g4gq-j4p2-j8fr","ok":true,"note":"GHSA-g4gq-j4p2-j8fr"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-32811","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}