VYPR
High severityNVD Advisory· Published Feb 28, 2022· Updated Aug 3, 2024

CVE-2022-24685

CVE-2022-24685

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

HashiCorp Nomad and Nomad Enterprise versions prior to 1.0.18, 1.1.12, and 1.2.6 allow excessive CPU usage via malformed HCL submitted to the jobs parse endpoint.

Vulnerability

HashiCorp Nomad and Nomad Enterprise versions 1.0.0 through 1.0.17, 1.1.11, and 1.2.5 contain a vulnerability in the jobs API parse endpoint, which converts HCL job files to JSON. Malformed HCL submitted to this endpoint causes excessive CPU usage on Nomad server agents. The vulnerability is fixed in versions 1.0.18, 1.1.12, and 1.2.6 [1][3].

Exploitation

An attacker with network access to the Nomad API can exploit this vulnerability by sending a crafted HTTP request containing malformed HCL job configuration to the /v1/jobs/parse endpoint. No authentication is required prior to the fix; after the fix, an ACL token is needed. The malformed input triggers a resource-intensive parsing process, leading to excessive CPU consumption [3].

Impact

Successful exploitation results in excessive CPU usage on Nomad server agents, causing a denial of service (DoS) condition. The vulnerability does not affect data confidentiality or integrity [1][3].

Mitigation

Upgrade to Nomad or Nomad Enterprise version 1.0.18, 1.1.12, or 1.2.6 or newer. The update also introduces an ACL token requirement for the parse endpoint to reduce the attack surface. No workaround is available [3].

AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
github.com/hashicorp/nomadGo
>= 1.0.0, < 1.0.171.0.17
github.com/hashicorp/nomadGo
>= 1.1.0, < 1.1.121.1.12
github.com/hashicorp/nomadGo
>= 1.2.0, < 1.2.61.2.6

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

9

News mentions

0

No linked articles in our index yet.