Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 17 Aug 2009 18:29:45 -0500
From: Jamie Strandboge <jamie@...onical.com>
To: Simon Josefsson <simon@...efsson.org>
Cc: gnutls-devel@....org, oss-security@...ts.openwall.com
Subject: Re: GnuTLS CVE-2009-2730 Patches (Was Re: GnuTLS 2.8.2)

On Fri, 14 Aug 2009, Jamie Strandboge wrote:

> 1.2.9 does not pass the CN test yet, though
> at first glance certtool output looks comparable to the others.

1.2.9 also needed:
http://git.savannah.gnu.org/cgit/gnutls.git/patch/?id=7b80620f99f4d43f5eda692eefc5c969bb4263c0

Attached is an updated patch for 1.2.9 (still only lightly tested, but
verified to pass the test program). This and the 2.0.4 patch previously
posted now behave the same, but different from 2.4 and higher.
Specifically, when using:

$ certtool -i --infile /tmp/badguy-nul-cn.crt

We have:
|<1>| Found OID: '2.5.4.3' with value '13187777772e62616e6b2e636f6d002e6261646775792e636f6d'
X.509 Certificate Information:
	Version: 3
	Serial Number (hex): 01
	Issuer: C=GB,ST=Berkshire,L=Newbury,O=My Company Ltd,OU=CA,CN=NULL-friendly CA
	Validity:
		Not Before: Tue Aug  4 07:33:43 UTC 2009
		Not After: Fri Aug  2 07:33:43 UTC 2019
error: get_dn: ASN1 parser: Error in DER parsing.
...


This is in contrast to 2.4 and higher which has:
X.509 Certificate Information:
	Version: 3
	Serial Number (hex): 01
	Issuer: C=GB,ST=Berkshire,L=Newbury,O=My Company Ltd,OU=CA,CN=NULL-friendly CA
	Validity:
		Not Before: Tue Aug 04 07:33:43 UTC 2009
		Not After: Fri Aug 02 07:33:43 UTC 2019
	Subject: CN=#13187777772e62616e6b2e636f6d002e6261646775792e636f6
...


Jamie

-- 
Jamie Strandboge             | http://www.canonical.com

View attachment "CVE-2009-2730_1.2.9.patch" of type "text/x-diff" (7581 bytes)

Download attachment "signature.asc" of type "application/pgp-signature" (198 bytes)

Powered by blists - more mailing lists

Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.