Descrizione
Improper limitation of a pathname to a restricted directory ('path traversal') vulnerability in Apache BuildStream allows malicious or compromised artifact or execution servers to write files on the host, with the privileges of the user running BuildStream, as part of `bst artifact checkout`. The impact of this issue is mitigated by: * BuildStream projects should only use trusted servers for remote cache and remote execution as otherwise the build output can also not be trusted This issue affects Apache BuildStream: through 2.8.1. Users are recommended to upgrade to version 2.8.2, which fixes the issue.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: EPSS 0.7% (percentile 47).
Versioni da aggiornare
- Apache Software Foundation Apache BuildStream: vulnerabili le versioni fino alla
2.8.1inclusa → aggiornare a una release successiva alla2.8.1.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Filtrare le sequenze di path traversal sul reverse proxy/WAF ed eseguire il servizio con permessi minimi sul filesystem.
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 |
|---|---|---|---|
| Apache Software Foundation | Apache BuildStream | ≤ 2.8.1 | — |