CVE-2024-7625

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

State
Published
Severity
5.8 Medium
Published
Aug 14, 2024
Updated
Jan 9, 2025
Reserved
Aug 8, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.8 MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:NHashiCorp

Weaknesses

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

Affected Products

ProductVersions
NomadHashiCorp
  • 0.6.1 to before 1.8.3Affected
Nomad EnterpriseHashiCorp
  • 0.6.1 to before 1.8.3Affectedfrom 1.6.14Not affectedfrom 1.7.11Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.