CVE-2021-32674: Remote Code Execution via traversal in TAL expressions
Vulnerability summary
CVE-2021-32674 is a high (CVSS 8.8) vulnerability in zope. EPSS estimates a 1.59% chance of exploitation in the next 30 days, higher than 75.6% of scored vulnerabilities.
Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 08-06-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
Zope is an open-source web application server. This advisory extends the previous advisory at https://github.com/zopefoundation/Zope/security/advisories/GHSA-5pr9-v234-jw36 with additional cases of TAL expression traversal vulnerabilities. Most Python modules are not available for using in TAL expressions that you can add through-the-web, for example in Zope Page Templates. This restriction avoids file system access, for example via the 'os' module. But some of the untrusted modules are available indirectly through Python modules that are available for direct use. By default, you need to have the Manager role to add or edit Zope Page Templates through the web. Only sites that allow untrusted users to add/edit Zope Page Templates through the web are at risk. The problem has been fixed in Zope 5.2.1 and 4.6.1. The workaround is the same as for https://github.com/zopefoundation/Zope/security/advisories/GHSA-5pr9-v234-jw36: A site administrator can restrict adding/editing Zope Page Templates through the web using the standard Zope user/role permission mechanisms. Untrusted users should not be assigned the Zope Manager role and adding/editing Zope Page Templates through the web should be restricted to trusted users only.
CVSS metrics
5 scores · 3 sources · 3 versions- OSV · PypiEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.59%
Chance of exploitation in the next 30 days
Percentile
76%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.59% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
PyPI1 product
- zope< 4.6.1 | < 1d897910139e2c0b11984fc9b78c1da1365bec21 | ≥ 5.0, < 5.2.1
Zope1 product
- zope< 4.6.1 | ≥ 5.0.0, < 5.2.1
Zopefoundation1 product
- zope≥ 5.0.0, < 5.2.1 | < 4.6.1
3 vendors · 3 products
References
10 links- github.com/zopefoundation/Zope/security/advisories/GHSA-rpcg-f9q6-2mq6X Refsource CONFIRMWEBAdvisoryThird Party Advisory
- github.com/zopefoundation/Zope/security/advisories/GHSA-5pr9-v234-jw36X Refsource MISCWEBThird Party Advisory
- github.com/zopefoundation/Zope/commit/1d897910139e2c0b11984fc9b78c1da1365bec21X Refsource MISCWEBFIXPatchThird Party Advisory