What’s Vulnerable › Vulnerabilities
CVE-2024-7625: Nomad Vulnerable to Allocation Directory Escape On Non-Existing File Paths Through Archive Unpacking
- Severity: medium (CVSS 5.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-08-15 · updated 2026-06-17
- Weakness: CWE-610
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
- HashiCorp Nomad Enterprise: from 0.6.1 before 1.6.14; from 1.7.0 before 1.7.11; from 1.8.0 through 1.8.3; from 1.8.0 before 1.8.3 — fixed in 1.6.14, 1.7.11, 1.8.3
How to fix
Upgrade to a fixed version: HashiCorp Nomad Enterprise 1.6.14, 1.7.11, 1.8.3. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2024-7625 or the next vulnerability affects your stack