filelock is a platform-independent file lock for Python. Prior to 4.2.1, UnixFileLock can truncate a regular file renamed onto the lock path when anot...
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. Prior to 4.2.1, UnixFileLock can truncate a regular file renamed onto the lock path when another local user has actual rename permission, or hard-linked there under a permissive hard-link policy; when an explicit mode is requested, affected versions from 3.10.2 can also change that file's mode. 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