{"id":"CVE-2022-24686","aliases":["CVE-2022-24686","GHSA-gwmc-6795-qghj","GO-2022-0600"],"related":[],"kind":"vulnerability","state":"published","title":"HashiCorp Nomad Artifact Download Race Condition","summary":"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","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"HashiCorp Nomad Artifact Download Race Condition in github.com/hashicorp/nomad","format":"markdown","source":"go"},{"lang":"es","text":"La funcionalidad artifact download de HashiCorp Nomad y Nomad Enterprise versiones 0.3.0 hasta 1.0.17, 1.1.11 y 1.2.5, presenta una condición de carrera que hace que el agente cliente de Nomad pueda descargar el artefacto equivocado en el destino equivocado. Corregido en versiones 1.0.18, 1.1.12 y 1.2.6","source":"nvd"}],"published":"2022-02-14T13:54:07.000Z","modified":"2026-06-17T04:32:17.930Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","score":5.9,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","score":5.9,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-362"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.3.0","status":"affected","fixed":"1.0.18"}],"ecosystem":"Go","package":"github.com/hashicorp/nomad","purl":"pkg:golang/github.com/hashicorp/nomad","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.1.0","status":"affected","fixed":"1.1.12"}],"ecosystem":"Go","package":"github.com/hashicorp/nomad","purl":"pkg:golang/github.com/hashicorp/nomad","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.2.0","status":"affected","fixed":"1.2.6"}],"ecosystem":"Go","package":"github.com/hashicorp/nomad","purl":"pkg:golang/github.com/hashicorp/nomad","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.3.0","status":"affected","fixed":"1.0.18"},{"type":"semver","introduced":"1.1.0","status":"affected","fixed":"1.1.12"},{"type":"semver","introduced":"1.2.0","status":"affected","fixed":"1.2.6"}],"ecosystem":"Go","package":"github.com/hashicorp/nomad","purl":"pkg:golang/github.com/hashicorp/nomad","source":"go"},{"ranges":[{"status":"affected","introduced":"0.3.0","fixed":"1.0.18"},{"status":"affected","introduced":"0.3.0","fixed":"1.0.18"},{"status":"affected","introduced":"1.1.0","fixed":"1.1.12"},{"status":"affected","introduced":"1.1.0","fixed":"1.1.12"},{"status":"affected","introduced":"1.2.0","fixed":"1.2.6"},{"status":"affected","introduced":"1.2.0","fixed":"1.2.6"}],"vendor":"hashicorp","product":"nomad","cpe":"cpe:2.3:a:hashicorp:nomad:*:*:*:*:-:*:*:*","source":"nvd"}],"references":[{"url":"https://discuss.hashicorp.com","tags":["vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://discuss.hashicorp.com/t/hcsec-2022-01-nomad-artifact-download-race-condition/35559","tags":["vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20220318-0008/","tags":["third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24686","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/hashicorp/nomad/issues/12036","tags":["report","web"],"sources":["ghsa","go"]},{"url":"https://github.com/hashicorp/nomad","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/hashicorp/nomad/releases/tag/v1.2.6","tags":["web"],"sources":["ghsa","go"]},{"url":"https://security.netapp.com/advisory/ntap-20220318-0008","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/advisories/GHSA-gwmc-6795-qghj","tags":["advisory"],"sources":["go"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-24686","url":"https://www.cve.org/CVERecord?id=CVE-2022-24686","licence":"CVE Terms of Use","modified":"2024-08-03T04:20:49.714Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-gwmc-6795-qghj","url":"https://github.com/advisories/GHSA-gwmc-6795-qghj","licence":"CC-BY-4.0","modified":"2024-08-21T15:41:50.046Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0600","url":"https://pkg.go.dev/vuln/GO-2022-0600","licence":"CC-BY-4.0","modified":"2026-03-03T04:50:38.480Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-24686","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24686","licence":"Public domain","modified":"2026-06-17T04:32:17.930Z"}],"updatedAt":"2026-11-25T22:58:09.678Z","epss":{"score":0.00859,"percentile":0.596,"date":"2026-12-02T12:00:21.000Z"}}