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…
| CVE | CVE-2026-112915 |
|---|---|
| 来源 | GitHub Advisory Database |
| 获取时间 | 2026/10/29 09:48 |
| 数据 | Markdown JSON |
2026/10/29 06:08,GitHub Advisory Database 发布了“filelock ReadWriteLock: a crafted lock database makes every acquire stall or hang regardless of timeout”(类型:漏洞公告)。严重程度为“中危”(medium)。相关技术:Python、SQLite。CVE:CVE-2026-112915。