CVE-2024-6717
High · 7.7CVSS
7.7
EPSS
0.4%
Published
Jul 23, 2024
CISA due date
—
Cloudanix analysis
A flaw lets specially crafted files slip outside their allowed folder during a system update step, potentially letting someone change files they should not be able to touch.
- Exploitation
- Remote Authenticated
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Data Tampering
- Component
- Application
- Class
- Path Traversal
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Archive unpacking during migration permits path traversal that escapes the allocation directory, allowing files to be written outside the intended boundaries.
Why it matters to the business
Attackers with limited access could alter or overwrite critical files in the allocation directory, risking cluster integrity and requiring urgent patching given the July 2024 disclosure and low but persistent exploit probability.
How an attack unfolds
An attacker with migration privileges crafts a malicious archive containing path traversal sequences; during Nomad's unpacking step the archive writes files outside the allocation directory, enabling unauthorized modification of system or job files.
How to fix it
Upgrade Nomad to 1.6.13, 1.7.10, or 1.8.2. For xibosignage/xibo-cms (GIT) apply the fix in commit b7a5899338cd841a39702e3fcaff76aa0ffe4075. Validate no custom migration scripts bypass unpacking safeguards.
How to confirm the fix worked
Confirm installed version is 1.6.13+, 1.7.10+, or 1.8.2+; test migration with a crafted archive containing traversal paths and verify files remain confined to the allocation directory.
Typical attack path
- Obtain low-privileged Nomad credentials or migration rights
- Prepare archive with ../ sequences targeting files outside allocation directory
- Trigger migration or archive unpacking operation
- Verify files written to unintended locations and leverage for further impact
How to detect it
Review Nomad migration and unpacking logs for archive operations; look for unexpected file paths containing .. sequences or writes outside standard allocation directories.
What your security team should do
- Immediately upgrade all Nomad instances to the fixed releases
- Audit migration workflows and archive sources for untrusted input
- Monitor for unusual file writes outside allocation paths post-upgrade
The record
HashiCorp Nomad and Nomad Enterprise 1.6.12 up to 1.7.9, and 1.8.1 archive unpacking during migration is vulnerable to path escaping of the allocation directory. This vulnerability, CVE-2024-6717, is fixed in Nomad 1.6.13, 1.7.10, and 1.8.2.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Go | github.com/hashicorp/nomad | 0 | 1.11.1 |
| Go | github.com/hashicorp/nomad | 0 | 1.8.2 |
| Ubuntu:18.04:LTS | nomad | 0 | No fix |
| Ubuntu:20.04:LTS | nomad | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | nomad | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | nomad | 0 | No fix |
| openSUSE:Leap 15.6 | govulncheck-vulndb | 0 | 0.0.20260114T191543-150000.1.137.1 |
Related vulnerabilities
- GO-2026-4278 HashiCorp Nomad is vulnerable to path escape through archive unpacking during migration… Same vulnerability
- CVE-2024-12678 Hashicorp Nomad Incorrect Privilege Assignment vulnerability Also affects github.com/hashicorp/nomad
- CVE-2024-10975 Hashicorp Nomad Incorrect Authorization vulnerability Also affects github.com/hashicorp/nomad
- CVE-2024-7625 In HashiCorp Nomad and Nomad Enterprise from 0.6.1 up to 1.16.13, 1.7.10, and 1.8.2, the… Also affects github.com/hashicorp/nomad
- CVE-2026-33990 Docker Model Runner (DMR) is software used to manage, run, and deploy AI models using… Also affects govulncheck-vulndb
- CVE-2026-34204 MinIO is a high-performance object storage system. Also affects govulncheck-vulndb
- CVE-2026-34041 act is a project which allows for local running of github actions. Also affects govulncheck-vulndb
- CVE-2026-34042 act is a project which allows for local running of github actions. Also affects govulncheck-vulndb