1. Archivio CVE
  2. 2024
  3. CVE-2024-1753

CVE-2024-1753

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

Descrizione

A flaw was found in Buildah (and subsequently Podman Build) which allows containers to mount arbitrary locations on the host filesystem into build containers. A malicious Containerfile can use a dummy image with a symbolic link to the root filesystem as a mount source and cause the mount operation to mount the host root filesystem inside the RUN step. The commands inside the RUN step will then have read-write access to the host filesystem, allowing for full container escape at build time.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
– buildah 4.15.0 –
redhat enterprise linux 8 –
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.14 –
redhat openshift 4.15 –
redhat openshift 4.15 –
redhat openshift 3.11 –
redhat rhel e4s 9.2 –
redhat rhel els 7 –
redhat rhel eus 8.6 –
redhat rhel eus 8.8 –
redhat rhel eus 9.0 –
redhat rhel eus 9.2 –

Tipo di vulnerabilità

CWE-59 Risoluzione impropria dei collegamenti prima dell’accesso a un file (link following)

Il prodotto accede a un file in base al nome, ma non impedisce che quel nome sia un collegamento (link o scorciatoia) verso una risorsa diversa da quella prevista.

Impatto sui sistemi

AmbitoImpatto
Riservatezza, Integrità, Controllo degli accessi Leggere file o cartelle, Modificare file o cartelle, Aggirare i meccanismi di protezione
Altro Eseguire codice o comandi non autorizzati

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 1.874 CVE di tipo CWE-59, con andamento e prevenzione

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