CVE-2023-1782 Nomad Unauthenticated Client Agent HTTP Request Privilege Escalation
Unauthenticated users can bypass ACLs and escalate privileges in Nomad clusters where mTLS is not enabled.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-1782?
CVE-2023-1782 is a critical missing authorization vulnerability in HashiCorp Nomad, published on 5 Apr 2023. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
HashiCorp Nomad and Nomad Enterprise versions 1.5.0 up to 1.5.2 allow unauthenticated users to bypass intended ACL authorizations for clusters where mTLS is not enabled. This issue is fixed in version 1.5.3.
Weakness: CWE-862
Which versions are affected by CVE-2023-1782?
3 open source packages ship an affected version, including github.com/hashicorp/nomad. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/hashicorp/nomad Go | From 1.5.0 | 1.5.3 |
github.com/hashicorp/nomad Go | From 1.5.0 | 1.5.3 |
github.com/hashicorp/nomad Go | From 1.5.0 | 1.5.3 |
Products include Hashicorp Nomad.
How do I fix CVE-2023-1782?
Upgrade github.com/hashicorp/nomad to 1.5.3 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2023-1782 being exploited?
There is no known exploitation of CVE-2023-1782 in the wild and no public exploit code.
Other vulnerabilities in HashiCorp Nomad
Sources
Also known as GHSA-f8r8-h93m-mj77, GO-2023-1707, UBUNTU-CVE-2023-1782.