{"id":"CVE-2019-14802","aliases":["ALPINE-CVE-2019-14802","EUVD-2022-0861","GHSA-6hv3-7c34-4hx8","GO-2022-0634","UBUNTU-CVE-2019-14802"],"status":"published","title":"Hashicorp Nomad Information Exposure Through Environmental Variables","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.","severity":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.00628,"percentile":0.50384,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-200","CWE-526"],"published":"2022-02-15T01:57:18Z","modified":"2026-11-03T06:31:49Z","fixes":[{"ecosystem":"Go","package":"github.com/hashicorp/nomad","fixed_in":["0.9.5"],"sources":["ghsa","osv"]},{"ecosystem":"Alpine:v3.13","package":"nomad","fixed_in":["0.9.5-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.14","package":"nomad","fixed_in":["0.9.5-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.15","package":"nomad","fixed_in":["0.9.5-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"nomad","fixed_in":["0.9.5-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.17","package":"nomad","fixed_in":["0.9.5-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"nomad","fixed_in":["0.9.5-r0"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/hashicorp/nomad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.5"}]}]},{"source":"osv","ecosystem":"Alpine:v3.13","package":"nomad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.5.0"},{"fixed":"0.9.5-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.14","package":"nomad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.5.0"},{"fixed":"0.9.5-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.15","package":"nomad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.5.0"},{"fixed":"0.9.5-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"nomad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.5.0"},{"fixed":"0.9.5-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"nomad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.5.0"},{"fixed":"0.9.5-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"nomad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.5.0"},{"fixed":"0.9.5-r0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/nomad","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.9.5"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/nomad","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.9.5"}]}]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"nomad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.0+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"nomad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.8.7+dfsg1-1ubuntu1"]}],"products":[{"vendor":"hashicorp","product":"nomad"}],"references":[{"url":"https://www.hashicorp.com/blog/category/nomad","tags":["x_transferred","Product","Vendor Advisory","advisory","web","report"]},{"url":"https://advisories.gitlab.com/advisory/advgo_github_com_hashicorp_nomad_client_allocrunner_taskrunner_template_GMS_2022_818.html","tags":["x_transferred","Third Party Advisory","advisory","web","report"]},{"url":"https://github.com/hashicorp/nomad/pull/6055","tags":["web","fix"]},{"url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-14802","tags":["web","advisory"]},{"url":"https://github.com/hashicorp/nomad/releases/tag/v0.9.5","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-14802","tags":["advisory"]},{"url":"https://github.com/hashicorp/nomad/commit/e8238305ef0b9ef37be3efd86a8d34bfbed5f63f","tags":["web","fix"]},{"url":"https://github.com/advisories/GHSA-6hv3-7c34-4hx8","tags":["advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2019-14802","tags":["advisory"]},{"url":"https://github.com/hashicorp/nomad","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2019-14802","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-14802","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2019-14802","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.","status":"published","published":"2022-12-26T00:00:00Z","modified":"2025-04-14T17:23:01.368Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"adp"}],"cwes":["CWE-200"],"updated_at":"2026-11-02T14:20:17.722148Z"}],"euvd":[{"id":"EUVD-2022-0861","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.","status":"published","published":"2022-12-26T00:00:00Z","modified":"2025-04-14T17:23:01Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T20:52:33.465211Z"}],"ghsa":[{"id":"GHSA-6hv3-7c34-4hx8","title":"Hashicorp Nomad Information Exposure Through Environmental Variables","description":"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.","status":"published","published":"2022-02-15T01:57:18Z","modified":"2025-04-14T22:09:14Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-200","CWE-526"],"updated_at":"2026-11-02T14:38:39.85223Z"}],"nvd":[{"id":"CVE-2019-14802","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.","status":"published","published":"2022-12-26T21:15:10.327Z","modified":"2026-06-17T02:19:02.86Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"primary"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-200"],"updated_at":"2026-11-02T14:05:49.099942Z"}],"osv":[{"id":"ALPINE-CVE-2019-14802","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.","status":"published","published":"2022-12-26T21:15:10.327Z","modified":"2026-11-03T06:31:49.90032511Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"updated_at":"2026-11-03T07:18:15.355745Z"},{"id":"CVE-2019-14802","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.","status":"published","published":"2022-12-26T21:15:10.327Z","modified":"2026-10-24T10:30:59.841813673Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:11.029493Z"},{"id":"GHSA-6hv3-7c34-4hx8","title":"Hashicorp Nomad Information Exposure Through Environmental Variables","description":"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.","status":"published","published":"2022-02-15T01:57:18Z","modified":"2024-08-21T15:42:03.991769Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-200","CWE-526"],"updated_at":"2026-11-02T15:46:39.618611Z"},{"id":"UBUNTU-CVE-2019-14802","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.","status":"published","published":"2022-12-26T21:15:00Z","modified":"2025-10-24T04:47:45Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:19.6877Z"},{"id":"GO-2022-0634","title":"Hashicorp Nomad Information Exposure Through Environmental Variables in github.com/hashicorp/nomad","description":"Hashicorp Nomad Information Exposure Through Environmental Variables in github.com/hashicorp/nomad","status":"published","published":"2024-08-21T15:11:40Z","modified":"2026-03-03T04:50:47.92141Z","updated_at":"2026-11-02T15:47:00.918515Z"}]}}
