CVE-2021-37218 Privilege escalation in Hashicorp Nomad
Non-server agents with valid certificates can access server-only functionality, leading to privilege escalation in HashiCorp Nomad.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-37218?
CVE-2021-37218 is a high-severity vulnerability in n/a, published on 7 Sep 2021. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-295
Which versions are affected by CVE-2021-37218?
5 open source packages ship an affected version, including github.com/hashicorp/nomad. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/hashicorp/nomad Go | All versions | 1.0.10, 1.1.4 |
github.com/hashicorp/nomad Go | All versions | 1.0.10 |
github.com/hashicorp/nomad Go | All versions | 1.0.10 |
github.com/hashicorp/nomad Go | From 1.1.0 | 1.1.4 |
github.com/hashicorp/nomad Go | From 1.1.0 | 1.1.4 |
Products include Hashicorp Nomad.
How do I fix CVE-2021-37218?
Upgrade github.com/hashicorp/nomad to a fixed version for your release line: 1.0.10 or 1.1.4.
Is CVE-2021-37218 being exploited?
There is no known exploitation of CVE-2021-37218 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2023-1782 Nomad Unauthenticated Client Agent HTTP Request Privilege Escalation
- CVE-2022-30324 Privilege escalation in Hashicorp Nomad
- CVE-2020-7956 Improper Certificate Validation in HashiCorp Nomad
- CVE-2019-12618 Hashicorp Nomad Access Control Issues
- CVE-2020-27195 Use After Free in HashiCorp Nomad
Sources
Also known as GHSA-c8x3-rg72-fwwg, GO-2022-0591, UBUNTU-CVE-2021-37218.