CVE-2025-11374: Github.com/hashicorp/consul Denial of Service Vulnerability
MODERATECVE-2025-11374 is a MODERATE (CVSS 6.5) denial of service vulnerability (CWE-770: Allocation of Resources Without Limits or Throttling) affecting Github.com/hashicorp/consul libraries in the Go ecosystem. The issue involves consul key/value endpoint is vulnerable to denial of service. Remediation is available by upgrading affected packages to version 1.22.0.
CVE-2025-11374 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2025-11374
To remediate this vulnerability, upgrade all affected Github.com/hashicorp/consul dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/hashicorp/consul to 1.22.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/hashicorp/consul
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-11374, inspect your project dependencies for Github.com/hashicorp/consul:
inspect dependencies for github.com/hashicorp/consul
Analyze the terminal output to locate any version of Github.com/hashicorp/consul in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.22.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-770: Allocation of Resources Without Limits or Throttling, where the product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated. In Github.com/hashicorp/consul, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-11374 Affected Github.com/hashicorp/consul Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/hashicorp/consul
|
Go |
< 1.22.0
|
1.22.0
|
References
Frequently Asked Questions
What is CVE-2025-11374?
Which Github.com/hashicorp/consul versions are affected?
What version fixes CVE-2025-11374?
Is github.com/hashicorp/consul affected?
What is the CVSS score of CVE-2025-11374?
What CWE is associated with CVE-2025-11374?
How can I check Go dependencies for CVE-2025-11374?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-7g3r-8c6v-hfmr",
"modified" : "2025-11-05T22:12:03Z",
"published" : "2025-10-28T21:30:33Z",
"aliases" : [ "CVE-2025-11374" ],
"summary" : "Consul key/value endpoint is vulnerable to denial of service",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/hashicorp/consul"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.22.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-11374"
}, {
"type" : "WEB",
"url" : "https://github.com/hashicorp/consul/pull/22916"
}, {
"type" : "WEB",
"url" : "https://github.com/hashicorp/consul/commit/72a358cd02533477536ad4bd2b781f520fa7fac6"
}, {
"type" : "WEB",
"url" : "https://discuss.hashicorp.com/t/hcsec-2025-29-consuls-kv-endpoint-is-vulnerable-to-denial-of-service/76724"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/hashicorp/consul"
}, {
"type" : "WEB",
"url" : "https://github.com/hashicorp/consul/releases/tag/v1.22.0"
}, {
"type" : "WEB",
"url" : "https://pkg.go.dev/vuln/GO-2025-4081"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-770" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-10-29T15:40:04Z",
"nvd_published_at" : "2025-10-28T21:15:37Z"
}
}