1. Archivio CVE
  2. 2025
  3. CVE-2025-71176

CVE-2025-71176

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

Descrizione

pytest through 9.0.2 on UNIX relies on directories with the /tmp/pytest-of-{user} name pattern, which allows local users to cause a denial of service or possibly gain privileges.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
pytest pytest <= 9.0.2 –

Tipo di vulnerabilità

CWE-379 Creation of Temporary File in Directory with Insecure Permissions

The product creates a temporary file in a directory whose permissions allow unintended actors to determine the file's existence or otherwise access that file.

Impatto sui sistemi

AmbitoImpatto
Riservatezza Leggere i dati dell’applicazione

Come si previene

Requisiti Many contemporary languages have functions which properly handle this condition. Older C temp file functions are especially susceptible.
Sviluppo Try to store sensitive tempfiles in a directory which is not world readable -- i.e., per-user directories.
Sviluppo Avoid using vulnerable temp file functions.

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

Tutte le 45 CVE di tipo CWE-379, con andamento e prevenzione

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