{"cve":"CVE-2024-7625","nvd":{"published":"2024-08-15T00:15:13.127","modified":"2026-06-17T08:20:34.320","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:N","score":5.8},"cwes":["CWE-610"],"references":["https://discuss.hashicorp.com/t/hcsec-2024-17-nomad-vulnerable-to-allocation-directory-escape-on-non-existing-file-paths-through-archive-unpacking/69293"],"products":["hashicorp:nomad"],"source":"nvd","synced_at":"2026-10-19T21:54:16.205165117+00:00"},"epss":{"cve":"CVE-2024-7625","score":0.00336,"percentile":0.27079,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-25qx-vfw2-fw8r","url":"https://osv.dev/vulnerability/GHSA-25qx-vfw2-fw8r","summary":"Nomad Vulnerable to Allocation Directory Escape On Non-Existing File Paths Through Archive Unpacking","modified":"2024-09-25T19:27:54Z","packages":[{"ecosystem":"Go","name":"github.com/hashicorp/nomad","purl":"pkg:golang/github.com/hashicorp/nomad","ranges":[">=0.6.1 <1.6.14"],"fixed":["1.6.14"]},{"ecosystem":"Go","name":"github.com/hashicorp/nomad","purl":"pkg:golang/github.com/hashicorp/nomad","ranges":[">=1.7.0 <1.7.11"],"fixed":["1.7.11"]},{"ecosystem":"Go","name":"github.com/hashicorp/nomad","purl":"pkg:golang/github.com/hashicorp/nomad","ranges":[">=1.8.0 <1.8.3"],"fixed":["1.8.3"]}]},{"id":"GO-2024-3073","url":"https://osv.dev/vulnerability/GO-2024-3073","summary":"Nomad Vulnerable to Allocation Directory Escape On Non-Existing File Paths Through Archive Unpacking in github.com/hashicorp/nomad","modified":"2024-08-19T17:58:36.341927Z","packages":[{"ecosystem":"Go","name":"github.com/hashicorp/nomad","purl":"pkg:golang/github.com/hashicorp/nomad","ranges":[">=0.6.1 <1.8.3"],"fixed":["1.8.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}