Description
HashiCorp Nomad and Nomad Enterprise 0.9.2 through 1.0.17, 1.1.11, and 1.2.5 allow operators with read-fs and alloc-exec (or job-submit) capabilities to read arbitrary files on the host filesystem as root.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | nomad | No fix yet | — |
| Ubuntu 18.04 LTS | nomad | No fix yet | — |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.18 | nomad | 1.2.6-r0 | — |
| Alpine v3.17 | nomad | 1.2.6-r0 | — |
| Alpine v3.16 | nomad | 1.2.6-r0 | — |
| Alpine v3.15 | nomad | 1.1.12-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/hashicorp/nomad | >= 0.9.2, < 1.0.18 | 1.0.18 | GHSA-wmrx-57hm-mw7r |
| Go | github.com/hashicorp/nomad | >= 1.1.0, < 1.1.12 | 1.1.12 | GHSA-wmrx-57hm-mw7r |
| Go | github.com/hashicorp/nomad | >= 1.2.0, < 1.2.6 | 1.2.6 | GHSA-wmrx-57hm-mw7r |
| Go | github.com/hashicorp/nomad | >= 0.9.2, < 1.0.18 · >= 1.1.0, < 1.1.12 · >= 1.2.0, < 1.2.6 | 1.0.18, 1.1.12, 1.2.6 | GO-2022-0584 |