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

CVE-2026-19730

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

Descrizione

The 'podman quadlet install --replace' command opens the existing destination file with O_CREATE|O_WRONLY but omits O_TRUNC. When the initial reflink copy attempt fails (common on non-reflink-capable filesystems including many RHEL default XFS configurations), the fallback in ReflinkOrCopy uses io.Copy which performs a non-truncating write. If the original Quadlet is larger than the new Quadlet, the file is not truncated and content from the original is preserved. The command completes with no warning. There is no risk of information leakage as the user already had access to the Quadlet in order to replace it, and in most cases, this would only lead to invalid Quadlet files. However, security-related options from the end of the old Quadlet could be included in the new Quadlet, and if the truncation resulted in a valid Quadlet file, this could result in undesirable behavior. For example, running podman quadlet install --replace to remove a single line from the end of a Quadlet - including security-sensitive content, like AddCapability - will fail, and the option will continue to be used. Further, with Volume Quadlets, this can include additional mounts which can cause content to be unintentionally exposed into containers. If, later, the image is updated then compromised content might be leaked to an attacker. The vulnerable code paths are in pkg/domain/infra/abi/quadlet.go (lines 338-360, O_CREATE|O_WRONLY without O_TRUNC) and vendor/go.podman.io/storage/pkg/fileutils/reflink_linux.go (lines 12-19, non-truncating io.Copy fallback).

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
redhat ansible automation platform 2 –
redhat container native virtualization 4 –
redhat enterprise linux 10.2 –
redhat enterprise linux 9 –
redhat enterprise linux 8 –
redhat hummingbird 1 –
redhat openshift 4 –
redhat openshift 5 –
redhat openshift devspaces 3 –
redhat quay 3 –
Tutte le 2.765 vulnerabilità di Redhat Enterprise Linux

Tipo di vulnerabilità

CWE-459 Incomplete Cleanup

The product does not properly clean up and remove temporary or supporting resources after they have been used.

Impatto sui sistemi

AmbitoImpatto
Altro, Riservatezza, Integrità Altro, Leggere i dati dell’applicazione, Modificare i dati dell’applicazione, Interruzione del servizio: esaurimento di risorse

Come si previene

Architettura e progettazione · Sviluppo Temporary files and other supporting resources should be deleted/released immediately after they are no longer needed.

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

Tutte le 255 CVE di tipo CWE-459, con andamento e prevenzione

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