{"id":"CVE-2022-24686","aliases":["ALPINE-CVE-2022-24686","EUVD-2022-1024","GHSA-gwmc-6795-qghj","GO-2022-0600","UBUNTU-CVE-2022-24686"],"status":"published","title":"HashiCorp Nomad Artifact Download Race Condition","description":"HashiCorp Nomad and Nomad Enterprise 0.3.0 through 1.0.17, 1.1.11, and 1.2.5 artifact download functionality has a race condition such that the Nomad client agent could download the wrong artifact into the wrong destination. Fixed in 1.0.18, 1.1.12, and 1.2.6","severity":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00859,"percentile":0.58738,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-362"],"published":"2022-02-14T13:54:07Z","modified":"2026-11-03T07:31:21Z","fixes":[{"ecosystem":"Go","package":"github.com/hashicorp/nomad","fixed_in":["1.0.18","1.1.12","1.2.6"],"sources":["ghsa","osv"]},{"ecosystem":"Alpine:v3.15","package":"nomad","fixed_in":["1.1.12-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"nomad","fixed_in":["1.2.6-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.17","package":"nomad","fixed_in":["1.2.6-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"nomad","fixed_in":["1.2.6-r0"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/hashicorp/nomad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.3.0"},{"fixed":"1.0.18"}]}]},{"source":"ghsa","ecosystem":"Go","package":"github.com/hashicorp/nomad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.1.0"},{"fixed":"1.1.12"}]}]},{"source":"ghsa","ecosystem":"Go","package":"github.com/hashicorp/nomad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.2.0"},{"fixed":"1.2.6"}]}]},{"source":"osv","ecosystem":"Alpine:v3.15","package":"nomad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.3.0"},{"fixed":"1.1.12-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"nomad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.3.0"},{"fixed":"1.2.6-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"nomad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.3.0"},{"fixed":"1.2.6-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"nomad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.3.0"},{"fixed":"1.2.6-r0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/nomad","ranges":[{"type":"SEMVER","events":[{"introduced":"0.3.0"},{"fixed":"1.0.18"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/nomad","ranges":[{"type":"SEMVER","events":[{"introduced":"1.1.0"},{"fixed":"1.1.12"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/nomad","ranges":[{"type":"SEMVER","events":[{"introduced":"1.2.0"},{"fixed":"1.2.6"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/nomad","ranges":[{"type":"SEMVER","events":[{"introduced":"0.3.0"},{"fixed":"1.0.18"},{"introduced":"1.1.0"},{"fixed":"1.1.12"},{"introduced":"1.2.0"},{"fixed":"1.2.6"}]}]},{"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"}],"references":[{"url":"https://discuss.hashicorp.com","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","web","report"]},{"url":"https://discuss.hashicorp.com/t/hcsec-2022-01-nomad-artifact-download-race-condition/35559","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","web","report"]},{"url":"https://security.netapp.com/advisory/ntap-20220318-0008/","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24686","tags":["advisory"]},{"url":"https://github.com/hashicorp/nomad/issues/12036","tags":["web","report"]},{"url":"https://github.com/hashicorp/nomad/releases/tag/v1.2.6","tags":["web"]},{"url":"https://github.com/advisories/GHSA-gwmc-6795-qghj","tags":["advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2022-24686","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24686.json","tags":["advisory"]},{"url":"https://github.com/hashicorp/nomad","tags":["package"]},{"url":"https://security.netapp.com/advisory/ntap-20220318-0008","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2022-24686","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-24686","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2022-24686","description":"HashiCorp Nomad and Nomad Enterprise 0.3.0 through 1.0.17, 1.1.11, and 1.2.5 artifact download functionality has a race condition such that the Nomad client agent could download the wrong artifact into the wrong destination. Fixed in 1.0.18, 1.1.12, and 1.2.6","status":"published","published":"2022-02-14T13:54:07Z","modified":"2024-08-03T04:20:49.714Z","updated_at":"2026-11-02T14:34:34.576287Z"}],"euvd":[{"id":"EUVD-2022-1024","description":"HashiCorp Nomad and Nomad Enterprise 0.3.0 through 1.0.17, 1.1.11, and 1.2.5 artifact download functionality has a race condition such that the Nomad client agent could download the wrong artifact into the wrong destination. Fixed in 1.0.18, 1.1.12, and 1.2.6","status":"published","published":"2022-02-14T13:54:07Z","modified":"2024-08-03T04:20:49Z","updated_at":"2026-11-03T03:25:48.993963Z"}],"ghsa":[{"id":"GHSA-gwmc-6795-qghj","title":"HashiCorp Nomad Artifact Download Race Condition","description":"HashiCorp Nomad and Nomad Enterprise 0.3.0 through 1.0.17, 1.1.11, and 1.2.5 artifact download functionality has a race condition such that the Nomad client agent could download the wrong artifact into the wrong destination. This issue is fixed in 1.0.18, 1.1.12, and 1.2.6.","status":"published","published":"2022-02-15T00:02:46Z","modified":"2023-02-03T05:05:54Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-362"],"updated_at":"2026-11-02T14:36:42.703723Z"}],"nvd":[{"id":"CVE-2022-24686","description":"HashiCorp Nomad and Nomad Enterprise 0.3.0 through 1.0.17, 1.1.11, and 1.2.5 artifact download functionality has a race condition such that the Nomad client agent could download the wrong artifact into the wrong destination. Fixed in 1.0.18, 1.1.12, and 1.2.6","status":"published","published":"2022-02-14T14:15:08.63Z","modified":"2026-06-17T04:32:17.93Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-362"],"updated_at":"2026-11-02T14:07:12.155838Z"}],"osv":[{"id":"ALPINE-CVE-2022-24686","description":"HashiCorp Nomad and Nomad Enterprise 0.3.0 through 1.0.17, 1.1.11, and 1.2.5 artifact download functionality has a race condition such that the Nomad client agent could download the wrong artifact into the wrong destination. Fixed in 1.0.18, 1.1.12, and 1.2.6","status":"published","published":"2022-02-14T14:15:08.63Z","modified":"2026-11-03T07:31:21.198411918Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-03T07:50:01.054176Z"},{"id":"GHSA-gwmc-6795-qghj","title":"HashiCorp Nomad Artifact Download Race Condition","description":"HashiCorp Nomad and Nomad Enterprise 0.3.0 through 1.0.17, 1.1.11, and 1.2.5 artifact download functionality has a race condition such that the Nomad client agent could download the wrong artifact into the wrong destination. This issue is fixed in 1.0.18, 1.1.12, and 1.2.6.","status":"published","published":"2022-02-15T00:02:46Z","modified":"2024-08-21T15:41:50.046177Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-362"],"updated_at":"2026-11-02T15:46:48.191583Z"},{"id":"UBUNTU-CVE-2022-24686","description":"HashiCorp Nomad and Nomad Enterprise 0.3.0 through 1.0.17, 1.1.11, and 1.2.5 artifact download functionality has a race condition such that the Nomad client agent could download the wrong artifact into the wrong destination. Fixed in 1.0.18, 1.1.12, and 1.2.6","status":"published","published":"2022-02-14T14:15:00Z","modified":"2025-10-24T04:53:30Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T16:53:53.13624Z"},{"id":"CVE-2022-24686","description":"HashiCorp Nomad and Nomad Enterprise 0.3.0 through 1.0.17, 1.1.11, and 1.2.5 artifact download functionality has a race condition such that the Nomad client agent could download the wrong artifact into the wrong destination. Fixed in 1.0.18, 1.1.12, and 1.2.6","status":"published","published":"2022-02-14T13:54:07Z","modified":"2026-10-28T02:31:14.275559437Z","updated_at":"2026-11-02T15:44:24.428403Z"},{"id":"GO-2022-0600","title":"HashiCorp Nomad Artifact Download Race Condition in github.com/hashicorp/nomad","description":"HashiCorp Nomad Artifact Download Race Condition in github.com/hashicorp/nomad","status":"published","published":"2024-08-21T15:11:38Z","modified":"2026-03-03T04:50:38.480729Z","updated_at":"2026-11-02T15:47:00.918515Z"}]}}
