CVE-2024-7625
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 · uneditedIn 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.
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 confidenceNomad's archive unpacking during allocation directory migration contains a path traversal vulnerability (zip slip style) where multiple archive headers targeting the same file allow writes outside the intended allocation directory. An attacker with prior compromise of a source allocation can craft malicious archives that escape the allocation directory during migration.
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>= 0.6.1, < 1.6.14>= 1.7.0, < 1.7.11>= 1.8.0, <= 1.8.3>= 1.8.0, < 1.8.3CVSS 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
- High
- Privileges
- High
- User interaction
- None
- Scope
- Changed
- Confidentiality
- None
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:H/PR:H/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 installed Nomad versionRun `nomad version` on the server or agent to retrieve the version stringAffected if The version is >= 0.6.1 and < 1.6.14, OR >= 1.7.0 and < 1.7.11, OR >= 1.8.0 and < 1.8.3
-
Verify allocation migration is in useReview Nomad server configuration for `migrate` stanza in job specifications or check if jobs havehistorically been moved between nodesAffected if Allocation migration functionality is actively used or configured in the environment
-
Inspect archive extraction logsSearch Nomad logs (journalctl -u nomad or log files) for entries containing 'archive', 'unpack', 'extract', or 'allocation migration' patterns around job scheduling eventsAffected if Logs show archive extraction operations occurring during allocation directory migrations
-
Check for unexpected file creation outside allocation directoriesMonitor or audit the Nomad data directory (default /opt/nomad/data or /var/lib/nomad) for files created outside the expected allocation subdirectoriesAffected if Files exist outside the intended allocation directory structure that correspond to archive extraction patterns
-
Review job specifications for migration-enabled jobsUse `nomad job status` and inspect job specifications with `nomad job inspect <job>` for migrate stanza configurationsAffected if Jobs are configured with migration settings that trigger allocation directory migration
The environment is affected if running a Nomad version within the vulnerable ranges AND allocation migration is actively used or has been used to move jobs between nodes.
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.6.141.7.111.8.3
Upgrade Nomad to version 1.6.14, 1.7.11, or 1.8.3. Prior to patching, restrict access to allocation migration functionality and monitor for anomalous archive extraction patterns.
Nomad 1.6.14, 1.7.11, or 1.8.3 (or later stable release)
- Identify the current Nomad version running in your environment using `nomad version`
- Review the compatibility matrix to ensure the target version is compatible with your infrastructure
- For Nomad open source: Upgrade the Nomad client agents to version 1.6.14, 1.7.11, or 1.8.3 (or later if available)
- For Nomad Enterprise: Upgrade to the corresponding Enterprise version matching the fixed releases
- Plan for a rolling upgrade to minimize service disruption
- After upgrading, verify the Nomad client agents are running the patched version using `nomad version`
- Ensure the archive unpacking functionality is working correctly by testing allocation migration if possible
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing3.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,800.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2024-7625 — 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-7625 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