{"id":"UBUNTU-CVE-2021-38698","details":"HashiCorp Consul and Consul Enterprise 1.10.1 Txn.Apply endpoint allowed services to register proxies for other services, enabling access to service traffic. Fixed in 1.8.15, 1.9.9 and 1.10.2.","modified":"2025-10-24T04:50:29Z","published":"2021-09-07T12:15:00Z","upstream":["CVE-2021-38698"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-38698"},{"type":"REPORT","url":"https://discuss.hashicorp.com/t/hcsec-2021-24-consul-missing-authorization-check-on-txn-apply-endpoint/29026"},{"type":"REPORT","url":"https://www.hashicorp.com/blog/category/consul"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-38698"}],"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_name":"consul","binary_version":"0.6.4~dfsg-3"},{"binary_name":"golang-github-hashicorp-consul-dev","binary_version":"0.6.4~dfsg-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-38698.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_version":"1.5.2+dfsg2-14","binary_name":"golang-github-hashicorp-consul-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-38698.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_version":"1.8.7+dfsg1-3","binary_name":"consul"},{"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/2021/UBUNTU-CVE-2021-38698.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"low"}]}