CVE-2020-13250: Allocation of Resources Without Limits or Throttling in Hashicorp Consul

github.com/hashicorp/consul Updated 02 Oct 2025

Summary

18/05/2021
Yes i
High
7.5

CVE-2020-13250: Allocation of Resources Without Limits or Throttling in Hashicorp Consul. Affects github.com/hashicorp/consul across 2 version ranges.

>= 1.2.0, < 1.6.6 >= 1.7.0, < 1.7.4

Fixed in 1.6.6 or 1.7.4, depending on the release line you run. How to fix ↓

Also tracked for

The same CVE-2020-13250 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

HashiCorp Consul is a tool used for service discovery, configuration, and orchestration in distributed systems. It provides an HTTP API and DNS caching feature. The vulnerability in Consul allowed for a denial of service attack through excessive resource allocation. This vulnerability was present in versions 1.2.0 to 1.6.5 and 1.7.0 to 1.7.3 of the Consul package.

Vulnerability Detail

The vulnerability in HashiCorp Consul allowed an attacker to exploit the HTTP API and DNS caching feature to perform a denial of service attack. By sending a large number of requests without any limits or throttling, the attacker could exhaust system resources, leading to service disruption. This vulnerability had a high severity rating with a CVSS score of 7.5. It was fixed in versions 1.6.6 and 1.7.4 of the Consul package.

How To Fix

Latest published version: v1.22.7 as of 22 Oct 2026

go get github.com/hashicorp/consul@v1.22.7

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • >= 1.2.0, < 1.6.6 1.6.6
    go get github.com/hashicorp/consul@v1.6.6
  • >= 1.7.0, < 1.7.4 1.7.4
    go get github.com/hashicorp/consul@v1.7.4

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to upgrade to the fixed version of the Consul package to mitigate the risk of a denial of service attack.

Conclusion

The vulnerability in HashiCorp Consul allowed for a denial of service attack through excessive resource allocation. It is crucial to upgrade to the fixed version of the Consul package (1.6.6 or 1.7.4) to mitigate the risk. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for github.com/hashicorp/consul →

Share this vulnerability

FAQ

HashiCorp Consul is a tool used for service discovery, configuration, and orchestration in distributed systems.

This vulnerability allows for a denial of service attack, leading to service disruption.

This vulnerability has a high severity rating with a CVSS score of 7.5.

To fix this vulnerability, upgrade to the latest version of the Consul package (1.6.6 or 1.7.4).

There is no known workaround for this vulnerability. Upgrading to the fixed version is the recommended solution.

Related vulnerabilities

Recent vulnerabilities recorded for github.com/hashicorp/consul.

How To Fix

Latest published version: v1.22.7 as of 22 Oct 2026

go get github.com/hashicorp/consul@v1.22.7

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • >= 1.2.0, < 1.6.6 1.6.6
    go get github.com/hashicorp/consul@v1.6.6
  • >= 1.7.0, < 1.7.4 1.7.4
    go get github.com/hashicorp/consul@v1.7.4

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback