8.1Hoch

CVE-2025-62156argo-workflows Zip Slip path traversal allows arbitrary file write and container configuration overwrite

argoproj argo-workflows Veröffentlicht: (vor 1 Jahr)

Beschreibung

Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. Versions prior to 3.6.12 and versions 3.7.0 through 3.7.2 contain a Zip Slip path traversal vulnerability in artifact extraction. During artifact extraction the unpack/untar logic (workflow/executor/executor.go) uses filepath.Join(dest, filepath.Clean(header.Name)) without validating that header.Name stays within the intended extraction directory. A malicious archive entry can supply a traversal or absolute path that, after cleaning, overrides the destination directory and causes files to be written outside the /work/tmp extraction path and into system directories such as /etc inside the container. The vulnerability enables arbitrary file creation or overwrite in system configuration locations (for example /etc/passwd, /etc/hosts, /etc/crontab), which can lead to privilege escalation or persistence within the affected container. Update to 3.6.12 or 3.7.3 to remediate the issue.

Schwachstellentyp (CWE): CWE-22

Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.

Betroffene Produkte und Versionen

HerstellerProduktVersionen
argoproj argo-workflows < 3.6.12, >= 3.7.0, < 3.7.3

Referenzen und Patches

CPE-Treffer (NVD) (2)

  • cpe:2.3:a:argoproj:argo_workflows:*:*:*:*:*:go:*:* < 3.6.12
  • cpe:2.3:a:argoproj:argo_workflows:*:*:*:*:*:go:*:* ≥ 3.7.0 < 3.7.3