GnuTLS CVE-2009-2730 Patches (Was Re: GnuTLS 2.8.2)
Jamie Strandboge
jamie at canonical.com
Tue Aug 18 01:29:45 CEST 2009
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CVE-2009-2730_1.2.9.patch
Type: text/x-diff
Size: 7580 bytes
Desc: not available
URL: </pipermail/attachments/20090817/bc5b3ed4/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: </pipermail/attachments/20090817/bc5b3ed4/attachment.pgp>
More information about the Gnutls-devel
mailing list