Bug 2156860 (CVE-2022-40716)

Summary: CVE-2022-40716 consul: Consul Service Mesh Intention Bypass with Malicious Certificate Signing Request
Product: [Other] Security Response Reporter: Avinash Hanwate <ahanwate>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: dfreiber, gparvin, jburrell, jcantril, njean, owatkins, pahickey, rogbas, stcannon, teagle, vkumar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: consul 1.11.9, consul 1.12.5, consul 1.13.2 Doc Type: ---
Doc Text:
A flaw was found in the HashiCorp Consul package. In the affected versions of this package, a specially crafted CSR sent directly to Consul’s internal server agent RPC endpoint can include multiple SAN URI values with additional service names.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2156861, 2156862, 2156863, 2156864, 2156866, 2156867    
Bug Blocks: 2156865    

Description Avinash Hanwate 2022-12-29 03:54:40 UTC
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."

https://discuss.hashicorp.com/t/hcsec-2022-20-consul-service-mesh-intention-bypass-with-malicious-certificate-signing-request/44628
https://discuss.hashicorp.com

Comment 1 Avinash Hanwate 2022-12-29 03:55:29 UTC
Created golang-github-hashicorp-consul-api tracking bugs for this issue:

Affects: fedora-36 [bug 2156861]

Comment 2 Avinash Hanwate 2022-12-29 03:56:53 UTC
Created golang-github-hashicorp-consul-sdk tracking bugs for this issue:

Affects: fedora-36 [bug 2156862]


Created moby-engine tracking bugs for this issue:

Affects: fedora-36 [bug 2156863]
Affects: fedora-37 [bug 2156864]