CVE-2022-40716 HashiCorp Consul vulnerable to authorization bypass
MediumCVSS 6.5
EPSS 1.2%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
Description
HashiCorp Consul and Consul Enterprise up to 1.11.8, 1.12.4, and 1.13.1 do not check for multiple SAN URI values in a CSR on the internal RPC endpoint, enabling leverage of privileged access to bypass service mesh intentions. Fixed in 1.11.9, 1.12.5, and 1.13.2."
Upgrade path
9 packages: 5 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/consul(Debian 11) | = 1.8.7+dfsg1-2; = 1.8.7+dfsg1-3; = 1.8.7+dfsg1-4; = 1.8.7+dfsg1-5 +4 more | No fix listed | No fix yet |
| ubuntu/consul(Ubuntu 18.04) | = 0.6.4~dfsg-3; All versions | No fix listed | No fix yet |
| ubuntu/consul(Ubuntu 20.04) | = 1.0.7~dfsg1-5ubuntu1; = 1.4.4~dfsg1-2ubuntu2; = 1.5.2+dfsg1-6; = 1.5.2+dfsg1-10 +3 more | No fix listed | No fix yet |
| ubuntu/consul(Ubuntu 22.04) | = 1.7.4+dfsg1-1; = 1.8.7+dfsg1-3; All versions | No fix listed | No fix yet |
| alpine/consul(Alpine v3.16) | >= 1.12.0, < 1.12.5-r0 | 1.12.5-r0 | Fixed |
| alpine/consul(Alpine v3.17) | >= 1.13.0, < 1.13.2-r0 | 1.13.2-r0 | Fixed |
| alpine/consul(Alpine v3.18) | >= 1.13.0, < 1.13.2-r0 | 1.13.2-r0 | Fixed |
| hashicorp github.com/hashicorp/consul | < 1.11.9; >= 1.12.0, < 1.12.5; >= 1.13.0, < 1.13.2 | 1.11.9, 1.12.5, 1.13.2 | Fixed |
| hashicorp github.com/hashicorp/consul(Go) | < 1.11.9; >= 1.12.0, < 1.12.5; >= 1.13.0, < 1.13.2 | 1.11.9, 1.12.5, 1.13.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| hashicorp github.com/hashicorp/consul(Go) | < 1.11.9 | 1.11.9 |
| hashicorp github.com/hashicorp/consul(Go) | >= 1.12.0, < 1.12.5 | 1.12.5 |
| hashicorp github.com/hashicorp/consul(Go) | >= 1.13.0, < 1.13.2 | 1.13.2 |
| debian/consul(Debian:11) | All versions | No fix listed |
| debian/consul(Debian:11) | = 1.10.12+dfsg1-1 | No fix listed |
| debian/consul(Debian:11) | = 1.8.7+dfsg1-2 | No fix listed |
| debian/consul(Debian:11) | = 1.8.7+dfsg1-3 | No fix listed |
| debian/consul(Debian:11) | = 1.8.7+dfsg1-4 | No fix listed |
| debian/consul(Debian:11) | = 1.8.7+dfsg1-5 | No fix listed |
| debian/consul(Debian:11) | = 1.8.7+dfsg1-6 | No fix listed |
| debian/consul(Debian:11) | = 1.9.17+dfsg2-1 | No fix listed |
| ubuntu/consul(Ubuntu:22.04) | All versions | No fix listed |
| hashicorp github.com/hashicorp/consul | < 1.11.9 | 1.11.9 |
| hashicorp github.com/hashicorp/consul | >= 1.12.0, < 1.12.5 | 1.12.5 |
| hashicorp github.com/hashicorp/consul | >= 1.13.0, < 1.13.2 | 1.13.2 |
| ubuntu/consul(Ubuntu:18.04) | All versions | No fix listed |
| ubuntu/consul(Ubuntu:18.04) | = 0.6.4~dfsg-3 | No fix listed |
| ubuntu/consul(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/consul(Ubuntu:20.04) | = 1.0.7~dfsg1-5ubuntu1 | No fix listed |
| ubuntu/consul(Ubuntu:20.04) | = 1.4.4~dfsg1-2ubuntu2 | No fix listed |
| ubuntu/consul(Ubuntu:20.04) | = 1.5.2+dfsg1-6 | No fix listed |
| ubuntu/consul(Ubuntu:20.04) | = 1.5.2+dfsg1-10 | No fix listed |
| ubuntu/consul(Ubuntu:20.04) | = 1.5.2+dfsg1-12 | No fix listed |
| ubuntu/consul(Ubuntu:20.04) | = 1.5.2+dfsg2-14 | No fix listed |
| ubuntu/consul(Ubuntu:22.04) | = 1.7.4+dfsg1-1 | No fix listed |
Show 4 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/consul(Ubuntu:22.04) | = 1.8.7+dfsg1-3 | No fix listed |
| alpine/consul(Alpine:v3.16) | >= 1.12.0, < 1.12.5-r0 | 1.12.5-r0 |
| alpine/consul(Alpine:v3.17) | >= 1.13.0, < 1.13.2-r0 | 1.13.2-r0 |
| alpine/consul(Alpine:v3.18) | >= 1.13.0, < 1.13.2-r0 | 1.13.2-r0 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- discuss.hashicorp.com issue-tracking vendor-advisory
- github.com patch
- github.com patch
- discuss.hashicorp.com issue-tracking vendor-advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- github.com vendor-advisory
- github.com product
- security-tracker.debian.org vendor-advisory
- FEDORA-2023-9f5f1ef40a vendor-advisory
- FEDORA-2023-cf3551046d vendor-advisory
- FEDORA-2023-b9c1d0e4c5 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking
- security.alpinelinux.org vendor-advisory