CVE-2021-43415: Improper Authentication in HashiCorp Nomad
8.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.45673%
CWE
Published
12/10/2021
Updated
2/1/2023
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
github.com/hashicorp/nomad | go | < 1.0.14 | 1.0.14 |
github.com/hashicorp/nomad | go | >= 1.1.0, < 1.1.8 | 1.1.8 |
github.com/hashicorp/nomad | go | >= 1.2.0, < 1.2.1 | 1.2.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from insufficient validation of QEMU task driver arguments. The QEMU driver's configuration processing (configureTask) and command construction (startQemu) functions did not implement an allowlist for QEMU flags prior to the patch. This allowed attackers to inject arguments like -drive to bypass image path restrictions. The fix introduced an args_allowlist configuration, confirming these functions were the attack surface. While exact function names are inferred from Nomad's architecture, the QEMU driver's argument handling is unequivocally implicated based on the vulnerability description and remediation guidance.