CVE-2020-25864
consul: specially crafted KV entry could be used to perform a XSS attack
Overview
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.
Source: OX vulnerability database
Severity
6.1 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness: CWE-79
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | consul | <1.7.14>=1.8.0, <1.8.10>=1.9.0, <1.9.5 | 1.7.141.8.101.9.5 |
| Go | github.com/hashicorp/consul | >=1.9.0, <1.9.5>=1.8.0, <1.8.10<1.7.14 | 1.9.51.8.101.7.14 |
Open a package to see all its vulnerabilities.
Operating systems · 6 fixes
Photon OS 2 releases · 2 packages
fixed 2
consul
telegraf
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | consul | 1.9.5-1.ph4 |
| 5.0 | telegraf | 1.27.1-1.ph5 |
chainguard 1 release · 1 package
fixed 1
k3d
| Release | Package | Fixed in |
|---|---|---|
| k3d | 5.6.0-r11 |
debian 2 releases · 1 package
affected 1
fixed 1
consul
| Release | Package | Fixed in |
|---|---|---|
| 10 | consul | affected |
| 11 | consul | 1.8.7+dfsg1-2 |
wolfi 1 release · 1 package
fixed 1
k3d
| Release | Package | Fixed in |
|---|---|---|
| k3d | 5.6.0-r11 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2020-25864
- discuss.hashicorp.com https://discuss.hashicorp.com/t/hcsec-2021-07-consul-api-kv-endpoint-vulnerable-to-cross-site-scripting/23368
- github.com https://github.com/hashicorp/consul
- github.com https://github.com/hashicorp/consul/pull/10023
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2020-25864
- security.gentoo.org https://security.gentoo.org/glsa/202208-09
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2020-25864
- www.hashicorp.com https://www.hashicorp.com/blog/category/consul
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.