CVE-2024-7625Hashicorp Nomad
Medium 5.8
Follow: this CVE · Hashicorp · Hashicorp Nomad We alert you by email or Slack (account required).
- Priority
- 35
- CVSS 3.1
- 5.8
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 40
- Auth required
- Yes
- Published
- Aug 15, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-610
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Nomad.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/hashicorp/nomad |
≥ 0.6.1 < 1.6.14 |
1.6.14 |
go get github.com/hashicorp/nomad@v1.6.14 |
| Go | github.com/hashicorp/nomad |
≥ 1.7.0 < 1.7.11 |
1.7.11 |
go get github.com/hashicorp/nomad@v1.7.11 |
| Go | github.com/hashicorp/nomad |
≥ 1.8.0 < 1.8.3 |
1.8.3 |
go get github.com/hashicorp/nomad@v1.8.3 |
| Go | github.com/hashicorp/nomad |
≥ 0.6.1 < 1.8.3 |
1.8.3 |
go get github.com/hashicorp/nomad@v1.8.3 |
Per OSV / GitHub Advisories (GHSA-25qx-vfw2-fw8r, GO-2024-3073). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| hashicorp | nomad | ≥ 0.6.1 < 1.6.14 |
| hashicorp | nomad | ≥ 0.6.1 < 1.6.14 |
| hashicorp | nomad | ≥ 1.7.0 < 1.7.11 |
| hashicorp | nomad | ≥ 1.7.0 < 1.7.11 |
| hashicorp | nomad | ≥ 1.8.0 ≤ 1.8.3 |
| hashicorp | nomad | ≥ 1.8.0 < 1.8.3 |
Official sources
References
Links published by the sources. Open them with care.
- discuss.hashicorp.com Vendor Advisory