Skip to content

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

MediumCVSS 5.8 EPSS 0.34%
Published
Updated
Exploit status
No public exploit known

Description

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.

Affected products

ProductAffected versionsFixed in
hashicorp github.com/hashicorp/nomad(Go) >= 0.6.1, < 1.6.14 1.6.14
hashicorp github.com/hashicorp/nomad(Go) >= 1.7.0, < 1.7.11 1.7.11
hashicorp github.com/hashicorp/nomad(Go) >= 1.8.0, < 1.8.3 1.8.3
hashicorp github.com/hashicorp/nomad(Go) >= 0.6.1, < 1.8.3 1.8.3
hashicorp github.com/hashicorp/nomad >= 0.6.1, < 1.8.3 1.8.3
hashicorp Nomad Enterprise >= 0.6.1, < 1.6.14 1.6.14
hashicorp github.com/hashicorp/nomad >= 0.6.1, < 1.6.14 1.6.14
hashicorp github.com/hashicorp/nomad >= 1.7.0, < 1.7.11 1.7.11
hashicorp github.com/hashicorp/nomad >= 1.8.0, <= 1.8.3 No fix listed
hashicorp github.com/hashicorp/nomad >= 1.8.0, < 1.8.3 1.8.3

References