Advisory

PYSEC-2021-368

Also known as: CVE-2021-32811, GHSA-g4gq-j4p2-j8fr, PYSEC-2021-370

Summary

The record has no summary.

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.

Severity

Not rated by the source.

Dates

Published
2021-08-02 22:15 UTC
Modified
2026-07-09 16:56 UTC

Affected packages and fixes

zope

PyPI · All systems

Affected

  • introduced 4.0, fixed 4.6.3, introduced 5.0, fixed 5.3 (ecosystem)

Fixed versions

4.6.3, 5.3

Fix

  • Fixed version 4.6.3
    pip install --upgrade zope==4.6.3
  • Fixed version 5.3
    pip install --upgrade zope==5.3

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences