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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| HashiCorp | Nomad | 0.6.1 – < 1.8.3 | 1.8.3 |
| HashiCorp | Nomad Enterprise | 0.6.1 – < 1.8.3 | 1.8.3 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | nomad | No fix yet | — |
| Ubuntu 18.04 LTS | nomad | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/hashicorp/nomad | >= 0.6.1, < 1.6.14 | 1.6.14 | GHSA-25qx-vfw2-fw8r |
| Go | github.com/hashicorp/nomad | >= 1.7.0, < 1.7.11 | 1.7.11 | GHSA-25qx-vfw2-fw8r |
| Go | github.com/hashicorp/nomad | >= 1.8.0, < 1.8.3 | 1.8.3 | GHSA-25qx-vfw2-fw8r |
| Go | github.com/hashicorp/nomad | >= 0.6.1, < 1.8.3 | 1.8.3 | GO-2024-3073 |