go-ldap / ldap

Basic LDAP v3 functionality for the GO programming language.
Other
2.23k stars 352 forks source link

CVE-2009-37 67 - Required Fix For this vulnerability #498

Closed jbrothers00 closed 6 months ago

jbrothers00 commented 6 months ago

libraries/libldap/tls_o.c in OpenLDAP 2.2 and 2.4, and possibly other versions, when OpenSSL is used, does not properly handle a '\0' character in a domain name in the subject's Common Name (CN) field of an X.509 certificate, which allows man-in-the-middle attackers to spoof arbitrary SSL servers via a crafted certificate issued by a legitimate Certification Authority, a related issue to CVE-2009-2408

cpuschma commented 6 months ago

This Go library does NOT use OpenSSL or any of OpenLDAPs libraries. All LDAPv3 functionality is purely implemented in Go.