CVE-2024-34528 WordOps has TOCTOU race condition
A time-of-check time-of-use race condition in WordOps allows local attackers to escalate privileges or execute code via insecure file creation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-34528?
CVE-2024-34528 is a high-severity vulnerability in n/a, published on 5 May 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
WordOps through 3.20.0 has a wo/cli/plugins/stack_pref.py TOCTOU race condition because the conf_path os.open does not use a mode parameter during file creation.
Weakness: CWE-367
Which versions are affected by CVE-2024-34528?
3 open source packages ship an affected version, including wordops.
| Package | Affected | Fixed in |
|---|---|---|
wordops PyPI | All versions | 3.21.0 |
wordops PyPI | All versions | 3.21.0 |
wordops PyPI | All versions | 3.21.3 |
How do I fix CVE-2024-34528?
Upgrade wordops to a fixed version for your release line: 3.21.0 or 3.21.3.
Is CVE-2024-34528 being exploited?
There is no known exploitation of CVE-2024-34528 in the wild and no public exploit code.
Sources
Also known as GHSA-23qq-p4gq-gc2g, PYSEC-2024-175.