CVE-2024-1329 Nomad Vulnerable to Arbitrary Write Through Symlink Attack
Attackers can write arbitrary files on the host via symlink attacks in the template renderer, potentially escalating privileges.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-1329?
CVE-2024-1329 is a high-severity path traversal vulnerability in HashiCorp Nomad, published on 8 Feb 2024. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
HashiCorp Nomad and Nomad Enterprise 1.5.13 up to 1.6.6, and 1.7.3 template renderer is vulnerable to arbitrary file write on the host as the Nomad client user through symlink attacks. This vulnerability, CVE-2024-1329, is fixed in Nomad 1.7.4, 1.6.7, and 1.5.14.
Which versions are affected by CVE-2024-1329?
7 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.13 | 1.5.14, 1.6.7, 1.7.4 |
github.com/hashicorp/nomad Go | From 1.5.13 | 1.5.14 |
github.com/hashicorp/nomad Go | From 1.5.13 | 1.5.14 |
github.com/hashicorp/nomad Go | From 1.6.0 | 1.6.7 |
github.com/hashicorp/nomad Go | From 1.6.0 | 1.6.7 |
github.com/hashicorp/nomad Go | From 1.7.3 | 1.7.4 |
1 more packages
github.com/hashicorp/nomad Go | From 1.7.3 | 1.7.4 |
Products include Hashicorp Nomad.
How do I fix CVE-2024-1329?
Upgrade github.com/hashicorp/nomad to a fixed version for your release line: 1.5.14, 1.6.7 or 1.7.4.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2024-1329 being exploited?
There is no known exploitation of CVE-2024-1329 in the wild and no public exploit code.
Other vulnerabilities in HashiCorp Nomad
- CVE-2023-1782 Nomad Unauthenticated Client Agent HTTP Request Privilege Escalation
- CVE-2022-30324 Privilege escalation in Hashicorp Nomad
- CVE-2020-7956 Improper Certificate Validation in HashiCorp Nomad
- CVE-2019-12618 Hashicorp Nomad Access Control Issues
- CVE-2020-27195 Use After Free in HashiCorp Nomad
Sources
Also known as GHSA-c866-8gpw-p3mv, GO-2024-2538, UBUNTU-CVE-2024-1329.