Skip to content
OpenAdvisories
High · 8.8 CVE-2021-37218 EUVD-2021-2035GHSA-c8x3-rg72-fwwgGO-2022-0591

Privilege escalation in Hashicorp Nomad

Published Sep 7, 2021 · Updated Aug 4, 2024 · Assigned by mitre

Description

HashiCorp Nomad and Nomad Enterprise Raft RPC layer allows non-server agents with a valid certificate signed by the same CA to access server-only functionality, enabling privilege escalation. Fixed in 1.0.10 and 1.1.4.

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 < 1.0.10 1.0.10 GHSA-c8x3-rg72-fwwg
Go github.com/hashicorp/nomad >= 1.1.0, < 1.1.4 1.1.4 GHSA-c8x3-rg72-fwwg
Go github.com/hashicorp/nomad < 1.0.10 · >= 1.1.0, < 1.1.4 1.0.10, 1.1.4 GO-2022-0591

References