CVE-2020-12758
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.
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
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 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV: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 Medium
CVSS: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 High
CVSS: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 High
CVSS: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 Medium
CVSS: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
| Package | Affected | Fixed |
|---|---|---|
github.com/hashicorp/consulGo |
1.6.0-beta1 up to 1.6.6 | 1.6.6 |
github.com/hashicorp/consulGo |
1.7.0 up to 1.7.4 | 1.7.4 |
consulBitnami |
1.6.0 up to 1.6.6, 1.7.0 up to 1.7.4 | 1.6.61.7.4 |
consulDebian:11 |
before 1.7.4+dfsg1-1 | 1.7.4+dfsg1-1 |
github.com/hashicorp/consulGo |
1.6.0-beta1 up to 1.6.6, 1.7.0 up to 1.7.4 | 1.6.61.7.4 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE 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
github.com/hashicorp/consul/blob/v1.6.6/CHANGELOG.md
github.com/hashicorp/consul/blob/v1.7.4/CHANGELOG.md
github.com/hashicorp/consul/pull/7783
nvd.nist.gov/vuln/detail/CVE-2020-12758
github.com/hashicorp/consul/commit/69b44fb9424cfdc05f1b7243876ab10d236ef1fc
github.com/advisories/GHSA-q2qr-3c2p-9235
security-tracker.debian.org/tracker/CVE-2020-12758