Descrizione
Argo Workflows 3.0.0 through 3.7.18, 4.0.0 before 4.0.12, and 4.1.0 before 4.1.4 contains a path traversal vulnerability in the S3, GCS, and Azure Blob artifact drivers. Attackers who can write bucket objects or supply malicious artifact sources can use object keys containing ../ sequences to write arbitrary files in the executor pod, achieving code execution.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 8.8.
Versioni da aggiornare
- argoproj argo-workflows: vulnerabili le versioni dalla
4.0.0precedenti alla4.0.12→ aggiornare alla4.0.12o successiva. - argoproj argo-workflows: vulnerabili le versioni dalla
4.1.0precedenti alla4.1.4→ aggiornare alla4.1.4o successiva. - argoproj argo-workflows: vulnerabili le versioni dalla
3.0.0fino alla3.7.18inclusa → aggiornare a una release successiva alla3.7.18.
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 |
|---|---|---|---|
| argoproj | argo-workflows | ≥ 4.0.0 < 4.0.12 | 4.0.12 |
| argoproj | argo-workflows | ≥ 4.1.0 < 4.1.4 | 4.1.4 |
| argoproj | argo-workflows | ≥ 3.0.0 ≤ 3.7.18 | — |
Riferimenti
- Riferimentohttps://github.com/argoproj/argo-workflows/blob/v4.1.3/workflow/artifacts/s3/s3.go#L800-L802
- Riferimentohttps://github.com/argoproj/argo-workflows/commit/b5b4d665e9be9b87c115f943584c3e0ae96fe073
- Riferimentohttps://github.com/argoproj/argo-workflows/commit/d087979dfac1f6b1f8a57b44c2ccd6bd55f1d696
- Riferimentohttps://github.com/argoproj/argo-workflows/releases/tag/v4.0.12
- Riferimentohttps://github.com/argoproj/argo-workflows/releases/tag/v4.1.4
- Riferimentohttps://github.com/argoproj/argo-workflows/security/advisories/GHSA-vm9v-p987-xm32
- Riferimentohttps://www.vulncheck.com/advisories/argo-workflows-3.0.0-through-3.7.18-before-4.0.12-and-4.1.4-path-traversal-via-artifact-drivers