Vulnerability record · OpenEuler 24.03-LTS
An update for python-filelock is now available for openEuler-24.03-LTS
OpenEuler 24.03-LTS
What it fixes
Synopsis:
python-filelock security updateSummary:
An update for python-filelock is now available for openEuler-24.03-LTSDescription:
This package contains a single module, which implements a platform independent file locking mechanism for Python.
filelock is a platform-independent file lock for Python. Prior to version 3.20.3, a TOCTOU race condition vulnerability exists in the SoftFileLock implementation of the filelock package. An attacker with local filesystem access and permission to create symlinks can exploit a race condition between the permission validation and file creation to cause lock operations to fail or behave unexpectedly. The vulnerability occurs in the _acquire() method between raise_on_not_writable_file() (permission check) and os.open() (file creation). During this race window, an attacker can create a symlink at the lock file path, potentially causing the lock to operate on an unintended target file or leading to denial of service. This issue has been patched in version 3.20.3.(CVE-2026-22701)Topic:
An update for python-filelock is now available for openEuler-24.03-LTS.
openEuler Security has rated this update as having a security impact of medium. A Common Vunlnerability Scoring System(CVSS)base score,which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section.Severity:
MediumAffected Component:
python-filelock
Manual fix · OpenEuler 24.03-LTS
sudo dnf upgrade python-filelock python-filelock-doc python-filelock-help python3-filelockrpm -q python-filelock python-filelock-doc python-filelock-help python3-filelockSources