Skip to content
OpenAdvisories
Medium · 5.3 CVE-2020-13170 BIT-consul-2020-13170EUVD-2021-1142GHSA-p2j5-3f4c-224rGO-2022-0859

Improper Input Validation in HashiCorp Consul

Published Jun 11, 2020 · Updated Aug 4, 2024 · Assigned by mitre

Description

HashiCorp Consul and Consul Enterprise did not appropriately enforce scope for local tokens issued by a primary data center, where replication to a secondary data center was not enabled. Introduced in 1.4.0, fixed in 1.6.6 and 1.7.4.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 11 consul 1.7.4+dfsg1-1 —
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS consul No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/hashicorp/consul >= 1.6.0-beta1, < 1.6.6 1.6.6 GHSA-p2j5-3f4c-224r
Go github.com/hashicorp/consul >= 1.7.0, < 1.7.4 1.7.4 GHSA-p2j5-3f4c-224r
Go github.com/hashicorp/consul >= 1.6.0-beta1, < 1.6.6 · >= 1.7.0, < 1.7.4 1.6.6, 1.7.4 GO-2022-0859

References