{"id":"CVE-2024-6717","published":"2024-07-23T00:16:20Z","modified":"2024-08-01T21:41:04Z","title":"Nomad Vulnerable to Allocation Directory Path Escape Through Archive Unpacking","vendor":"HashiCorp","product":"Nomad","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00391,"percentile":0.34136,"provenance":"source"},"cwes":[{"id":"CWE-610","name":"Externally Controlled Reference to a Resource in Another Sphere"}],"references":[{"url":"https://discuss.hashicorp.com/t/hcsec-2024-15-nomad-vulnerable-to-allocation-directory-path-escape-through-archive-unpacking/68781","tags":[]}],"priority":{"score":12.2,"factors":[{"name":"EPSS percentile","points":6.83},{"name":"CVSS severity","points":5.39}]},"vendorSlug":"hashicorp","affectedVersions":[{"vendor":"HashiCorp","product":"Nomad","versions":["< 1.8.2"]},{"vendor":"HashiCorp","product":"Nomad Enterprise","versions":["< 1.8.2"]}],"fixedVersions":[{"vendor":"HashiCorp","product":"Nomad Enterprise","versions":["1.6.13","1.7.10"]}],"capec":[{"id":"CAPEC-126","name":"Path Traversal"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-07-23T14:13:28.071492Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/hashicorp/nomad","vulnerableRanges":["<1.8.2","<1.11.1"],"patched":["1.8.2","1.11.1"],"from":["GHSA-5mqx-rpxv-mvxj","GO-2026-4278"],"provenance":"source"}],"summary":{"text":"A path traversal flaw exists in HashiCorp Nomad and Nomad Enterprise, in the archive unpacking step used during allocation migration, which allows files to be written outside the allocation directory. An attacker with low-privileged authenticated access to the cluster can exploit it over the network without user interaction, with no special configuration required, to write files outside the intended allocation directory and affect integrity.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:48:56Z"},"euvd":{"id":"EUVD-2024-47756","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-hashicorp-nomad-cve-2022-24683","parents":[{"from":"CVE-2024-1329","to":"CVE-2024-6717","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["client/allocwatcher/alloc_watcher.go"],"commits":["https://github.com/hashicorp/nomad/commit/b3209cbc6921e703b0e9984ce70c10b378665834","https://github.com/hashicorp/nomad/commit/d1721c7a6fc1833778086603f818a822a34f445a","https://github.com/hashicorp/nomad/commit/ef6cdec8847e0698d386d1fd3761743df758ef99","https://github.com/hashicorp/nomad/commit/d0f4f27dd03e7f9843d7b921ca9f33c257efdfd1"],"basis":"shared function","functions":["streamAllocDir"]}]}],"children":[{"from":"CVE-2024-6717","to":"CVE-2026-7474","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["client/hostvolumemanager/host_volume_plugin.go"],"commits":["https://github.com/hashicorp/nomad/commit/ef6cdec8847e0698d386d1fd3761743df758ef99","https://github.com/hashicorp/nomad/commit/d0f4f27dd03e7f9843d7b921ca9f33c257efdfd1","https://github.com/hashicorp/nomad/commit/cd7240c4099ad33eda279924fb3a9459b162d120"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2024-7625","published":"2024-08-14","fixed":"1.8.3","kev":false,"link":{"from":"CVE-2024-6717","to":"CVE-2024-7625","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/hashicorp/nomad","fromFixed":"1.8.2","toFixed":"1.8.3","daysApart":22},{"kind":"similar","provenance":"machine","score":0.63,"basis":"same product + CWE + description similarity"}]}},{"cve":"CVE-2025-4922","published":"2025-06-11","fixed":"1.10.2","kev":false},{"cve":"CVE-2026-7474","published":"2026-05-12","fixed":"1.11.0-rc.1.0.20260511152149-cd7240c4099a","kev":false},{"cve":"CVE-2026-6959","published":"2026-05-12","fixed":"1.11.0-rc.1.0.20260512123500-2a09fd62c238","kev":false},{"cve":"CVE-2024-6717","published":"2024-07-23","fixed":"1.11.1","kev":false}],"package":"Go:github.com/hashicorp/nomad"}}