Advisory

GHSA-25qx-vfw2-fw8r

Also known as: CVE-2024-7625, GO-2024-3073

Summary

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

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-08-15 00:30 UTC
Modified
2024-09-25 19:27 UTC

Affected packages and fixes

github.com/hashicorp/nomad

Go · All systems

Affected

  • introduced 0.6.1, fixed 1.6.14 (semver)

Fixed versions

1.6.14

Fix

github.com/hashicorp/nomad

Go · All systems

Affected

  • introduced 1.7.0, fixed 1.7.11 (semver)

Fixed versions

1.7.11

Fix

github.com/hashicorp/nomad

Go · All systems

Affected

  • introduced 1.8.0, fixed 1.8.3 (semver)

Fixed versions

1.8.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences