CVE-2021-38698 json
HashiCorp Consul and Consul Enterprise 1.10.1 Txn.Apply endpoint allowed services to register proxies for other services, enabling access to service traffic.
published 2021-09-07 5 y ago modified 2026-09-10 1 mo ago also BIT-consul-2021-38698 , EUVD-2021-1995 , GHSA-6hw5-6gcx-phmw , GO-2022-0559
- cvss
- 6.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 73%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/hashicorp/consul 1.8.15, 1.9.9, 1.10.2
- bitnami consul 1.8.15, 1.9.9, 1.10.2
- hashicorp consul 1.8.15, 1.9.9, 1.10.2
- consul Arch Linux 1.10.2-1
arch linux advisories AVG-2360
- github.com/hashicorp/consul#10824 pull request
Exploit prediction
1.42% chance of exploitation in the next 30 days, higher than 73% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
| OSV | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/hashicorp/consul | >=1.10.1, <1.10.2 >=1.9.0, <1.9.9 <1.8.15 |
1.10.2 1.9.9 1.8.15 |
| bitnami | consul | <1.8.15 >=1.9.0, <1.9.9 >=1.10.0, <1.10.2 |
1.8.15 1.9.9 1.10.2 |
Classification
References
-
github.com
/hashicorp/consul/pull/10824
web, patch
-
security.gentoo.org
/glsa/202208-09
vendor-advisory, web, third-party-advisory, advisory
-
hashicorp.com
/blog/category/consul
web, product, vendor-advisory, advisory
-
discuss.hashicorp.com
/t/hcsec-2021-24-consul-missing-authorization-check-on-txn-apply-endpoint/29026
web, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-38698
advisory, web
-
github.com
/hashicorp/consul
package
-
github.com
/advisories/GHSA-6hw5-6gcx-phmw
advisory
Sources
- CVE List CVE-2021-38698
- GitHub Advisory GHSA-6hw5-6gcx-phmw
- NVD CVE-2021-38698
- OSV BIT-consul-2021-38698
- OSV GO-2022-0559
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.