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-8mx5-7m5m-r77g: filelock: WindowsFileLock ignores mode: a 0o600 lock file and the ReadWriteLock database inherit the directory ACL

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

Summary

On Windows, filelock's WindowsFileLock ignores the mode argument, so a FileLock created with mode=0o600 receives no security descriptor of its own and inherits the access list of its directory, as does the ReadWriteLock SQLite database. Where the directory's inheritable ACL grants other local accounts access to new files, those accounts can open the lock file or database, take the byte-range lock, and read holder metadata. Affected versions are filelock 3.10.0 through 4.2.0 on Windows.

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