GnuTLS 1.2.10 - Security release



We are pleased to announce the availability of GnuTLS version 1.2.10,
a security bug-fix release on the stable 1.2.x branch.

This release fixes several serious bugs that would make the DER
decoder in libtasn1 crash on invalid input. The problems were
reported by Evgeny Legerov on the 31th of January.

We invite more detailed analysis of the problem, following our general
security advisory approach explained on:

http://www.gnu.org/software/gnutls/security.html

Particularly, it would be useful to answer the question of whether
these bugs are possible to exploit remotely. It is certainly possible
to cause the server to crash. We don't have resources to investigate
this problem more ourselves currently.

To make it easier for you to review this problem, I have prepared a
self test that trigger three bugs in the old libtasn1. It will be
part of GnuTLS 1.3.4, in tests/certder.c. A diff between libtasn1
0.2.17 and libtasn1 0.2.18 is also available, for those wishing to
analyze the changes made to address the problems. It contains a few
unrelated fixes too, but it is not too large. It is available from:

http://josefsson.org/gnutls/releases/libtasn1/libtasn1-0.2.18-from-0.2.17.patch

Please send your analysis to gnutls-dev@xxxxxxxxx and I'll update the
security advisory web page pointing to it.

GnuTLS is a modern C library that implement the standard network
security protocol Transport Layer Security (TLS), for use by network
applications.

Noteworthy changes since version 1.2.9:
- Fix read out bounds bug in DER parser. Reported by Evgeny Legerov
<admin@xxxxxxxx>, and debugging help from Protover SSL.
- Libtasn1 0.2.18 is now required (contains the previous bug fix).
The included version has been updated too.
- Fix gnutls-cli STARTTLS hang when SIGINT is sent too quickly, thanks to
Otto Maddox <ottomaddox@xxxxxxxxxxx> and Nozomu Ando <nand@xxxxxxx>.
- Corrected a bug in certtool for 64 bit machines. Reported
by Max Kellermann <max@xxxxxxxxxxx>.
- Corrected bugs in gnutls_certificate_set_x509_crl() and
gnutls_certificate_set_x509_trust(), that caused memory corruption if
more than one certificates were added. Report and patch by Max Kellermann.
- Fixed bug in non-blocking gnutls_bye(). gnutls_record_send() will no
longer invalidate a session if the underlying send fails, but it will
prevent future writes. That is to allow reading the already received data.
Patches and bug reports by Yoann Vandoorselaere <yoann@xxxxxxxxxxxxxxx>

Improving GnuTLS is costly, but you can help! We are looking for
organizations that find GnuTLS useful and wish to contribute back.
You can contribute by reporting bugs, improve the software, or donate
money or equipment.

Commercial support contracts for GnuTLS are available, and they help
finance continued maintenance. Simon Josefsson Datakonsult, a
Stockholm based privately held company, is currently funding GnuTLS
maintenance. We are always looking for interesting development
projects.

If you need help to use GnuTLS, or want to help others, you are
invited to join our help-gnutls mailing list, see:
<http://lists.gnu.org/mailman/listinfo/help-gnutls>.

The project page of the library is available at:
http://www.gnutls.org/
http://www.gnu.org/software/gnutls/
http://josefsson.org/gnutls/ (updated fastest)

Here are the compressed sources:
http://josefsson.org/gnutls/releases/gnutls-1.2.10.tar.bz2 (2.7MB)
ftp://ftp.gnutls.org/pub/gnutls/gnutls-1.2.10.tar.bz2

Here are GPG detached signatures signed using key 0xB565716F:
http://josefsson.org/gnutls/releases/gnutls-1.2.10.tar.bz2.sig
ftp://ftp.gnutls.org/pub/gnutls/gnutls-1.2.10.tar.bz2.sig

The software is cryptographically signed by the author using an
OpenPGP key identified by the following information:
1280R/B565716F 2002-05-05 [expires: 2006-02-28]
Key fingerprint = 0424 D4EE 81A0 E3D1 19C6 F835 EDA2 1E94 B565 716F

The key is available from:
http://josefsson.org/key.txt
dns:b565716f.josefsson.org?TYPE=CERT

Here are the build reports for various platforms:
http://josefsson.org/autobuild-logs/gnutls.html

Here are the SHA-1 checksums:

18140bebae006e019deb77962836bcd775256aab gnutls-1.2.10.tar.bz2
19d200ce04dc54b55d609a091500d1a2aee6e368 gnutls-1.2.10.tar.bz2.sig

Enjoy,
Nikos and Simon

Attachment: pgpG6VVqOxoJA.pgp
Description: PGP signature



Relevant Pages

  • [UNIX] Mantiss Limiting Output to Reporters Can be Bypassed
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Mantis is an Open Source web-based bug ... user's bug reports even if they are not allowed to do so by the normal ... automatically set the 'reporter' filter on the 'View Bugs' page. ...
    (Securiteam)
  • Re: Article: Gates memo calls for security focus
    ... Clearly if there is a security hole they know ... ]> in order to search for that 12th time for security bugs. ... How much does every programmer, ... Gates says so -- and so any reports otherwise are simply outsiders ...
    (comp.security.misc)
  • GnuTLS 2.2.5 - Brown paper bag release
    ... We are embarrassed to announce a new stable GnuTLS release: ... This release fixes a flaw in the patch for one of the security problems ... Unix-like systems and comes with a binary installer for Windows. ...
    (gnu.announce)
  • [Full-disclosure] [ GLSA 200805-20 ] GnuTLS: Execution of arbitrary code
    ... Title: GnuTLS: Execution of arbitrary code ... Multiple vulnerabilities might allow for the execution of arbitrary ... to a buffer overflow when evaluating "Security Parameters" ... cause Denial of Service conditions in daemons using GnuTLS. ...
    (Full-Disclosure)
  • [ GLSA 200805-20 ] GnuTLS: Execution of arbitrary code
    ... Title: GnuTLS: Execution of arbitrary code ... Multiple vulnerabilities might allow for the execution of arbitrary ... to a buffer overflow when evaluating "Security Parameters" ... cause Denial of Service conditions in daemons using GnuTLS. ...
    (Bugtraq)