1. Archivio CVE
  2. 2026
  3. CVE-2026-112934

CVE-2026-112934

6.1 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H 6.1 – Media

Descrizione

filelock is a platform-independent file lock for Python. From 4.0.0 until 4.2.1, SoftReadWriteLock refreshes holder records by name, allowing another local user with rename access to the lock directory to replace a record with a named pipe and stall the lock, or under a permissive hard-link policy to link a reachable target file and cause the lock user to write through it. This issue is fixed in version 4.2.1.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
tox-dev filelock >= 4.0.0 < 4.2.1 python
Tutte le 51 vulnerabilità di Tox-dev Filelock

Tipo di vulnerabilità

CWE-62 UNIX Hard Link

The product, when opening a file or directory, does not sufficiently account for when the name is associated with a hard link to a target that is outside of the intended control sphere. This could allow an attacker to cause the product to operate on unauthorized files.

Impatto sui sistemi

AmbitoImpatto
Riservatezza, Integrità Leggere file o cartelle, Modificare file o cartelle

Come si previene

Architettura e progettazione · Separazione dei privilegi Follow the principle of least privilege when assigning access rights to entities in a software system. Denying access to a file can prevent an attacker from replacing that file with a link to a sensitive file. Ensure good compartmentalization in the system to provide protected areas that can be trusted.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 2 CVE di tipo CWE-62, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org