CVE-2019-14802 Hashicorp Nomad Information Exposure Through Environmental Variables

Medium 5.3 Published Updated

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.

PackageAffectedFixed in
github.com/hashicorp/nomad GoAll versions0.9.5
github.com/hashicorp/nomad GoAll versions0.9.5
github.com/hashicorp/nomad GoAll versions0.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.

Sources

Also known as GHSA-6hv3-7c34-4hx8, GO-2022-0634, UBUNTU-CVE-2019-14802.

Is CVE-2019-14802 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free