CVE-2022-24686 json
HashiCorp Nomad Artifact Download Race Condition
published 2022-02-14 4 y ago modified 2026-06-17 4 mo ago also GHSA-gwmc-6795-qghj , GO-2022-0600 , EUVD-2022-1024
- cvss
- 5.9
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 58%
- public exploits
- 0
- none known
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
Patch / fix
- go github.com/hashicorp/nomad 1.0.18, 1.1.12, 1.2.6
- hashicorp nomad 1.0.18, 1.1.12, 1.2.6
- nomad Alpine 3.15 1.1.12-r0
- nomad Alpine 3.18, Alpine 3.17, Alpine 3.16 1.2.6-r0
alpine advisories ALPINE-CVE-2022-24686
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Exploit prediction
0.86% chance of exploitation in the next 30 days, higher than 58% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/hashicorp/nomad | >=0.3.0, <1.0.18 >=1.1.0, <1.1.12 >=1.2.0, <1.2.6 |
1.0.18 1.1.12 1.2.6 |
Classification
- Weakness
-
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization
References
-
discuss.hashicorp.com
web, vendor-advisory
-
discuss.hashicorp.com
/t/hcsec-2022-01-nomad-artifact-download-race-condition/35559
web, vendor-advisory
-
security.netapp.com
/advisory/ntap-20220318-0008/
third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-24686
advisory
-
github.com
/hashicorp/nomad/issues/12036
web, report
-
github.com
/hashicorp/nomad
package
-
github.com
/hashicorp/nomad/releases/tag/v1.2.6
web
-
security.netapp.com
/advisory/ntap-20220318-0008
web
-
github.com
/advisories/GHSA-gwmc-6795-qghj
advisory
Sources
- CVE List CVE-2022-24686
- GitHub Advisory GHSA-gwmc-6795-qghj
- NVD CVE-2022-24686
- OSV GO-2022-0600
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.