The _gnutls_x509_verify_certificate function in lib/x509/verify.c in libgnutls in GnuTLS before 2.6.1 trusts certificate chains in which the last certificate is an arbitrary trusted, self-signed certificate, which allows man-in-the-middle attackers to insert a spoofed certificate for any Distinguished Name (DN).
article.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3215
article.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3217
lists.opensuse.org/opensuse-security-announce/2008-12/msg00002.html
lists.opensuse.org/opensuse-security-announce/2009-04/msg00010.html
secunia.com/advisories/32619
secunia.com/advisories/32681
secunia.com/advisories/32687
secunia.com/advisories/32879
secunia.com/advisories/33501
secunia.com/advisories/33694
secunia.com/advisories/35423
security.gentoo.org/glsa/glsa-200901-10.xml
sunsolve.sun.com/search/document.do?assetkey=1-26-260528-1
wiki.rpath.com/Advisories:rPSA-2008-0322
www.debian.org/security/2009/dsa-1719
www.gnu.org/software/gnutls/security.html
www.mandriva.com/security/advisories?name=MDVSA-2008:227
www.redhat.com/support/errata/RHSA-2008-0982.html
www.securityfocus.com/archive/1/498431/100/0/threaded
www.securityfocus.com/bid/32232
www.securitytracker.com/id?1021167
www.ubuntu.com/usn/usn-678-2
www.vupen.com/english/advisories/2008/3086
www.vupen.com/english/advisories/2009/1567
exchange.xforce.ibmcloud.com/vulnerabilities/46482
issues.rpath.com/browse/RPL-2886
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11650
usn.ubuntu.com/678-1/
www.redhat.com/archives/fedora-package-announce/2008-November/msg00222.html
www.redhat.com/archives/fedora-package-announce/2008-November/msg00293.html