filelock: SoftFileLock stale-lock break removes a live lock file on a reused inode number and admits two holders
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in filelock 4.2.1.
filelock is a platform-independent file lock for Python. From 3.22.0 until 4.2.1, SoftFileLock can break a stale marker after an attacker frees its own marker following the stale read, an honest contender creates a live successor on the reused inode, and the successor's modification time is not newer than the saved observation, causing the live marker to be removed and two holders to be admitted. This issue is fixed in version 4.2.1.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| tox-dev | >=3.22.0 <4.2.1 | ||
| pypi: filelock | >=3.22.0 <=4.2.0 | 4.2.1 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in filelock (PyPI), strongest first
Embed
A live severity badge for an advisory, README or ticket