Skip to content
Fencer Vulns
medium 5.8

CVE-2024-7625 json

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

published 2024-08-14 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-2459 , GHSA-25qx-vfw2-fw8r , GO-2024-3073

cvss
5.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 27%
public exploits
0
none known

Summary

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.

Patch / fix

  • go github.com/hashicorp/nomad 1.6.14, 1.7.11, 1.8.3
  • HashiCorp Nomad 1.8.3
  • HashiCorp Nomad Enterprise 1.6.14, 1.7.11, 1.8.3

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.34% chance of exploitation in the next 30 days, higher than 27% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 5.8 CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:N
GitHub 3.1 5.8 CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:N

Affected packages

ecosystem package affected fixed in
go github.com/hashicorp/nomad
>=0.6.1, <1.6.14
>=1.7.0, <1.7.11
>=1.8.0, <1.8.3
>=0.6.1, <1.8.3
1.6.14
1.7.11
1.8.3

Affected products

  • HashiCorp Nomad
  • HashiCorp Nomad Enterprise

Classification

Weakness
  • CWE-610 Externally Controlled Reference to a Resource in Another Sphere

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.