filelock: Readable database oplock delays async cancellation on WindowsGHSA-x9cq-qqfm-8972
LOWFix: tox-dev/filelock@2a7f045GHSA-x9cq-qqfm-8972 is a low-severity (CVSS 2.5) CWE-834 vulnerability. A fix is available — see the affected versions and patch details below.
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for GHSA-x9cq-qqfm-8972.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Description
filelock is a platform-independent file lock for Python. Prior to 4.3.0, on Windows, another local account with read access to a SQLite lock database can delay cancellation of an AsyncReadWriteLock acquisition. The task and application shutdown can wait past the task deadline, up to the lock's own timeout. Older databases and deliberately shared databases may grant the necessary access. The delay is caused by a Windows opportunistic lock (oplock). This issue is fixed in version 4.3.0.
Detection & mitigation playbook
VulnerabilityDetect
Identify every host running the affected component and compare the installed build against the fixed version below — for source-built or distro-packaged software the version string, not a lockfile, is the source of truth (`dpkg -l`, `rpm -q`, or the binary's own `--version`).
Fix
Upgrade the affected component to the fixed release for GHSA-x9cq-qqfm-8972, or apply your distribution's backported patch — distro builds are often patched at an older version number, so check your vendor's advisory rather than the upstream version alone.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-x9cq-qqfm-8972 in your dependencies?
Find it across your dependency tree, including transitive dependencies.