filelock ReadWriteLock: a crafted lock database makes every acquire stall or hang regardless of timeout (tox-dev filelock)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.22 % Β· percentile 12 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Analyzed
Description
filelock is a platform-independent file lock for Python. From 3.20.4 until 4.2.1, ReadWriteLock can open a crafted SQLite lock database without bounding schema and query work, allowing another local user who can replace the database to make acquisition stall or hang; versions from 3.20.4 expose this on initial per-instance opening, and versions from 3.30.0 repeat the exposure on every acquisition. This issue is fixed in version 4.2.1.
Weaknesses (CWE)
- CWE-400 β Uncontrolled Resource Consumption
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | GitHub_M |
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD Β· security-advisories@github.com (Secondary) |
Advisories
- GHSA-cwqr-hh33-gh44 β filelock ReadWriteLock: a crafted lock database makes every acquire stall or hang regardless of timeout
European references
- ENISA EUVD Β· EUVD-2026-105021
- GCVE Β· GCVE-0-2026-112915
Affected configurations (NVD CPE)
cpe:2.3:a:tox-dev:filelock:*:*:*:*:*:python:*:*β₯ 3.20.4 < 4.2.1
Affected products
| Product | Versions |
|---|---|
| tox-dev Β· filelock | affected >= 3.20.4, < 4.2.1 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |