Skip to content
OpenAdvisories
Medium · 6.1 Scanner template CVE-2020-25864 BIT-consul-2020-25864EUVD-2022-3260GHSA-8xmx-h8rq-h94jGO-2023-1851

HashiCorp Consul Cross-site Scripting vulnerability

Published Apr 20, 2021 · Updated Aug 4, 2024 · Assigned by mitre

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.

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.8.7+dfsg1-2 —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS consul No fix yet —
Ubuntu 20.04 LTS consul No fix yet —
Ubuntu 18.04 LTS consul No fix yet —
ReleasePackageFixed inAdvisory
Alpine v3.18 consul 1.9.5-r0 —
Alpine v3.17 consul 1.9.5-r0 —
Alpine v3.16 consul 1.9.5-r0 —
Alpine v3.15 consul 1.9.5-r0 —
Alpine v3.14 consul 1.9.5-r0 —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.13 consul 1.9.5-r0 —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling k3d +2 5.6.0-r11 —

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/hashicorp/consul >= 1.9.0, < 1.9.5 1.9.5 GHSA-8xmx-h8rq-h94j
Go github.com/hashicorp/consul >= 1.8.0, < 1.8.10 1.8.10 GHSA-8xmx-h8rq-h94j
Go github.com/hashicorp/consul < 1.7.14 1.7.14 GHSA-8xmx-h8rq-h94j
Go github.com/hashicorp/consul < 1.7.14 · >= 1.8.0, < 1.8.10 · >= 1.9.0, < 1.9.5 1.7.14, 1.8.10, 1.9.5 GO-2023-1851

References