GitHub Advisoryadvisory · Go

GHSA-25qx-vfw2-fw8r Nomad Vulnerable to Allocation Directory Escape On Non-Existing File Paths Through Archive Unpacking

MEDIUM Published 2024-08-15 Modified 2024-09-25 Official page ↗
Aliases
CVE-2024-7625
Ecosystem
Go
Packages
github.com/hashicorp/nomad
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:N
Weaknesses
CWE-610
Reviewed
2024-08-15

Affected packages

• Go github.com/hashicorp/nomad: >= 0.6.1, < 1.6.14 → fixed in 1.6.14 • Go github.com/hashicorp/nomad: >= 1.7.0, < 1.7.11 → fixed in 1.7.11 • Go github.com/hashicorp/nomad: >= 1.8.0, < 1.8.3 → fixed in 1.8.3

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.

Related

Alias · CVE (1)

  • CVE-2024-7625 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… vulnerability

Weakness · CWE (1)

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

References