CVE-2020-25864Hashicorp Consul
Medium 6.1 No auth needed
Follow: this CVE · Hashicorp · Hashicorp Consul We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 6.1% probability of exploitation in 30 days · percentile 94
- Auth required
- No
- Published
- Apr 20, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Consul.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/hashicorp/consul |
≥ 1.9.0 < 1.9.5 |
1.9.5 |
go get github.com/hashicorp/consul@v1.9.5 |
| Go | github.com/hashicorp/consul |
≥ 1.8.0 < 1.8.10 |
1.8.10 |
go get github.com/hashicorp/consul@v1.8.10 |
| Go | github.com/hashicorp/consul |
< 1.7.14 |
1.7.14 |
go get github.com/hashicorp/consul@v1.7.14 |
| Go | github.com/hashicorp/consul |
< 1.7.14 |
1.7.14 |
go get github.com/hashicorp/consul@v1.7.14 |
| Go | github.com/hashicorp/consul |
≥ 1.8.0 < 1.8.10 |
1.8.10 |
go get github.com/hashicorp/consul@v1.8.10 |
| Go | github.com/hashicorp/consul |
≥ 1.9.0 < 1.9.5 |
1.9.5 |
go get github.com/hashicorp/consul@v1.9.5 |
Per OSV / GitHub Advisories (GHSA-8xmx-h8rq-h94j, GO-2023-1851). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| hashicorp | consul | < 1.7.14 |
| hashicorp | consul | < 1.7.14 |
| hashicorp | consul | ≥ 1.8.0 < 1.8.10 |
| hashicorp | consul | ≥ 1.8.0 < 1.8.10 |
| hashicorp | consul | ≥ 1.9.0 < 1.9.5 |
| hashicorp | consul | ≥ 1.9.0 < 1.9.5 |
Official sources
References
Links published by the sources. Open them with care.
- discuss.hashicorp.com Vendor Advisory
- security.gentoo.org Third Party Advisory
- www.hashicorp.com Product Vendor Advisory