CVE-2024-7625Externally Controlled Reference to a Resource in Another Sphere in Nomad

Severity
5.8MEDIUMNVD
EPSS
0.3%
top 47.03%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedAug 15
Latest updateAug 19

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.

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:NExploitability: 1.3 | Impact: 4.0

Affected Packages4 packages

CVEListV5hashicorp/nomad_enterprise0.6.11.8.3
CVEListV5hashicorp/nomad0.6.11.8.3
NVDhashicorp/nomad0.6.11.6.14+3
Gogithub.com/hashicorp_nomad0.6.11.8.3+3

🔴Vulnerability Details

5
OSV
Nomad Vulnerable to Allocation Directory Escape On Non-Existing File Paths Through Archive Unpacking in github.com/hashicorp/nomad2024-08-19
OSV
CVE-2024-7625: In HashiCorp Nomad and Nomad Enterprise from 02024-08-15
GHSA
Nomad Vulnerable to Allocation Directory Escape On Non-Existing File Paths Through Archive Unpacking2024-08-15
OSV
Nomad Vulnerable to Allocation Directory Escape On Non-Existing File Paths Through Archive Unpacking2024-08-15
CVEList
Nomad Vulnerable to Allocation Directory Escape On Non-Existing File Paths Through Archive Unpacking2024-08-14
CVE-2024-7625 — Hashicorp Nomad vulnerability | cvebase