CVE-2020-12758: HashiCorp Consul and Consul Enterprise could crash when configured with an abnormally-formed service-router entry.
High CVSS 7.5
- CVE id
- CVE-2020-12758
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Consul Runtimes and servers |
>= 1.6.0, < 1.6.6 >= 1.7.0, < 1.7.4 |
1.6.6, 1.7.4 |
| Consul Enterprise Runtimes and servers |
>= 1.6.0, < 1.6.6 >= 1.7.0, < 1.7.4 |
1.6.6, 1.7.4 |
How to fix it
Consul (Runtimes and servers)
Upgrade Consul to the fixed release of the line you run: 1.6.6, 1.7.4.
consul version
- Upgrade Consul (the hashicorp/consul image or binary) to the patched release.
Consul Enterprise (Runtimes and servers)
Upgrade Consul Enterprise to the fixed release of the line you run: 1.6.6, 1.7.4.
consul version
- Upgrade Consul Enterprise (the hashicorp/consul-enterprise image or binary) to the patched release.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
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.
References
- CVE-2020-12758 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2020-12758
- Web: https://github.com/hashicorp/consul/blob/v1.6.6/CHANGELOG.md
- Web: https://github.com/hashicorp/consul/blob/v1.7.4/CHANGELOG.md
- Web: https://github.com/hashicorp/consul/pull/7783
- Web: https://github.com/hashicorp/consul/blob/v1.6.6/CHANGELOG.md
- Web: https://github.com/hashicorp/consul/blob/v1.7.4/CHANGELOG.md
- Web: https://github.com/hashicorp/consul/pull/7783
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.