cve.bz

CVE-2022-24686 hashicorp nomad: Race Condition

5.9 mediumEPSS 0.9%Fix available

Medium (5.9) in hashicorp nomad. EPSS 0.9% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/hashicorp/nomad 1.0.18, 1.1.12, 1.2.6.

On this page
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

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
0.9% (unchanged from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 59th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition)
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-24686 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-24686?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-24686?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-24686 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
hashicorp:nomadfrom 0.3.0 before 1.0.18
hashicorp:nomadfrom 1.1.0 before 1.1.12
hashicorp:nomadfrom 1.2.0 before 1.2.6

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-gwmc-6795-qghjGogithub.com/hashicorp/nomad>=0.3.0 <1.0.181.0.18
GHSA-gwmc-6795-qghjGogithub.com/hashicorp/nomad>=1.1.0 <1.1.121.1.12
GHSA-gwmc-6795-qghjGogithub.com/hashicorp/nomad>=1.2.0 <1.2.61.2.6
GO-2022-0600Gogithub.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

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu18.04:LTS, 20.04:LTSnomadno fix listedUBUNTU-CVE-2022-24686
Alpinev3.15nomad1.1.12-r0ALPINE-CVE-2022-24686
Alpinev3.16, v3.17, v3.18nomad1.2.6-r0ALPINE-CVE-2022-24686

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · Alpine.

Attack patterns (CAPEC)

  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON