Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
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.2.1 or higher.
Affected versions of this package are vulnerable to Incorrect Permission Assignment for Critical Resource via the strict-mode lock implementation in _strict.py and related soft read-write lock components, where claim directories are created with permissions that allow other local users to list or remove claim files. An attacker sharing the same host can delete a victim process's claim files from the lock's claims directory while the victim holds the lock, causing a second process to enter the critical section concurrently and bypassing the mutual-exclusion guarantee.
Note: This is only exploitable when no other user can replace the lock's directory or any of its ancestors, meaning the attack requires write access to the claims directory itself, which is possible when the victim process runs with a permissive umask (e.g. 0o000) that leaves the claims directory world-writable.