LiveActive security incident?Get immediate response
CVE Record

CVE-2021-32811: Remote Code Execution via Script (Python) objects under Python 3

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.

HighCVSS 7.5Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

This is a high-impact Zope flaw that can allow remote code execution, but only in a narrow configuration. Exposure requires Python 3, vulnerable Zope 4 or 5 versions, the optional Products.PythonScripts add-on, and users who can add or edit Script (Python) objects through the web.

Executive priority

Prioritize remediation where Zope is internet-facing or shared with semi-trusted users. The business risk is severe code execution, but the affected population is narrower than a default unauthenticated internet bug.

Technical view

CVE-2021-32811 affects Zope 4 before 4.6.3 and Zope 5 before 5.3 when deployed on Python 3 with Products.PythonScripts installed. The issue is classified as CWE-915 and has CVSS 7.5 with low privileges, high complexity, no user interaction, and high confidentiality, integrity, and availability impact.

Likely exposure

Likely exposure is limited to Zope sites that changed permissions or trust boundaries around Script (Python) editing. Default Zope configuration restricts this capability to the Manager role, so sites that do not grant untrusted users that role or equivalent script-edit access are less likely to be exploitable.

Exploitation context

The source bundle does not show KEV listing or active exploitation evidence. The vulnerability is remotely reachable in affected deployments, but exploitation requires low-privileged access and a non-default or risky permission model that lets untrusted users add or edit Script (Python) objects.

Researcher notes

Focus on configuration and authorization boundaries, not just package version. The advisory states default permissions limit Script (Python) editing to trusted Manager users, so exposure assessment should prove whether untrusted users can reach that workflow.

Mitigation direction

  • Upgrade Zope 4 deployments to 4.6.3 or later.
  • Upgrade Zope 5 deployments to 5.3 or later.
  • Restrict Script (Python) add/edit permissions to trusted users only.
  • Do not assign the Manager role to untrusted users.
  • Review vendor advisories before applying operational changes.

Validation and detection

  • Inventory Zope deployments and confirm major and minor versions.
  • Confirm whether each deployment runs on Python 3.
  • Check whether Products.PythonScripts is installed and enabled.
  • Review roles allowed to add or edit Script (Python) objects.
  • Verify untrusted users do not hold Manager or equivalent permissions.
Prepared
Confidence
high
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-915: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-32811 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.5 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
4Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.5CVSS 3.1HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H1.65.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

7.5High
CVSS 3.1 vector shape for CVE-2021-32811Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
zopefoundationZope>= 4.0, < 4.6.3, >= 5.0, < 5.3Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-915 · source CWE mapping

Improperly Controlled Modification of Dynamically-Determined Object Attributes

Improperly Controlled Modification of Dynamically-Determined Object Attributes represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.