In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade filelock to version 4.3.0 or higher.
Affected versions of this package are vulnerable to Improper Locking via the soft lock liveness check in _identity.py when locking processes share a /proc mount from a foreign PID namespace. The numeric PID recorded by a lock holder can collide with an unrelated process visible through that mismatched procfs, causing the soft lock to treat a live holder as stale. This allows two concurrent holders to enter the protected section at the same time, breaking mutual exclusion.
Note: This is only exploitable on Linux when locking processes operate across different PID namespaces that share a single /proc mount (for example, after unshare --pid without --mount-proc, or after a partial setns into only one of the PID and mount namespaces).