Vulnerability · Published Apr 20, 2021 · Assigned by mitre
CVE-2020-25864
Medium 6.1
In plain English
A medium-severity security flaw in the github.com/hashicorp/consul package (Go). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 6.1% (higher than 93% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei. Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)6.1Medium
Exploit odds (30 days)6.1%top 6.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling1Nuclei
Official description
HashiCorp Consul and Consul Enterprise up to version 1.9.4 key-value (KV) raw mode was vulnerable to cross-site scripting. Fixed in 1.9.5, 1.8.10 and 1.7.14.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/hashicorp/consul | 1.9.5 | GHSA-8xmx-h8rq-h94j |
| Go | github.com/hashicorp/consul | 1.8.10 | GHSA-8xmx-h8rq-h94j |
| Go | github.com/hashicorp/consul | 1.7.14 | GHSA-8xmx-h8rq-h94j |
| Go | github.com/hashicorp/consul | 1.7.14, 1.8.10, 1.9.5 | GO-2023-1851 |
| Ubuntu:22.04:LTS | consul | no fix listed | UBUNTU-CVE-2020-25864 |
Affected products (as reported)
References
- https://www.hashicorp.com/blog/category/consul x_refsource_MISC
- https://discuss.hashicorp.com/t/hcsec-2021-07-consul-api-kv-endpoint-vulnerable-to-cross-site-scripting/23368 x_refsource_MISC
- GLSA-202208-09 vendor-advisory, x_refsource_GENTOO