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

CVE-2025-4953

7.4 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N 7.4 – Alta

Descrizione

A flaw was found in Podman. In a Containerfile or Podman, data written to RUN --mount=type=bind mounts during the podman build is not discarded. This issue can lead to files created within the container appearing in the temporary build context directory on the host, leaving the created files accessible.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
– podman < * –
redhat enterprise linux 8 –
redhat enterprise linux 10 –
redhat enterprise linux 9 –
redhat openshift 4.12 –
redhat openshift 4.12 –
redhat openshift 4.13 –
redhat openshift 4.13 –
redhat openshift 4.14 –
redhat openshift 4.15 –
redhat openshift 4.16 –
redhat openshift 4.16 –
redhat openshift 4.17 –
redhat openshift 4.18 –
redhat openshift 4.18 –

Tipo di vulnerabilità

CWE-378 Creation of Temporary File With Insecure Permissions

Opening temporary files without appropriate measures or controls can leave the file, its contents and any function that it impacts vulnerable to attack.

Impatto sui sistemi

AmbitoImpatto
Riservatezza Leggere i dati dell’applicazione
Autorizzazione, Altro Altro
Integrità, Altro Altro

Come si previene

Requisiti Many contemporary languages have functions which properly handle this condition. Older C temp file functions are especially susceptible.
Sviluppo Ensure that you use proper file permissions. This can be achieved by using a safe temp file function. Temporary files should be writable and readable only by the process that owns the file.
Sviluppo Randomize temporary file names. This can also be achieved by using a safe temp-file function. This will ensure that temporary files will not be created in predictable places.

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

Tutte le 31 CVE di tipo CWE-378, con andamento e prevenzione

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