Vulnerability   
Search   
    Search 324607 CVE descriptions
and 145615 test descriptions,
access 10,000+ cross references.
Tests   CVE   All  

Test ID:1.3.6.1.4.1.25623.1.0.146437
Category:Web Servers
Title:Zope RCE Vulnerability (GHSA-g4gq-j4p2-j8fr)
Summary:Zope is prone to a remote code execution (RCE) vulnerability; via Script (Python) objects under Python 3.
Description:Summary:
Zope is prone to a remote code execution (RCE) vulnerability
via Script (Python) objects under Python 3.

Vulnerability Insight:
The optional add-on package Products.PythonScripts adds Script
(Python) to the list of content items a user can add to the Zope object database. Inside these
scripts users can write Python code that is executed when rendered through the web. The code
environment in these script objects is limited, it relies on the RestrictedPython package to
provide a 'safe' subset of Python instructions as well as the AccessControl package that defines
security policies for execution in the context of a Zope application.

Recently the AccessControl package was updated to fix a remote code execution security issue. The
bug tightens the AccessControl security policies for Zope by blocking access to unsafe classes
inside the Python string module.

You are only affected if the following are true:

- You use Python 3 for your Zope deployment (Zope 4 on Python 2 is not affected)

- You run Zope 4 below version 4.6.3 or Zope 5 below version 5.3

- You have installed the optional Products.PythonScripts add-on package

By default, you need to 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.

Affected Software/OS:
Zope version 4.0 through 4.6.2 and 5.0 through 5.2.

Solution:
Update to version 4.6.3, 5.3 or later.

CVSS Score:
6.5

CVSS Vector:
AV:N/AC:L/Au:S/C:P/I:P/A:P

Cross-Ref: Common Vulnerability Exposure (CVE) ID: CVE-2021-32811
https://github.com/zopefoundation/Zope/security/advisories/GHSA-g4gq-j4p2-j8fr
https://github.com/zopefoundation/AccessControl/security/advisories/GHSA-qcx9-j53g-ccgf
https://github.com/zopefoundation/Zope/commit/f72a18dda8e9bf2aedb46168761668464a4be988
CopyrightCopyright (C) 2021 Greenbone AG

This is only one of 145615 vulnerability tests in our test suite. Find out more about running a complete security audit.

To run a free test of this vulnerability against your system, register below.




© 1998-2025 E-Soft Inc. All rights reserved.