Skip to content
NomadGHSA-rqm8-q8j9-662f

Nomad Job Submitter Privilege Escalation Using Workload Identity

High8.8CVE-2023-1299 · Published Mar 14, 2023 · updated Aug 20, 2024

### Summary A vulnerability was identified in Nomad and Nomad Enterprise (“Nomad”) such that a user with the submit-job ACL capability can submit a job that can escalate to management-level privileges. This vulnerability, CVE-2023-1299, was introduced in Nomad 1.5.0 and fixed in Nomad 1.5.1. ### Background Nomad 1.4.0 introduced the concept of workload identity so that tasks can access variables without needing to access them through Nomad HTTP API with an ACL token. In 1.5.0, the identity block was introduced, which exposes the workload identity token to the workload so it can access Nomad HTTP API via a unix domain socket without configuring mTLS. ### Details During internal testing, we discovered it was possible to abuse the workload identity to elevate to management-level privilege if the workload identity did not have any attached ACL policies. ### Remediation Customers should evaluate the risk associated with this issue and consider upgrading to Nomad 1.5.1 or newer. See Nomad’s Upgrading for general guidance on this process.

GitHub advisory

Affected versions

PackageAffectedFixed in
github.com/hashicorp/nomad
Go
>= 1.5.0, < 1.5.11.5.1
Details and references
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Severity from
GitHub (reviewed advisory)
Also known as
CVE-2023-1299, GO-2023-1633

More Nomad advisories

All Nomad
Advisory
Nomad ACL Policies without Label are Applied to Unexpected Resources
Medium4.1Jul 20, 2023
Hashicorp Nomad ACLs Cannot Deny Access to Workload’s Own Variables
Medium5.3Jul 6, 2023
HashiCorp Nomad vulnerable to unauthenticated client agent HTTP request privilege escalation
High8.8Apr 5, 2023
Uncontrolled Resource Consumption in Hashicorp Nomad
Medium6.5Feb 17, 2023
HashiCorp Nomad vulnerable to non-sensitive metadata exposure
Medium5.0Nov 10, 2022
HashiCorp Nomad vulnerable to Insufficient Session Expiration
Low2.7Nov 10, 2022

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.