The (1) serf_ssl_cert_issuer, (2) serf_ssl_cert_subject, and (3) serf_ssl_cert_certificate functions in Serf 0.2.0 through 1.3.x before 1.3.7 does not properly handle a NUL byte 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.
https://subversion.apache.org/security/CVE-2014-3522-advisory.txt
https://security.gentoo.org/glsa/201610-05
https://groups.google.com/forum/#%21topic/serf-dev/NvgPoK6sFsc
http://www.securityfocus.com/bid/69238
http://www.oracle.com/technetwork/topics/security/bulletinoct2015-2511968.html
http://ubuntu.com/usn/usn-2315-1
http://secunia.com/advisories/60721
http://secunia.com/advisories/59584
http://lists.opensuse.org/opensuse-updates/2014-08/msg00038.html