NomadApplication · Hashicorp

CVE-2022-24683

HIGH · 7.5 CVSS v3.1 Published 2022-02-17
Fix available
A fix is available. Upgrade to 1.0.18 / 1.1.12 or later.
See remediation →
84/100
Remediation priority · High
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

This is a file read vulnerability in HashiCorp Nomad where operators possessing specific capabilities (read-fs combined with alloc-exec, or read-fs combined with job-submit) can read arbitrary files on the host filesystem with root privileges. The issue stems from insufficient path validation allowing path traversal via the file system capability.

MitigationUpgrade Nomad to version 1.0.18, 1.1.12, or 1.2.6 (or later) to patch this vulnerability. Additionally, review and restrict the allocation-exec and job-submit capabilities granted to operators to limit the blast radius of this issue.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
NomadApplication
Affected:>= 0.9.2, < 1.0.18>= 1.1.0, < 1.1.12>= 1.2.0, < 1.2.6

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Check Nomad server version
    Run `nomad version` on the server or query the API endpoint `curl http://127.0.0.1:4646/v1/agent/self` to retrieve the version field
    Affected if The version is 0.9.2 through 1.0.17, 1.1.0 through 1.1.11, or 1.2.0 through 1.2.5 (meaning it falls within any of the three affected ranges)
  2. Verify if ACLs are enabled
    Check the Nomad configuration file (typically at /etc/nomad.d/nomad.hcl or /etc/nomad.conf) for the `acl` stanza with `enabled = true`, or query the API at /v1/operator/leader to confirm ACL status
    Affected if ACLs are enabled and the system relies on them for access control (the vulnerability is exploitable through ACL policy grants)
  3. Review ACL policies for read-fs capability grants
    Run `nomad acl policy list` to enumerate all policies, then use `nomad acl policy read <policy-name>` on each to inspect for `capabilities = ["read-fs"]` grants
    Affected if Any ACL policy grants the read-fs capability, as this is a required component for the exploit
  4. Check if any policy combines read-fs with alloc-exec
    Examine each ACL policy identified with read-fs and look for the presence of "alloc-exec" in the capabilities list
    Affected if A single policy grants both read-fs AND alloc-exec capabilities to any token, allowing path traversal via exec-based file reads
  5. Check if any policy combines read-fs with job-submit
    Examine each ACL policy identified with read-fs and look for the presence of "job-submit" in the capabilities list
    Affected if A single policy grants both read-fs AND job-submit capabilities to any token, allowing path traversal via job submission file reads

You are affected if your Nomad version is in the vulnerable ranges AND you have ACL policies that grant read-fs capability in combination with either alloc-exec or job-submit to any operator token.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 1.0.18 / 1.1.12 / 1.2.6 or later
Fixed in 1.0.181.1.121.2.6
Interim mitigation

Upgrade Nomad to version 1.0.18, 1.1.12, or 1.2.6 (or later) to patch this vulnerability. Additionally, review and restrict the allocation-exec and job-submit capabilities granted to operators to limit the blast radius of this issue.

Recommended fix High confidence

Upgrade to Nomad 1.0.18, 1.1.12, 1.2.6, or later stable releases (1.3.x+)

  1. Identify the current Nomad version by running `nomad version`
  2. Determine which version branch you are currently on (0.9.x-1.0.x, 1.1.x, or 1.2.x)
  3. Download the appropriate fixed release for your branch: 1.0.18, 1.1.12, or 1.2.6 respectively, or a later stable release from hashicorp.com/downloads
  4. Review the Nomad upgrade guide at https://www.nomadproject.io/docs/upgrade
  5. Ensure you have a backup of your Nomad state and configuration
  6. Stop the Nomad service on all nodes in your cluster
  7. Upgrade the Nomad binary on all cluster nodes
  8. Start the Nomad service on all nodes, verifying cluster formation succeeds
Caveat Upgrading across major version boundaries (0.x to 1.x) may introduce breaking changes; review the upgrade guide and release notes for your target version

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Nomad Scoped from the published advisory
  • Consultation3.0 h
  • Implementation6.0 h
  • Testing4.0 h
  • Review / QA2.0 h
15.0 hours of engineering $2,640
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,224.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2022-24683 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2022-24683 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data