NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

CVE-2024-7625: Nomad Vulnerable to Allocation Directory Escape On Non-Existing File Paths Through Archive Unpacking

mediumCVSS 4.0 4.6 · 3.1 5.8GHSA-25qx-vfw2-fw8r

In HashiCorp Nomad and Nomad Enterprise from 0.6.1 up to 1.6.13, 1.7.10, and 1.8.2, the archive unpacking process is vulnerable to writes outside the allocation directory during migration of allocation directories when multiple archive headers target the same file. This vulnerability, CVE-2024-7625, is fixed in Nomad 1.6.14, 1.7.11, and 1.8.3.

Published Aug 15, 2024 · Updated Sep 25, 2024

Affected packages

github.com/hashicorp/nomad

Ecosystem
Go
Affected
>= 0.6.1, < 1.6.14
Fixed in
1.6.14
Check
go list -m github.com/hashicorp/nomad

github.com/hashicorp/nomad

Ecosystem
Go
Affected
>= 1.7.0, < 1.7.11
Fixed in
1.7.11
Check
go list -m github.com/hashicorp/nomad

github.com/hashicorp/nomad

Ecosystem
Go
Affected
>= 1.8.0, < 1.8.3
Fixed in
1.8.3
Check
go list -m github.com/hashicorp/nomad

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

In HashiCorp Nomad and Nomad Enterprise from 0.6.1 up to 1.6.13, 1.7.10, and 1.8.2, the archive unpacking process is vulnerable to writes outside the allocation directory during migration of allocation directories when multiple archive headers target the same file. This vulnerability, CVE-2024-7625, is fixed in Nomad 1.6.14, 1.7.11, and 1.8.3. Access or compromise of the Nomad client agent at the source allocation first is a prerequisite for leveraging this vulnerability.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Go vulnerabilities

All Go entries