CVE-2019-14802 Hashicorp Nomad Information Exposure Through Environmental Variables
HashiCorp Nomad leaks unintended environment variables to rendering tasks, allowing attackers to read sensitive configuration data.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-14802?
CVE-2019-14802 is a medium-severity vulnerability in n/a, published on 26 Dec 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
HashiCorp Nomad 0.5.0 through 0.9.4 (fixed in 0.9.5) reveals unintended environment variables to the rendering task during template rendering, aka GHSA-6hv3-7c34-4hx8. This applies to nomad/client/allocrunner/taskrunner/template.
Weakness: CWE-200
Which versions are affected by CVE-2019-14802?
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 | All versions | 0.9.5 |
github.com/hashicorp/nomad Go | All versions | 0.9.5 |
github.com/hashicorp/nomad Go | All versions | 0.9.5 |
Products include Hashicorp Nomad.
How do I fix CVE-2019-14802?
Upgrade github.com/hashicorp/nomad to 0.9.5 or later.
Is CVE-2019-14802 being exploited?
There is no known exploitation of CVE-2019-14802 in the wild and no public exploit code.
Other vulnerabilities in n/a
- 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-6hv3-7c34-4hx8, GO-2022-0634, UBUNTU-CVE-2019-14802.