Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. wordops
  4. ›
  5. CVE-2024-34528

CVE-2024-34528: WordOps has TOCTOU race condition

May 6, 2024 (updated January 21, 2025)

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.

References

  • github.com/WordOps/WordOps
  • github.com/WordOps/WordOps/blob/ecf20192c7853925e2cb3f8c8378cd0d86ca0d62/wo/cli/plugins/stack_pref.py
  • github.com/WordOps/WordOps/commit/31353f0fef14ad8bc1f61c028971bd30b9e1909b
  • github.com/WordOps/WordOps/issues/611
  • github.com/advisories/GHSA-23qq-p4gq-gc2g
  • github.com/pypa/advisory-database/tree/main/vulns/wordops/PYSEC-2024-175.yaml
  • nvd.nist.gov/vuln/detail/CVE-2024-34528

Code Behaviors & Features

Detect and mitigate CVE-2024-34528 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.21.0

Fixed versions

  • 3.21.0

Solution

Upgrade to version 3.21.0 or above.

Impact 7.7 HIGH

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

Learn more about CVSS

Weakness

  • CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
  • CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition

Source file

pypi/wordops/CVE-2024-34528.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:26 +0000.