Skip to content
Fencer Intel
medium 5.9

CVE-2022-24686 json

HashiCorp Nomad Artifact Download Race Condition

published 4y ago modified 4mo 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

Is CVE-2022-24686 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Exploit prediction

0.86% chance of exploitation in the next 30 days, higher than 58% of all scored CVEs (FIRST EPSS, 2026-11-09).

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

Sources

Fencer Intel 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.