filelock is a platform-independent file lock for Python. Prior to 4.3.0, a ReadWriteLock database can retain an untrusted SQLite journal after its directory changes from shared to private. Opening the database can delete an unrelated file that the locking account has permission to read and remove. Changing directory permissions does not remove existing journals. This issue is fixed in version 4.3.0.
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub