Every CVE Search/ Get API key

CVE-2019-14802

Hashicorp Nomad Information Exposure Through Environmental Variables

5.3 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
None
Availability
None

Exploit likelihood

0.63%Down 0.3 points since Dec 27, 2022
90%50%10%1%

What each source reports

NVD Score used 5.3

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.

Record
CVE-2019-14802
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-200
Updated
2026-11-02
CVE List 5.3

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.

Record
CVE-2019-14802
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-200
Updated
2026-11-02
EUVDEUVD-2022-0861 5.3

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.

Record
EUVD-2022-0861
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-02
GitHub AdvisoriesGHSA-6hv3-7c34-4hx8 5.3

Hashicorp Nomad Information Exposure Through Environmental Variables

In Nomad before version 0.9.5, when rendering a task template, all environment variables were available to the rendering task. As a fix, only task environment variables are used.

Record
GHSA-6hv3-7c34-4hx8
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-200, CWE-526
Updated
2026-11-02
OSVALPINE-CVE-2019-14802 5.3

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.

Record
ALPINE-CVE-2019-14802
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-03
OSV 5.3

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.

Record
CVE-2019-14802
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-02
OSVGHSA-6hv3-7c34-4hx8 5.3

Hashicorp Nomad Information Exposure Through Environmental Variables

In Nomad before version 0.9.5, when rendering a task template, all environment variables were available to the rendering task. As a fix, only task environment variables are used.

Record
GHSA-6hv3-7c34-4hx8
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-200, CWE-526
Updated
2026-11-02
OSVUBUNTU-CVE-2019-14802 5.3

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.

Record
UBUNTU-CVE-2019-14802
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-02
OSVGO-2022-0634 No score

Hashicorp Nomad Information Exposure Through Environmental Variables in github.com/hashicorp/nomad

Hashicorp Nomad Information Exposure Through Environmental Variables in github.com/hashicorp/nomad

Record
GO-2022-0634
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
github.com/hashicorp/nomad
Go
before 0.9.5
0.9.5
nomad
Alpine:v3.13
0.5.0 up to 0.9.5-r0
0.9.5-r0
nomad
Alpine:v3.14
0.5.0 up to 0.9.5-r0
0.9.5-r0
nomad
Alpine:v3.15
0.5.0 up to 0.9.5-r0
0.9.5-r0
nomad
Alpine:v3.16
0.5.0 up to 0.9.5-r0
0.9.5-r0
nomad
Alpine:v3.17
0.5.0 up to 0.9.5-r0
0.9.5-r0
nomad
Alpine:v3.18
0.5.0 up to 0.9.5-r0
0.9.5-r0
nomad
Ubuntu:18.04:LTS
All versions, plus listed versions
0.4.0+dfsg-1
None known
nomad
Ubuntu:20.04:LTS
All versions, plus listed versions
0.8.7+dfsg1-1ubuntu1
None known

History

History
RecordedChangedSources
affected, aliases, referencesOSV
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2019-14802 is a medium vulnerability (CVSS 5.3) in Hashicorp Nomad, published February 15, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.63%, the 50th percentile. Fixed in github.com/hashicorp/nomad 0.9.5.

References

Show 6 moreShow less
MoveEnter Open