Bug 1981494 (CVE-2021-3547)

Summary: CVE-2021-3547 openvpn: possible certificate authentication bypass with --verify-x509-name
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: dazo, huzaifas, klember, steve
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-12 17:14:20 UTC 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: 1981495, 1981496    
Bug Blocks:    

Description Guilherme de Almeida Suckevicz 2021-07-12 16:58:02 UTC
OpenVPN 3 Core Library version 3.6 and 3.6.1 allows a man-in-the-middle attacker to bypass the certificate authentication by issuing an unrelated server certificate using the same hostname found in the verify-x509-name option in a client configuration.

Reference:
https://community.openvpn.net/openvpn/wiki/CVE-2021-3547

Comment 1 Guilherme de Almeida Suckevicz 2021-07-12 16:58:26 UTC
Created openvpn tracking bugs for this issue:

Affects: epel-all [bug 1981496]
Affects: fedora-all [bug 1981495]

Comment 2 David Sommerseth 2021-07-12 17:02:01 UTC
This does NOT affect the 'openvpn' package.  This is an issue which hits the 'openvpn3-linux' project, which currently only has Fedora Copr repos: https://copr.fedorainfracloud.org/coprs/dsommers/openvpn3/

This issue was resolved with v14_beta which was released 2021-07-08.
https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg22622.html