Advisory

GHSA-wmrx-57hm-mw7r

Also known as: CVE-2022-24683, GO-2022-0584

Summary

Arbitrary file reads in HashiCorp Nomad

Details

Nomad is an easy-to-use, flexible, and performant workload orchestrator that can deploy a mix of microservice, batch, containerized, and non-containerized applications. 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. There are currently no known workarounds. Users are recommended to upgrade as soon as possible to avoid this issue.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-02-18 00:00 UTC
Modified
2024-08-21 15:26 UTC

Affected packages and fixes

github.com/hashicorp/nomad

Go · All systems

Affected

  • introduced 0.9.2, fixed 1.0.18 (semver)

Fixed versions

1.0.18

Fix

github.com/hashicorp/nomad

Go · All systems

Affected

  • introduced 1.1.0, fixed 1.1.12 (semver)

Fixed versions

1.1.12

Fix

github.com/hashicorp/nomad

Go · All systems

Affected

  • introduced 1.2.0, fixed 1.2.6 (semver)

Fixed versions

1.2.6

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences