{"id":"CVE-2024-7625","published":"2024-08-14T23:20:17Z","modified":"2025-01-09T19:19:01Z","title":"Nomad Vulnerable to Allocation Directory Escape On Non-Existing File Paths Through Archive Unpacking","vendor":"HashiCorp","product":"Nomad","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00336,"percentile":0.27734,"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-17-nomad-vulnerable-to-allocation-directory-escape-on-non-existing-file-paths-through-archive-unpacking/69293","tags":[]}],"priority":{"score":9.6,"factors":[{"name":"EPSS percentile","points":5.55},{"name":"CVSS severity","points":4.06}]},"vendorSlug":"hashicorp","affectedVersions":[{"vendor":"HashiCorp","product":"Nomad","versions":[">= 0.6.1, < 1.8.3"]},{"vendor":"HashiCorp","product":"Nomad Enterprise","versions":[">= 0.6.1, < 1.8.3"]}],"fixedVersions":[{"vendor":"HashiCorp","product":"Nomad Enterprise","versions":["1.6.14","1.7.11"]}],"capec":[{"id":"CAPEC-130","name":"Excessive Allocation"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-08-15T13:21:56.859263Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/hashicorp/nomad","vulnerableRanges":[">=0.6.1, <1.6.14",">=1.7.0, <1.7.11",">=1.8.0, <1.8.3",">=0.6.1, <1.8.3"],"patched":["1.6.14","1.7.11","1.8.3"],"from":["GHSA-25qx-vfw2-fw8r","GO-2024-3073"],"provenance":"source"}],"summary":{"text":"HashiCorp Nomad and Nomad Enterprise contain a flaw in the archive unpacking process used during allocation directory migration, which allows writes outside the allocation directory when multiple archive headers target the same file. An attacker who already has access to or has compromised the Nomad client agent on the source allocation can exploit this, with high attack complexity and high privileges required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:06:41Z"},"euvd":{"id":"EUVD-2024-2459","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-hashicorp-nomad-cve-2022-24683","packageHistory":[{"cve":"CVE-2023-3299","published":"2023-07-19","fixed":"1.5.7","kev":false},{"cve":"CVE-2023-3300","published":"2023-07-19","fixed":"1.5.7","kev":false},{"cve":"CVE-2024-1329","published":"2024-02-08","fixed":"1.7.4","kev":false,"link":{"from":"CVE-2024-1329","to":"CVE-2024-7625","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/hashicorp/nomad","fromFixed":"1.6.7","toFixed":"1.6.14","daysApart":188}]}},{"cve":"CVE-2024-7625","published":"2024-08-14","fixed":"1.8.3","kev":false},{"cve":"CVE-2024-10975","published":"2024-11-07","fixed":"1.9.2","kev":false,"link":{"from":"CVE-2024-7625","to":"CVE-2024-10975","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/hashicorp/nomad","fromFixed":"1.8.3","toFixed":"1.9.2","daysApart":85}]}},{"cve":"CVE-2024-12678","published":"2024-12-20","fixed":"1.9.4","kev":false},{"cve":"CVE-2025-1296","published":"2025-03-10","fixed":"1.9.7","kev":false},{"cve":"CVE-2024-6717","published":"2024-07-23","fixed":"1.11.1","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"}]}}],"package":"Go:github.com/hashicorp/nomad"}}