CVE-2024-7625
MEDIUM 5.8CVSS 3.1Nomad Vulnerable to Allocation Directory Escape On Non-Existing File Paths Through Archive Unpacking
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.
- Published
- 15 Aug 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security@hashicorp.com
- NVD status
- Analyzed
- Weakness
- CWE-610
- Also known as
- GHSA-25qx-vfw2-fw8rGO-2024-3073
- Sources
- NVDJSONOSV GHSA-25qx-vfw2-fw8rJSONOSV GO-2024-3073JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:N/SI:H/SA:N | |
| NVD | security@hashicorp.com (Secondary) | CVSS 3.1 | MEDIUM 5.8 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.8 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | hashicorp | nomadcpe:2.3:a:hashicorp:nomad:*:*:*:*:-:*:*:* |
>= 0.6.1, < 1.6.14 | 1.6.14 |
| NVD | hashicorp | nomadcpe:2.3:a:hashicorp:nomad:*:*:*:*:enterprise:*:*:* |
>= 0.6.1, < 1.6.14 | 1.6.14 |
| NVD | hashicorp | nomadcpe:2.3:a:hashicorp:nomad:*:*:*:*:-:*:*:* |
>= 1.7.0, < 1.7.11 | 1.7.11 |
| NVD | hashicorp | nomadcpe:2.3:a:hashicorp:nomad:*:*:*:*:enterprise:*:*:* |
>= 1.7.0, < 1.7.11 | 1.7.11 |
| NVD | hashicorp | nomadcpe:2.3:a:hashicorp:nomad:*:*:*:*:-:*:*:* |
>= 1.8.0, <= 1.8.3 | |
| NVD | hashicorp | nomadcpe:2.3:a:hashicorp:nomad:*:*:*:*:enterprise:*:*:* |
>= 1.8.0, < 1.8.3 | 1.8.3 |
| OSV | Go | github.com/hashicorp/nomad | >= 0.6.1, < 1.6.14 | 1.6.14 |
| OSV | Go | github.com/hashicorp/nomad | >= 1.7.0, < 1.7.11 | 1.7.11 |
| OSV | Go | github.com/hashicorp/nomad | >= 1.8.0, < 1.8.3 | 1.8.3 |
| OSV | Go | github.com/hashicorp/nomad | >= 0.6.1, < 1.8.3 | 1.8.3 |
References
- https://discuss.hashicorp.com/t/hcsec-2024-17-nomad-vulnerable-to-allocation-directory-escape-on-non-existing-file-paths-through-archive-unpacking/69293 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-7625 · ADVISORY
- github.com/hashicorp/nomad · PACKAGE
- https://github.com/advisories/GHSA-25qx-vfw2-fw8r · ADVISORY
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 15 Aug 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 19 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 15 Aug 2024)