CVE-2021-37218 json
Privilege escalation in Hashicorp Nomad
published 2021-09-07 5 y ago modified 2026-06-17 4 mo ago also GHSA-c8x3-rg72-fwwg , GO-2022-0591 , EUVD-2021-2035
- cvss
- 8.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 52%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/hashicorp/nomad 1.0.10, 1.1.4
- hashicorp nomad 1.0.10, 1.1.4
- 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-2021-37218
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- nomad Arch Linux 1.1.4-1
arch linux advisories AVG-2359
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-37218 updated cvss 8.8
nomad: Raft RPC privilege escalation
-
Red Hat Advanced Cluster Management for Kubernetes 2 multicluster-engine, rhacm2/openshift-hive-rhel8, rhacm2/multiclusterhub-rhel8, rhacm2/multicloud-manager-rhel8, rhacm2/cluster-curator-controller-rhel8, rhacm2/clusterlifecycle-state-metrics-rhel8not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.67% chance of exploitation in the next 30 days, higher than 52% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/hashicorp/nomad | <1.0.10 >=1.1.0, <1.1.4 |
1.0.10 1.1.4 |
Classification
- Weakness
-
- CWE-295 Improper Certificate Validation
References
-
hashicorp.com
/blog/category/nomad
web, product, vendor-advisory
-
discuss.hashicorp.com
/t/hcsec-2021-21-nomad-raft-rpc-privilege-escalation/29023
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-37218
advisory
-
github.com
/hashicorp/nomad
package
-
github.com
/advisories/GHSA-c8x3-rg72-fwwg
advisory
Sources
- CVE List CVE-2021-37218
- GitHub Advisory GHSA-c8x3-rg72-fwwg
- NVD CVE-2021-37218
- OSV GO-2022-0591
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.