Unchecked Return Value in Consul Enterprise and Consul - CVE-2022-40716
Published: August 28, 2023
Vulnerability details
The vulnerability allows a remote user to bypass implemented security restrictions.
The vulnerability exists due to an error when handling CSR requests at the RPC endpoint. A remote user with access to a client agent’s mTLS certificate and a valid ACL token for any service within the mesh can send a specially crafted certificate signing request (CSR) to the Consul’s internal RPC endpoint and bypass intended ACL token restrictions.
Affected software
Consul
Fedora
golang-github-hashicorp-consul-sdk
golang-github-hashicorp-consul-api
moby-engine
IBM Cloud Pak for Watson AIOps
How to mitigate CVE-2022-40716
Consul - addressed in versions 1.11.9, 1.12.5, 1.13.2
golang-github-hashicorp-consul-sdk - addressed in versions 0.13.0-1.fc36, 0.13.0-1.fc37
golang-github-hashicorp-consul-api - addressed in versions 1.18.0-1.fc36, 1.18.0-1.fc37
IBM Cloud Pak for Watson AIOps - update to 4.1
moby-engine - addressed in versions 24.0.5-1.fc37, 24.0.5-1.fc38, 24.0.5-1.fc39
External References
Related Security Bulletins
- Security restrictions bypass in HashiCorp Consul
- Fedora 39 update for moby-engine
- Fedora 37 update for moby-engine
- Fedora 38 update for moby-engine
- Multiple vulnerabilities in IBM Cloud Pak for Watson AIOps
- Fedora 36 update for golang-github-hashicorp-consul-sdk
- Fedora 37 update for golang-github-hashicorp-consul-sdk
- Fedora 37 update for golang-github-hashicorp-consul-api
- Fedora 36 update for golang-github-hashicorp-consul-api