Bug 516231 (CVE-2009-2730)

Summary: CVE-2009-2730 gnutls: incorrect verification of SSL certificate with NUL in name (GNUTLS-SA-2009-4)
Product: [Other] Security Response Reporter: Tomas Hoger <thoger>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: berrange, jorton, kreilly, mmalik, mvadkert, rjones, tmraz
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-01-05 16:54:16 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: 516706, 516707, 516708, 516709, 805161    
Bug Blocks: 517000    

Description Tomas Hoger 2009-08-07 15:13:39 UTC
A method to bypass SSL certificate name vs. host name verification via NUL
('\0') character embedded in X509 certificate's CommonName or subjectAltName
was presented at Black Hat USA 2009:

http://www.blackhat.com/html/bh-usa-09/bh-usa-09-archives.html#Marlinspike

This issue was originally reported for Firefox / NSS, but it affects GnuTLS' gnutls_x509_crt_check_hostname() too.

Comment 2 Tomas Hoger 2009-08-11 07:11:25 UTC
Upstream announcement:
  http://article.gmane.org/gmane.network.gnutls.general/1733

Comment 3 Tomas Hoger 2009-08-11 07:13:44 UTC
Note: 2.8.2 contains one unintended change, that can cause NULL defer crash and is already reverted in upstream git:

http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3725/focus=3768

Comment 6 Fedora Update System 2009-08-14 12:59:13 UTC
gnutls-2.6.6-2.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/gnutls-2.6.6-2.fc11

Comment 7 Fedora Update System 2009-08-14 12:59:18 UTC
gnutls-2.4.2-4.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/gnutls-2.4.2-4.fc10

Comment 8 errata-xmlrpc 2009-08-26 14:49:56 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 4
  Red Hat Enterprise Linux 5

Via RHSA-2009:1232 https://rhn.redhat.com/errata/RHSA-2009-1232.html

Comment 9 Fedora Update System 2009-09-25 20:06:58 UTC
gnutls-2.6.6-3.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2009-09-25 20:10:40 UTC
gnutls-2.4.2-5.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.