medium6.5
CVE-2025-11374
Consul key/value endpoint is vulnerable to denial of service
Impact
Consul and Consul Enterprise’s (“Consul”) key/value endpoint is vulnerable to denial of service (DoS) due to incorrect Content Length header validation. This vulnerability, CVE-2025-11374, is fixed in Consul Community Edition 1.22.0 and Consul Enterprise 1.22.0, 1.21.6, 1.20.8 and 1.18.12.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/hashicorp/consul | < 1.22.0 | 1.22.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Hashicorp | Consul | before 1.18.12 before 1.22.0 from 1.19.0 before 1.20.8 from 1.21.0 before 1.21.6 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://discuss.hashicorp.com/t/hcsec-2025-29-consuls-kv-endpoint-is-vulnerable-to-denial-of-service/76724
- https://github.com/advisories/GHSA-7g3r-8c6v-hfmr
- https://nvd.nist.gov/vuln/detail/CVE-2025-11374
- https://github.com/hashicorp/consul/pull/22916
- https://github.com/hashicorp/consul/commit/72a358cd02533477536ad4bd2b781f520fa7fac6
- https://github.com/hashicorp/consul/releases/tag/v1.22.0
- https://pkg.go.dev/vuln/GO-2025-4081