{"id":"CVE-2024-7625","aliases":["EUVD-2024-2459","GHSA-25qx-vfw2-fw8r","GO-2024-3073","UBUNTU-CVE-2024-7625"],"status":"published","title":"Nomad Vulnerable to Allocation Directory Escape On Non-Existing File Paths Through Archive Unpacking","description":"In 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.","severity":{"version":"3.1","score":5.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00336,"percentile":0.27232,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-610"],"published":"2024-08-14T23:20:17Z","modified":"2026-10-28T02:31:05Z","fixes":[{"ecosystem":"Go","package":"github.com/hashicorp/nomad","fixed_in":["1.6.14","1.7.11","1.8.3"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/hashicorp/nomad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.6.1"},{"fixed":"1.6.14"}]}]},{"source":"ghsa","ecosystem":"Go","package":"github.com/hashicorp/nomad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.7.0"},{"fixed":"1.7.11"}]}]},{"source":"ghsa","ecosystem":"Go","package":"github.com/hashicorp/nomad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.8.0"},{"fixed":"1.8.3"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/nomad","ranges":[{"type":"SEMVER","events":[{"introduced":"0.6.1"},{"fixed":"1.6.14"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/nomad","ranges":[{"type":"SEMVER","events":[{"introduced":"1.7.0"},{"fixed":"1.7.11"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/nomad","ranges":[{"type":"SEMVER","events":[{"introduced":"1.8.0"},{"fixed":"1.8.3"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/nomad","ranges":[{"type":"SEMVER","events":[{"introduced":"0.6.1"},{"fixed":"1.8.3"}]}]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"nomad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.0+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"nomad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.8.7+dfsg1-1ubuntu1"]}],"products":[{"vendor":"hashicorp","product":"nomad"},{"vendor":"hashicorp","product":"nomad enterprise"}],"references":[{"url":"https://discuss.hashicorp.com/t/hcsec-2024-17-nomad-vulnerable-to-allocation-directory-escape-on-non-existing-file-paths-through-archive-unpacking/69293","tags":["Vendor Advisory","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-7625","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-25qx-vfw2-fw8r","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/7xxx/CVE-2024-7625.json","tags":["advisory"]},{"url":"https://github.com/hashicorp/nomad","tags":["package"]},{"url":"github.com/hashicorp/nomad","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2024-7625","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-7625","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2024-7625","title":"Nomad Vulnerable to Allocation Directory Escape On Non-Existing File Paths Through Archive Unpacking","description":"In 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.","status":"published","published":"2024-08-14T23:20:17.888Z","modified":"2025-01-09T19:19:01.219Z","cvss":[{"version":"3.1","score":5.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-610"],"updated_at":"2026-11-02T14:34:20.673123Z"}],"euvd":[{"id":"EUVD-2024-2459","description":"In 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.","status":"published","published":"2024-08-14T23:20:17Z","modified":"2025-01-09T19:19:01Z","cvss":[{"version":"3.1","score":5.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-03T00:04:22.603579Z"}],"ghsa":[{"id":"GHSA-25qx-vfw2-fw8r","title":"Nomad Vulnerable to Allocation Directory Escape On Non-Existing File Paths Through Archive Unpacking","description":"In 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.","status":"published","published":"2024-08-15T00:30:59Z","modified":"2024-09-25T19:27:56Z","cvss":[{"version":"4.0","score":4.6,"vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:N/SI:H/SA:N","level":"medium"},{"version":"3.1","score":5.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-610"],"updated_at":"2026-11-02T14:38:06.29677Z"}],"nvd":[{"id":"CVE-2024-7625","description":"In 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.","status":"published","published":"2024-08-15T00:15:13.127Z","modified":"2026-06-17T08:20:34.32Z","cvss":[{"version":"3.1","score":5.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-610"],"updated_at":"2026-11-02T14:10:19.135392Z"}],"osv":[{"id":"CVE-2024-7625","title":"Nomad Vulnerable to Allocation Directory Escape On Non-Existing File Paths Through Archive Unpacking","description":"In 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.","status":"published","published":"2024-08-14T23:20:17.888Z","modified":"2026-10-28T02:31:05.945672093Z","cvss":[{"version":"3.1","score":5.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-610"],"updated_at":"2026-11-02T15:44:45.405014Z"},{"id":"GHSA-25qx-vfw2-fw8r","title":"Nomad Vulnerable to Allocation Directory Escape On Non-Existing File Paths Through Archive Unpacking","description":"In 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.","status":"published","published":"2024-08-15T00:30:59Z","modified":"2024-09-25T19:27:54Z","cvss":[{"version":"3.1","score":5.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:N","level":"medium"},{"version":"4.0","score":4.6,"vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:N/SI:H/SA:N","level":"medium"}],"cwes":["CWE-610"],"updated_at":"2026-11-02T15:46:33.956911Z"},{"id":"UBUNTU-CVE-2024-7625","description":"In 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.","status":"published","published":"2024-08-15T00:15:00Z","modified":"2025-10-24T05:06:46Z","cvss":[{"version":"3.1","score":5.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T16:55:18.664792Z"},{"id":"GO-2024-3073","title":"Nomad Vulnerable to Allocation Directory Escape On Non-Existing File Paths Through Archive Unpacking in github.com/hashicorp/nomad","description":"Nomad Vulnerable to Allocation Directory Escape On Non-Existing File Paths Through Archive Unpacking in github.com/hashicorp/nomad.\n\nNOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.\n\n(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)\n\nThe additional affected modules and versions are: github.com/hashicorp/nomad from v0.6.1 before v1.6.14, from v1.7.0 before v1.7.11, from v1.8.0 before v1.8.3.","status":"published","published":"2024-08-19T17:26:34Z","modified":"2024-08-19T17:58:36.341927Z","updated_at":"2026-11-02T15:47:01.453823Z"}]}}
