CVE-2024-34528
Python vulnerability analysis and mitigation

Overview

WordOps through version 3.20.0 contains a Time-of-Check Time-of-Use (TOCTOU) race condition vulnerability in the wo/cli/plugins/stackpref.py file. The vulnerability exists because the confpath os.open function does not use a mode parameter during file creation, allowing potential file manipulation between creation and permission changes (Github Issue, NVD).

Technical details

The vulnerability is classified as a Time-of-Check Time-of-Use (TOCTOU) race condition (CWE-367). The issue occurs in the file handling mechanism where file privileges are changed after creation and data writing, creating a window of opportunity for exploitation. According to CISA's assessment, the vulnerability has a CVSS v3.1 Base Score of 7.7 (High) with the vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N (NVD).

Impact

The vulnerability could allow an attacker to perform unauthorized read/write operations on files during the time window between file creation and permission changes. This could potentially lead to information disclosure or file manipulation if successfully exploited (Github Issue).

Mitigation and workarounds

The issue has been identified and marked for fixing in the next release. Users should update to a version newer than 3.20.0 once available. The fix will likely involve implementing proper file permission controls during file creation (NVD).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management