CVE-2021-38698
MEDIUM 6.5CVSS 3.1HashiCorp Consul and Consul Enterprise 1.10.1 Txn.Apply endpoint allowed services to register proxies for other services, enabling access to service traffic.
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.
- Published
- 7 Sep 2021
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-862CWE-863
- Also known as
- BIT-consul-2021-38698GHSA-6hw5-6gcx-phmwGO-2022-0559
- Sources
- NVDJSONOSV GHSA-6hw5-6gcx-phmwJSONOSV GO-2022-0559JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | hashicorp | consulcpe:2.3:a:hashicorp:consul:*:*:*:*:-:*:*:* |
< 1.8.15 | 1.8.15 |
| NVD | hashicorp | consulcpe:2.3:a:hashicorp:consul:*:*:*:*:enterprise:*:*:* |
< 1.8.15 | 1.8.15 |
| NVD | hashicorp | consulcpe:2.3:a:hashicorp:consul:*:*:*:*:-:*:*:* |
>= 1.9.0, < 1.9.9 | 1.9.9 |
| NVD | hashicorp | consulcpe:2.3:a:hashicorp:consul:*:*:*:*:enterprise:*:*:* |
>= 1.9.0, < 1.9.9 | 1.9.9 |
| NVD | hashicorp | consulcpe:2.3:a:hashicorp:consul:*:*:*:*:-:*:*:* |
>= 1.10.0, < 1.10.2 | 1.10.2 |
| NVD | hashicorp | consulcpe:2.3:a:hashicorp:consul:*:*:*:*:enterprise:*:*:* |
>= 1.10.0, < 1.10.2 | 1.10.2 |
| OSV | Go | github.com/hashicorp/consul | >= 1.10.1, < 1.10.2 | 1.10.2 |
| OSV | Go | github.com/hashicorp/consul | >= 1.9.0, < 1.9.9 | 1.9.9 |
| OSV | Go | github.com/hashicorp/consul | < 1.8.15 | 1.8.15 |
| OSV | Go | github.com/hashicorp/consul | < 1.8.15; >= 1.9.0, < 1.9.9; >= 1.10.1, < 1.10.2 | 1.8.15, 1.9.9, 1.10.2 |
References
- https://discuss.hashicorp.com/t/hcsec-2021-24-consul-missing-authorization-check-on-txn-apply-endpoint/29026 · Vendor Advisory, WEB
- https://security.gentoo.org/glsa/202208-09 · Third Party Advisory, WEB
- https://www.hashicorp.com/blog/category/consul · Product, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-38698 · ADVISORY
- https://github.com/hashicorp/consul/pull/10824 · WEB, FIX
- https://github.com/hashicorp/consul · PACKAGE
- https://github.com/advisories/GHSA-6hw5-6gcx-phmw · ADVISORY
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 7 Sep 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 8 Sep 2021)