MEDIUM6.5
GHSA-7g3r-8c6v-hfmr
Consul key/value endpoint is vulnerable to denial of service
Quick fix
GHSA-7g3r-8c6v-hfmr — github.com/hashicorp/consul: upgrade to the fixed version with the command below.
go get github.com/hashicorp/consul@v1.22.0Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/hashicorp/consul
Introduced in:
0Fixed in: 1.22.0Fix
go get github.com/hashicorp/consul@v1.22.0References
- https://nvd.nist.gov/vuln/detail/CVE-2025-11374[ADVISORY]
- https://github.com/hashicorp/consul/pull/22916[WEB]
- https://github.com/hashicorp/consul/commit/72a358cd02533477536ad4bd2b781f520fa7fac6[WEB]
- https://discuss.hashicorp.com/t/hcsec-2025-29-consuls-kv-endpoint-is-vulnerable-to-denial-of-service/76724[WEB]
- https://github.com/hashicorp/consul[PACKAGE]
- https://github.com/hashicorp/consul/releases/tag/v1.22.0[WEB]
- https://pkg.go.dev/vuln/GO-2025-4081[WEB]