Skip to content

Privilege escalation in Hashicorp Nomad

High severity GitHub Reviewed Published Sep 8, 2021 to the GitHub Advisory Database • Updated Feb 1, 2023

Package

gomod github.com/hashicorp/nomad (Go)

Affected versions

< 1.0.10
>= 1.1.0, < 1.1.4

Patched versions

1.0.10
1.1.4

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.

References

Published by the National Vulnerability Database Sep 7, 2021
Reviewed Sep 8, 2021
Published to the GitHub Advisory Database Sep 8, 2021
Last updated Feb 1, 2023

Severity

High
8.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2021-37218

GHSA ID

GHSA-c8x3-rg72-fwwg

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.