medium6.5
CVE-2024-12678
Hashicorp Nomad Incorrect Privilege Assignment vulnerability
Impact
Nomad Community and Nomad Enterprise ("Nomad") allocations are vulnerable to privilege escalation within a namespace through unredacted workload identity tokens. This vulnerability, identified as CVE-2024-12678, is fixed in Nomad Community Edition 1.9.4 and Nomad Enterprise 1.9.4, 1.8.8, and 1.7.16.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/hashicorp/nomad | < 1.9.4 | 1.9.4 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Hashicorp | Nomad | from 1.4.0 before 1.7.16 from 1.4.0 before 1.9.4 from 1.8.0 before 1.8.8 from 1.9.0 before 1.9.4 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://discuss.hashicorp.com/t/hcsec-2024-29-nomad-allocations-vulnerable-to-privilege-escalation-within-a-namespace-using-unredacted-workload-identity-token/72119
- https://github.com/advisories/GHSA-hr68-hvgv-xxqf
- https://nvd.nist.gov/vuln/detail/CVE-2024-12678
- https://github.com/hashicorp/nomad/commit/359a71861ef044cb5d749a36ff0e44b172c8f1a6