CVE-2021-32633: Remote Code Execution via traversal in TAL expressions
6.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.7528%
CWE
Published
6/18/2021
Updated
11/19/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
Zope | pip | < 4.6 | 4.6 |
Zope | pip | >= 5.0, < 5.2 | 5.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from insufficient validation of path traversal in TAL expressions. The commit patches show both functions lacked checks for names starting with underscores, which allowed attackers to traverse into protected attributes/modules. The added checks for 'name.startswith('_')' in both functions confirm these were the entry points for unsafe traversal. Exploit examples (e.g., 'random/_os/system') and CWE-22 classification further validate the path traversal mechanism as the root cause.