CVE-2024-6717
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedHashiCorp 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThis is a path traversal vulnerability in HashiCorp Nomad's archive unpacking functionality during migration operations. An attacker could exploit improper path validation during archive extraction to escape the intended allocation directory and write files to arbitrary locations on the host filesystem where the Nomad agent executes.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 1.7.0, < 1.7.10= 1.6.12= 1.8.1CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Changed
- Confidentiality
- None
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check Nomad agent versionRun 'nomad version' on the Nomad client or server nodes to obtain the installed version stringAffected if The version is 1.7.0 through 1.7.9, exactly 1.6.12, or exactly 1.8.1
-
Identify if migration operations are usedReview Nomad job specifications or configuration for any jobs or processes that trigger migration operations, which invoke the archive unpacking functionalityAffected if Migration operations are actively used or configured in the environment
-
Check for archive-based job deploymentsInspect job submissions or task configs for archives (zip, tar, tar.gz) that get extracted during job placement, as these trigger the vulnerable unpacking code pathAffected if Jobs deploy archives that Nomad extracts as part of task setup
-
Review allocation directory accessExamine the Nomad data directory (default /opt/nomad/data or /var/lib/nomad) for evidence of files written outside the expected allocation subdirectoriesAffected if Files exist outside the expected allocation directories, suggesting potential path traversal has occurred
You are affected if your Nomad version is 1.6.12, 1.7.0-1.7.9, or 1.8.1 AND you use migration operations or deploy archive-based tasks that trigger the vulnerable archive extraction code path.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped1.7.10
Upgrade Nomad to version 1.6.13, 1.7.10, or 1.8.2 (or later) to receive the patch that adds proper path validation during archive unpacking in migration workflows.
Nomad 1.6.13, 1.7.10, or 1.8.2 depending on starting version
- 1. Identify the current Nomad version by running `nomad version` or checking the Nomad API.
- 2. Determine the target upgrade path based on current version: if on 1.6.12 upgrade to 1.6.13; if on 1.7.x (where x < 10) upgrade to 1.7.10; if on 1.8.1 upgrade to 1.8.2.
- 3. Review the HashiCorp Nomad upgrade guide at https://www.nomadproject.io/docs/upgrade for pre-upgrade considerations.
- 4. Create a backup of the Nomad state directory and configuration files.
- 5. For cluster upgrades, follow the rolling upgrade procedure: upgrade non-leader nodes first, then the leader last.
- 6. Download the appropriate Nomad binary from https://www.nomadproject.io/downloads/ matching your target version.
- 7. Replace the Nomad binary on all server and client nodes.
- 8. Restart the Nomad service on each node, starting with server nodes first.
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation6.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,224.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2024-6717 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2024-6717 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data