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.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/hashicorp/nomadGo | >= 1.0.0, < 1.0.17 | 1.0.17 |
github.com/hashicorp/nomadGo | >= 1.1.0, < 1.1.12 | 1.1.12 |
github.com/hashicorp/nomadGo | >= 1.2.0, < 1.2.6 | 1.2.6 |
Affected products
2- HashiCorp/Nomaddescription
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
9- github.com/advisories/GHSA-3382-r9q8-4hfgghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-24685ghsaADVISORY
- github.com/hashicorp/nomadghsaPACKAGE
- discuss.hashicorp.comghsax_refsource_MISCWEB
- discuss.hashicorp.com/t/hcsec-2022-03-nomad-malformed-job-parsing-results-in-excessive-cpu-usageghsaWEB
- discuss.hashicorp.com/t/hcsec-2022-03-nomad-malformed-job-parsing-results-in-excessive-cpu-usage/mitrex_refsource_MISC
- discuss.hashicorp.com/t/hcsec-2022-03-nomad-malformed-job-parsing-results-in-excessive-cpu-usage/35561ghsax_refsource_MISCWEB
- security.netapp.com/advisory/ntap-20220331-0007ghsaWEB
- security.netapp.com/advisory/ntap-20220331-0007/mitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.