Vulnerabilities in pkg:pypi/wordops
PACKAGECVE-2024-34528 is a MODERATE (CVSS 7.7) wordops has toctou race condition vulnerability (CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')) affecting Wordops libraries in the PyPI ecosystem. The issue involves wordops has toctou race condition. Remediation is available by upgrading affected packages to version 3.21.0.
pkg:pypi/wordops
Vulnerability advisories affecting package pkg:pypi/wordops. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-23qq-p4gq-gc2g | CVE-2024-34528 | MODERATE | WordOps has TOCTOU race condition |
CVE-2024-34528 at a Glance
Security Impact
CVSS: 7.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2024-34528
To remediate this vulnerability, upgrade all affected Wordops dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install wordops>=3.21.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show wordops
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2024-34528, inspect your installed packages using pip:
pip show wordops
Analyze the terminal output to locate any version of Wordops in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.21.0), your application is affected.
Note: The pip show wordops command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition'), where the product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently. In Wordops, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-34528 Affected Wordops Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
wordops
|
PyPI |
< 3.21.0
|
3.21.0
|
References
Frequently Asked Questions
What is CVE-2024-34528?
Which Wordops versions are affected?
What version fixes CVE-2024-34528?
Is wordops affected?
What is the CVSS score of CVE-2024-34528?
What CWE is associated with CVE-2024-34528?
How can I check PyPI dependencies for CVE-2024-34528?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-23qq-p4gq-gc2g",
"modified" : "2025-01-21T18:28:26Z",
"published" : "2024-05-06T00:30:52Z",
"aliases" : [ "CVE-2024-34528" ],
"summary" : "WordOps has TOCTOU race condition",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "wordops"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.21.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-34528"
}, {
"type" : "WEB",
"url" : "https://github.com/WordOps/WordOps/issues/611"
}, {
"type" : "WEB",
"url" : "https://github.com/WordOps/WordOps/commit/31353f0fef14ad8bc1f61c028971bd30b9e1909b"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/WordOps/WordOps"
}, {
"type" : "WEB",
"url" : "https://github.com/WordOps/WordOps/blob/ecf20192c7853925e2cb3f8c8378cd0d86ca0d62/wo/cli/plugins/stack_pref.py#L77"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/wordops/PYSEC-2024-175.yaml"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-362", "CWE-367" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-06T14:35:39Z",
"nvd_published_at" : "2024-05-06T00:15:10Z"
}
}