Skip to main content
Menu
Advisories

Untrusted lock waits can stall release of private async locks

GHSA-C7VG-7RQJ-FJHQPublished Updated GitHub

Description

Impact

Concurrent AsyncSoftReadWriteLock waits could occupy every worker in the default executor and delay the release of an unrelated private lock in the same process. This requires enough simultaneous waits and a workload that uses lock paths another account can influence, such as a group-writable, non-sticky directory.

Affected versions and mitigation

Confirmed affected: = 4.2.12. Upgrade to 4.3.0.

Each soft reader/writer wrapper now has a worker of its own by default. If the application supplies a shared executor, keep a worker available for releases. Limit concurrent waits and keep lock directories private or use appropriately protected sticky directories. Fix in PR #1073

Credits

Scan filelock-20261116-009; finding ANT-2026-O69ASZD0.

Affected versions

References

GitHub · tox-dev/filelock