ReadWriteLock write holds overlap on read-only SQLite header
Description
Impact
Two ReadWriteLock callers can both acquire a write lock if the shared SQLite database advertises a write format that SQLite treats as read-only. Another account needs write access to the lock database.
Affected versions and fix
The confirmed affected version is 4.2.12. Upgrade to filelock 4.3.0 or later. The lock rejects an unsupported SQLite write format before granting a hold. PR #979
Workaround
Restrict write access to the lock database and its directory to trusted participants.
Credits
Reported by OSS Scanner (ANT-2026-8CJFU5GI).