GHSA-7g3r-8c6v-hfmr
Consul key/value endpoint is vulnerable to denial of service
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Go | github.com/hashicorp/consul | < 1.22.0 | 1.22.0 |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2025-11374
- https://github.com/hashicorp/consul/pull/22916
- https://github.com/hashicorp/consul/commit/72a358cd02533477536ad4bd2b781f520fa7fac6
- https://discuss.hashicorp.com/t/hcsec-2025-29-consuls-kv-endpoint-is-vulnerable-to-denial-of-service/76724
- https://github.com/hashicorp/consul
- https://github.com/hashicorp/consul/releases/tag/v1.22.0
- https://pkg.go.dev/vuln/GO-2025-4081