Descrizione
A TOCTOU (Time-of-Check Time-of-Use) vulnerability in GNU tar's incremental dumpdir 'X' rename handling allows a local attacker with write access to a directory being backed up to influence the restore process if the attacker has access to the system where the restore is being performed. During restoration, files or directories may be created, renamed or overwritten outside the intended extraction directory. This could lead to unauthorized file modification or, in some cases, privilege escalation. Exploitation does not require the attacker to modify or craft the archive, and standard backup and restore workflows—including extracting into a newly created directory without using the -P option do not mitigate the issue.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 4.4.
Versioni da aggiornare
- Gnu Tar: vulnerabile la versione
1.35→ installare l'ultima release supportata dal vendor. - Redhat Openshift Container Platform: vulnerabile la versione
4.0→ installare l'ultima release supportata dal vendor. - Redhat Enterprise Linux: vulnerabile la versione
8.0→ installare l'ultima release supportata dal vendor. - Redhat Enterprise Linux: vulnerabile la versione
9.0→ installare l'ultima release supportata dal vendor. - Redhat Enterprise Linux: vulnerabile la versione
10.0→ installare l'ultima release supportata dal vendor.
Patch e advisory
- Advisory del vendor: access.redhat.com/errata/RHSA-2026:49361
- Advisory del vendor: access.redhat.com/security/cve/CVE-2026-18477
- Advisory del vendor: bugzilla.redhat.com/show_bug.cgi
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Limitare l'accesso di rete al servizio e applicare limiti di connessione per ridurre la finestra di sfruttamento.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| Gnu | Tar | 1.35 | — |
| Redhat | Openshift Container Platform | 4.0 | — |
| Redhat | Enterprise Linux | 8.0 | — |
| Redhat | Enterprise Linux | 9.0 | — |
| Redhat | Enterprise Linux | 10.0 | — |
Riferimenti
- Advisory del vendorhttps://access.redhat.com/errata/RHSA-2026:49361
- Advisory del vendorhttps://access.redhat.com/security/cve/CVE-2026-18477
- Advisory del vendorhttps://bugzilla.redhat.com/show_bug.cgi?id=2509735
- Riferimentohttps://access.redhat.com/errata/RHSA-2026:61581
- Riferimentohttps://access.redhat.com/errata/RHSA-2026:61586
- Riferimentohttps://access.redhat.com/errata/RHSA-2026:61783
- Riferimentohttps://access.redhat.com/errata/RHSA-2026:66018
- Riferimentohttps://access.redhat.com/errata/RHSA-2026:70390