Every CVE Search/ Get API key

CVE-2020-12758

Denial of Service (DoS) in HashiCorp Consul

7.5 HighFix available

HashiCorp Consul and Consul Enterprise could crash when configured with an abnormally-formed service-router entry. Introduced in 1.6.0, fixed in 1.6.6 and 1.7.4.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

1.71%Up 0.9 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 7.5

HashiCorp Consul and Consul Enterprise could crash when configured with an abnormally-formed service-router entry. Introduced in 1.6.0, fixed in 1.6.6 and 1.7.4.

Record
CVE-2020-12758
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Weakness
CWE-404
Updated
2026-11-02
CVE List No score

HashiCorp Consul and Consul Enterprise could crash when configured with an abnormally-formed service-router entry. Introduced in 1.6.0, fixed in 1.6.6 and 1.7.4.

Record
CVE-2020-12758
Updated
2026-11-02
EUVDEUVD-2022-1142 No score

HashiCorp Consul and Consul Enterprise could crash when configured with an abnormally-formed service-router entry. Introduced in 1.6.0, fixed in 1.6.6 and 1.7.4.

Record
EUVD-2022-1142
Updated
2026-11-03
GitHub AdvisoriesGHSA-q2qr-3c2p-9235 5.3

Denial of Service (DoS) in HashiCorp Consul

HashiCorp Consul and Consul Enterprise could crash when configured with an abnormally-formed service-router entry. Introduced in 1.6.0, fixed in 1.6.6 and 1.7.4.

Specific Go Packages Affected

github.com/hashicorp/consul/agent/consul/discoverychain

Record
GHSA-q2qr-3c2p-9235
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-400
Updated
2026-11-02
OSV 7.5

HashiCorp Consul and Consul Enterprise could crash when configured with an abnormally-formed service-router entry. Introduced in 1.6.0, fixed in 1.6.6 and 1.7.4.

Record
CVE-2020-12758
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2020-12758 7.5

HashiCorp Consul and Consul Enterprise could crash when configured with an abnormally-formed service-router entry. Introduced in 1.6.0, fixed in 1.6.6 and 1.7.4.

Record
DEBIAN-CVE-2020-12758
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVGHSA-q2qr-3c2p-9235 5.3

Denial of Service (DoS) in HashiCorp Consul

HashiCorp Consul and Consul Enterprise could crash when configured with an abnormally-formed service-router entry. Introduced in 1.6.0, fixed in 1.6.6 and 1.7.4.

Specific Go Packages Affected

github.com/hashicorp/consul/agent/consul/discoverychain

Record
GHSA-q2qr-3c2p-9235
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-400
Updated
2026-11-02
OSVBIT-consul-2020-12758 No score

HashiCorp Consul and Consul Enterprise could crash when configured with an abnormally-formed service-router entry. Introduced in 1.6.0, fixed in 1.6.6 and 1.7.4.

Record
BIT-consul-2020-12758
Updated
2026-11-02
OSVGO-2022-0861 No score

Denial of Service (DoS) in HashiCorp Consul in github.com/hashicorp/consul

Denial of Service (DoS) in HashiCorp Consul in github.com/hashicorp/consul

Record
GO-2022-0861
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
github.com/hashicorp/consul
Go
1.6.0-beta1 up to 1.6.6
1.6.6
github.com/hashicorp/consul
Go
1.7.0 up to 1.7.4
1.7.4
consul
Bitnami
1.6.0 up to 1.6.6, 1.7.0 up to 1.7.4
1.6.61.7.4
consul
Debian:11
before 1.7.4+dfsg1-1
1.7.4+dfsg1-1
github.com/hashicorp/consul
Go
1.6.0-beta1 up to 1.6.6, 1.7.0 up to 1.7.4
1.6.61.7.4

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2020-12758 is a high vulnerability (CVSS 7.5) in Hashicorp Consul, published June 11, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.71%, the 77th percentile. Fixed in github.com/hashicorp/consul 1.6.6.

References

MoveEnter Open