Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/gnutls/files: gnutls-2.12.23-CVE-2013-2116.patch
Date: Thu, 30 May 2013 19:56:17
Message-Id: 20130530195610.072172171E@flycatcher.gentoo.org
1 radhermit 13/05/30 19:56:09
2
3 Added: gnutls-2.12.23-CVE-2013-2116.patch
4 Log:
5 Revision bump to fix CVE-2013-2116 (bug #471788), drop redundant --disable-silent-rules econf option for EAPI 5 ebuilds, and run tests serially since they often fail in parallel.
6
7 (Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
8
9 Revision Changes Path
10 1.1 net-libs/gnutls/files/gnutls-2.12.23-CVE-2013-2116.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/files/gnutls-2.12.23-CVE-2013-2116.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/files/gnutls-2.12.23-CVE-2013-2116.patch?rev=1.1&content-type=text/plain
14
15 Index: gnutls-2.12.23-CVE-2013-2116.patch
16 ===================================================================
17 From 5164d5a1d57cd0372a5dd074382ca960ca18b27d Mon Sep 17 00:00:00 2001
18 From: Nikos Mavrogiannopoulos <nmav@××××××.org>
19 Date: Thu, 23 May 2013 09:54:37 +0200
20 Subject: [PATCH] re-applied sanity check patch
21
22 ---
23 lib/gnutls_cipher.c | 2 ++
24 1 files changed, 2 insertions(+), 0 deletions(-)
25
26 diff --git a/lib/gnutls_cipher.c b/lib/gnutls_cipher.c
27 index 2835121..71f5a98 100644
28 --- a/lib/gnutls_cipher.c
29 +++ b/lib/gnutls_cipher.c
30 @@ -561,6 +561,8 @@ _gnutls_ciphertext2compressed (gnutls_session_t session,
31 return GNUTLS_E_DECRYPTION_FAILED;
32 }
33 pad = ciphertext.data[ciphertext.size - 1]; /* pad */
34 + if (pad+1 > ciphertext.size-hash_size)
35 + pad_failed = GNUTLS_E_DECRYPTION_FAILED;
36
37 /* Check the pading bytes (TLS 1.x).
38 * Note that we access all 256 bytes of ciphertext for padding check
39 --
40 1.7.1