Description
HashiCorp Nomad and Nomad Enterprise 1.0.17, 1.1.11, and 1.2.5 allow invalid HCL for the jobs parse endpoint, which may cause excessive CPU usage. Fixed in 1.0.18, 1.1.12, and 1.2.6.
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 | >= 1.0.0, < 1.0.17 | 1.0.17 | GHSA-3382-r9q8-4hfg |
| Go | github.com/hashicorp/nomad | >= 1.1.0, < 1.1.12 | 1.1.12 | GHSA-3382-r9q8-4hfg |
| Go | github.com/hashicorp/nomad | >= 1.2.0, < 1.2.6 | 1.2.6 | GHSA-3382-r9q8-4hfg |
| Go | github.com/hashicorp/nomad | >= 1.0.0, < 1.0.17 · >= 1.1.0, < 1.1.12 · >= 1.2.0, < 1.2.6 | 1.0.17, 1.1.12, 1.2.6 | GO-2022-0577 |
References
- https://discuss.hashicorp.com
- https://discuss.hashicorp.com/t/hcsec-2022-03-nomad-malformed-job-parsing-results-in-excessive-cpu-usage/35561
- https://security.netapp.com/advisory/ntap-20220331-0007/
- https://discuss.hashicorp.com/t/hcsec-2022-03-nomad-malformed-job-parsing-results-in-excessive-cpu-usage/