filelock ReadWriteLock: a crafted lock database makes every acquire stall or hang regardless of timeout
影響: pip:filelock >= 3.20.4, <= 4.2.0 → 4.2.1
ReadWriteLock and AsyncReadWriteLock (the SQLite-backed reader/writer lock) run PRAGMA journal_mode=MEMORY on a fresh connection for every acquire. That statement makes SQLite load the whole schema (the sqlite_master table, which lists every table and index with its CREATE text) of whatever file sits at the lock path. The caller's timeout reaches SQLite only as busy_timeout, which bounds waits for another connection's lock, not schema loading. The only content checks reject non-regular files an…
Read on GitHub Advisory Database
| CVE | CVE-2026-112915 |
|---|---|
| Source | GitHub Advisory Database |
| Fetched | 10/29/2026, 09:48 AM |
| Data | Markdown JSON |
On 10/29/2026, 06:08 AM, GitHub Advisory Database published "filelock ReadWriteLock: a crafted lock database makes every acquire stall or hang regardless of timeout" (type: Advisory). Severity is "Medium" (medium). Related technologies: Python, SQLite. CVE: CVE-2026-112915.