CVE-2021-37218
Nomad vulnerability analysis and mitigation

Overview

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. This vulnerability (CVE-2021-37218) was fixed in Nomad versions 1.0.10 and 1.1.4 (HashiCorp Discussion).

Technical details

The vulnerability exists in Nomad's mTLS implementation for agent communication between Nomad client and server agents. While mTLS provides encrypted and authenticated RPC channels, the authentication logic failed to properly restrict client agents from accessing server-only Raft RPC functionality. Using a non-server certificate from the configured Nomad CA allowed unauthorized access to server-only Raft RPC functions (HashiCorp Discussion).

Impact

This vulnerability allows client agents to escalate privileges by directly communicating with the server agent's Raft RPC layer, potentially gaining unauthorized access to server-only functionality (HashiCorp Discussion).

Mitigation and workarounds

Users should upgrade to Nomad or Nomad Enterprise versions 1.0.10, 1.1.4, or newer. The fix includes modifications to Nomad's RPC authentication logic to correctly enforce server-only access for the Raft RPC layer (HashiCorp Discussion).

Additional resources


SourceThis report was generated using AI

Related Nomad vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-4922HIGH8.1
  • NomadNomad
  • github.com/hashicorp/nomad
NoYesJun 11, 2025
CVE-2025-3744HIGH7.6
  • NomadNomad
  • cpe:2.3:a:hashicorp:nomad
NoYesMay 13, 2025
CVE-2025-0937HIGH7.1
  • NomadNomad
  • nomad
NoYesFeb 12, 2025
CVE-2025-1296MEDIUM6.5
  • NomadNomad
  • nomad
NoYesMar 10, 2025
CVE-2024-12678MEDIUM6.5
  • NomadNomad
  • nomad
NoYesDec 20, 2024

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management