Advisory

GHSA-c839-4qxr-j4x3

Details, part 2 of 2. The advisory

Details

Result:

[!] VULNERABLE: The reproduced OVN client verification logic accepted the rogue attacker certificate.

It is recommended to verify peer certificates against the configured CA pool rather than against roots synthesized from untrusted peer input. The safest fix is to remove the custom VerifyPeerCertificate logic and rely on Go standard TLS verification with tls.Config.RootCAs set to the configured CA pool and, where applicable, ServerName set appropriately for identity validation.

Credit
This issue was discovered and reported by the team at 7asecurity (https://7asecurity.com/)

Sources & licences