{"id":"CVE-2024-1329","published":"2024-02-08T19:20:10Z","modified":"2024-09-26T17:05:43Z","title":"Nomad Vulnerable to Arbitrary Write Through Symlink Attack","vendor":"HashiCorp","product":"Nomad","tier":"tail","description":{"text":"HashiCorp Nomad and Nomad Enterprise 1.5.13 up to 1.6.6, and 1.7.3 template renderer is vulnerable to arbitrary file write on the host as the Nomad client user through symlink attacks. This vulnerability, CVE-2024-1329, is fixed in Nomad 1.7.4, 1.6.7, and 1.5.14.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00617,"percentile":0.50481,"provenance":"source"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"references":[{"url":"https://discuss.hashicorp.com/t/hcsec-2024-03-nomad-vulnerable-to-arbitrary-write-through-symlink-attack","tags":[]}],"priority":{"score":15.5,"factors":[{"name":"EPSS percentile","points":10.1},{"name":"CVSS severity","points":5.39}]},"vendorSlug":"hashicorp","affectedVersions":[{"vendor":"HashiCorp","product":"Nomad","versions":["<= 1.5.13","<= 1.6.6","<= 1.7.3"]},{"vendor":"HashiCorp","product":"Nomad Enterprise","versions":["<= 1.5.13","<= 1.6.6","<= 1.7.3"]}],"capec":[{"id":"CAPEC-132","name":"Symlink Attack"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-07-17T19:54:48.732815Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/hashicorp/nomad","vulnerableRanges":[">=1.5.13, <1.5.14",">=1.6.0, <1.6.7",">=1.7.3, <1.7.4"],"patched":["1.5.14","1.6.7","1.7.4"],"from":["GHSA-c866-8gpw-p3mv","GO-2024-2538"],"provenance":"source"}],"summary":{"text":"A flaw in the template renderer of HashiCorp Nomad and Nomad Enterprise allows arbitrary file writes on the host, with the privileges of the Nomad client user, because the renderer follows symbolic links without proper validation. An attacker with high privileges on the network, and under conditions of high attack complexity, can exploit this to write files to arbitrary locations on the host.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:28:38Z"},"euvd":{"id":"EUVD-2024-0612","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-hashicorp-nomad-cve-2022-24683","parents":[{"from":"CVE-2022-24683","to":"CVE-2024-1329","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["helper/escapingfs/escapes.go"],"commits":["https://github.com/hashicorp/nomad/commit/1aa46c3796e924b72eb45a7f02dae32df0c1179c","https://github.com/hashicorp/nomad/commit/b3c0e6a7a53d624003698b48b6c59739552c3721","https://github.com/hashicorp/nomad/commit/b3209cbc6921e703b0e9984ce70c10b378665834","https://github.com/hashicorp/nomad/commit/d1721c7a6fc1833778086603f818a822a34f445a"],"basis":"rarely changed file"}]}],"children":[{"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"]}]}],"packageHistory":[{"cve":"CVE-2023-3072","published":"2023-07-19","fixed":"1.5.6","kev":false},{"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},{"cve":"CVE-2024-7625","published":"2024-08-14","fixed":"1.8.3","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-10975","published":"2024-11-07","fixed":"1.9.2","kev":false},{"cve":"CVE-2024-12678","published":"2024-12-20","fixed":"1.9.4","kev":false}],"package":"Go:github.com/hashicorp/nomad"}}