GitHub Advisory Database
GHSA-77cr-6gr8-7rr9
Use After Free in HashiCorp Nomad
Details
HashiCorp Nomad and Nomad Enterprise version 0.9.0 up to 0.12.5 client file sandbox feature can be subverted using either the template or artifact stanzas. Fixed in 0.12.6, 0.11.5, and 0.10.6
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/hashicorp/nomad | From 0.9.0 before 0.10.6 (fixed in 0.10.6) |
| Go | github.com/hashicorp/nomad | From 0.11.0 before 0.11.5 (fixed in 0.11.5) |
| Go | github.com/hashicorp/nomad | From 0.12.0 before 0.12.6 (fixed in 0.12.6) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-27195
- https://github.com/hashicorp/nomad/issues/9129
- https://github.com/hashicorp/nomad/pull/9139
- https://github.com/hashicorp/nomad/blob/master/CHANGELOG.md#0126-october-21-2020
- https://pkg.go.dev/github.com/hashicorp/nomad/client/allocrunner/taskrunner/template
- https://www.nomadproject.io/downloads