Skip to content
OpenAdvisories
Medium · 5.9 CVE-2022-24686 EUVD-2022-1024GHSA-gwmc-6795-qghjGO-2022-0600

HashiCorp Nomad Artifact Download Race Condition

Published Feb 14, 2022 · Updated Aug 3, 2024 · Assigned by mitre

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

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS nomad No fix yet —
Ubuntu 18.04 LTS nomad No fix yet —
ReleasePackageFixed inAdvisory
Alpine v3.18 nomad 1.2.6-r0 —
Alpine v3.17 nomad 1.2.6-r0 —
Alpine v3.16 nomad 1.2.6-r0 —
Alpine v3.15 nomad 1.1.12-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/hashicorp/nomad >= 0.3.0, < 1.0.18 1.0.18 GHSA-gwmc-6795-qghj
Go github.com/hashicorp/nomad >= 1.1.0, < 1.1.12 1.1.12 GHSA-gwmc-6795-qghj
Go github.com/hashicorp/nomad >= 1.2.0, < 1.2.6 1.2.6 GHSA-gwmc-6795-qghj
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 GO-2022-0600

References