filelock is a platform-independent file lock for Python. From 3.22.0 until 4.2.1, soft lock classes on Windows read an existing marker with _read_lock...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:18.04:LTSpython-filelock |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:20.04:LTSpython-filelock |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:22.04:LTSpython-filelock |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:24.04:LTSpython-filelock |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10python-filelock |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSpython-filelock |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
filelock is a platform-independent file lock for Python. From 3.22.0 until 4.2.1, soft lock classes on Windows read an existing marker with _read_lock_file and remove a stale marker through break_lock_file using pathname operations that wait for an oplock break. Another local account with read access to an unheld marker can keep a Level 1 or batch oplock unanswered, causing SoftFileLock.acquire and related async or fallback locks to wait beyond timeout, blocking=False, and cancel_check. A stale marker under the oplock cannot be broken, but mutual exclusion remains intact and no file other than the marker is accessed. This issue is fixed in version 4.2.1.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report github.com
- report github.com
- report github.com
- report github.com
- report github.com