CVE-2025-11374: Consul key/value endpoint is vulnerable to denial of service
(updated )
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
- discuss.hashicorp.com/t/hcsec-2025-29-consuls-kv-endpoint-is-vulnerable-to-denial-of-service/76724
- github.com/advisories/GHSA-7g3r-8c6v-hfmr
- github.com/hashicorp/consul
- github.com/hashicorp/consul/commit/72a358cd02533477536ad4bd2b781f520fa7fac6
- github.com/hashicorp/consul/pull/22916
- github.com/hashicorp/consul/releases/tag/v1.22.0
- nvd.nist.gov/vuln/detail/CVE-2025-11374
- pkg.go.dev/vuln/GO-2025-4081
Code Behaviors & Features
Detect and mitigate CVE-2025-11374 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →