{"id":"UBUNTU-CVE-2020-25864","details":"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.","modified":"2025-10-24T04:48:45Z","published":"2021-04-20T16:15:00Z","upstream":["CVE-2020-25864"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-25864"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1950275"},{"type":"REPORT","url":"https://github.com/hashicorp/consul/pull/10023"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-25864"}],"affected":[{"package":{"name":"consul","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/consul@0.6.4~dfsg-3?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.4~dfsg-3"],"ecosystem_specific":{"binaries":[{"binary_version":"0.6.4~dfsg-3","binary_name":"consul"},{"binary_version":"0.6.4~dfsg-3","binary_name":"golang-github-hashicorp-consul-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-25864.json"}},{"package":{"name":"consul","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/consul@1.5.2+dfsg2-14?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.7~dfsg1-5ubuntu1","1.4.4~dfsg1-2ubuntu2","1.5.2+dfsg1-6","1.5.2+dfsg1-10","1.5.2+dfsg1-12","1.5.2+dfsg2-14"],"ecosystem_specific":{"binaries":[{"binary_name":"consul","binary_version":"1.5.2+dfsg2-14"},{"binary_name":"golang-github-hashicorp-consul-dev","binary_version":"1.5.2+dfsg2-14"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-25864.json"}},{"package":{"name":"consul","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/consul@1.8.7+dfsg1-3?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.4+dfsg1-1","1.8.7+dfsg1-3"],"ecosystem_specific":{"binaries":[{"binary_name":"consul","binary_version":"1.8.7+dfsg1-3"},{"binary_name":"golang-github-hashicorp-consul-dev","binary_version":"1.8.7+dfsg1-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-25864.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}