Skip to content

The classifier judged this item not relevant to AI security, so it is left out of lists, feeds, the API and dataset releases. If that is wrong, report a correction on this page.

MediumVulnerability

GHSA-69hj-f68j-2879: filelock: UnixFileLock truncates and chmods any regular file another user renames or hard-links onto the lock path

Published
Record updated
Affected
  • filelock <= 4.2.0
Fixed in
4.2.1
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.2%

Summary

filelock's UnixFileLock, the backend of FileLock and AsyncFileLock on Unix, truncates any regular file found at the lock path once it holds the flock, and chmods it when an explicit mode is set. Another local user who renames or hard-links a file of the lock user onto the lock path causes that file to be emptied by the lock user's next acquire(). Affected versions are all releases up to and including 4.2.0; the chmod behaviour dates from 3.10.2.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.

Affected packages in the Exposure Registry

Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.

  • filelockPyPINo LLM dependency detected · 42 tracked dependents