CVE-2024-6717: Github.com/hashicorp/nomad HashiCorp Nomad Is Vulnerable To Vulnerability
HIGHCVE-2024-6717 is a HIGH (CVSS 7.7) hashicorp nomad is vulnerable to vulnerability (CWE-610: Externally Controlled Reference to a Resource in Another Sphere) affecting Github.com/hashicorp/nomad libraries in the Go ecosystem. The issue involves hashicorp nomad is vulnerable to path escape through archive unpacking during migration. Remediation is available by upgrading affected packages to version 1.8.2.
CVE-2024-6717 at a Glance
Security Impact
CVSS: 7.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N).
How to Fix CVE-2024-6717
To remediate this vulnerability, upgrade all affected Github.com/hashicorp/nomad dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/hashicorp/nomad to 1.8.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/hashicorp/nomad
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-6717, inspect your project dependencies for Github.com/hashicorp/nomad:
inspect dependencies for github.com/hashicorp/nomad
Analyze the terminal output to locate any version of Github.com/hashicorp/nomad in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.8.2), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-610: Externally Controlled Reference to a Resource in Another Sphere, where the product uses an externally controlled name or reference that resolves to a resource that is outside of the intended control sphere. In Github.com/hashicorp/nomad, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-6717 Affected Github.com/hashicorp/nomad Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/hashicorp/nomad
|
Go |
< 1.8.2
|
1.8.2
|
References
Frequently Asked Questions
What is CVE-2024-6717?
Which Github.com/hashicorp/nomad versions are affected?
What version fixes CVE-2024-6717?
Is github.com/hashicorp/nomad affected?
What is the CVSS score of CVE-2024-6717?
What CWE is associated with CVE-2024-6717?
How can I check Go dependencies for CVE-2024-6717?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5mqx-rpxv-mvxj",
"modified" : "2026-02-04T18:43:12Z",
"published" : "2024-07-23T03:30:33Z",
"aliases" : [ "CVE-2024-6717" ],
"summary" : "HashiCorp Nomad is vulnerable to path escape through archive unpacking during migration",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/hashicorp/nomad"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.8.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-6717"
}, {
"type" : "WEB",
"url" : "https://github.com/hashicorp/nomad/commit/ef6cdec8847e0698d386d1fd3761743df758ef99"
}, {
"type" : "WEB",
"url" : "https://discuss.hashicorp.com/t/hcsec-2024-15-nomad-vulnerable-to-allocation-directory-path-escape-through-archive-unpacking/68781"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/hashicorp/nomad"
}, {
"type" : "WEB",
"url" : "https://github.com/hashicorp/nomad/releases/tag/v1.8.2"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-610" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-01-05T14:59:35Z",
"nvd_published_at" : "2024-07-23T01:15:09Z"
}
}