Skip to contentSkip to conversation

gnutls: security bump to 3.6.7.1

PATCH New Sørensen, Stefan 3 participants 6 messages Apr 3, 2019 – Apr 14, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gnutls: security bump to 3.6.7.1

Fixes the following security issues:

* CVE-2019-3836: It was discovered in gnutls before version 3.6.7 upstream that there is an uninitialized pointer access in gnutls versions 3.6.3 or later which can be triggered by certain post-handshake messages

* CVE-2019-3829: A vulnerability was found in gnutls versions from 3.5.8 before 3.6.7. A memory corruption (double free) vulnerability in the certificate verification API. Any client or server application that verifies X.509 certificates with GnuTLS 3.5.8 or later is affected.

---
 package/gnutls/gnutls.hash | 4 ++--
 package/gnutls/gnutls.mk   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
package/gnutls/gnutls.hash +2 -2
index 1af0e2d45d..e6bf7faaa9 100644
@@ -1,6 +1,6 @@
 # Locally calculated after checking pgp signature
-# https://www.gnupg.org/ftp/gcrypt/gnutls/v3.6/gnutls-3.6.6.tar.xz.sig
-sha256	bb9acab8af2ac430edf45faaaa4ed2c51f86e57cb57689be6701aceef4732ca7	gnutls-3.6.6.tar.xz
+# https://www.gnupg.org/ftp/gcrypt/gnutls/v3.6/gnutls-3.6.7.1.tar.xz.sig
+sha256	881b26409ecd8ea4c514fd3fbdb6fae5fab422ca7b71116260e263940a4bbbad	gnutls-3.6.7.1.tar.xz
 # Locally calculated
 sha256	8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903	doc/COPYING
 sha256	6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3	doc/COPYING.LESSER
package/gnutls/gnutls.mk +1 -1
index c6d2d72771..e7c5968204 100644
@@ -5,7 +5,7 @@
 ################################################################################
 
 GNUTLS_VERSION_MAJOR = 3.6
-GNUTLS_VERSION = $(GNUTLS_VERSION_MAJOR).6
+GNUTLS_VERSION = $(GNUTLS_VERSION_MAJOR).7.1
 GNUTLS_SOURCE = gnutls-$(GNUTLS_VERSION).tar.xz
 GNUTLS_SITE = https://www.gnupg.org/ftp/gcrypt/gnutls/v$(GNUTLS_VERSION_MAJOR)
 GNUTLS_LICENSE = LGPL-2.1+ (core library), GPL-3.0+ (gnutls-openssl library)
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 gnutls: security bump to 3.6.7.1

Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"S?rensen," == S?rensen, Stefan <[email protected]> writes:

Fixes the following security issues:
* CVE-2019-3836: It was discovered in gnutls before version 3.6.7 upstream that there is an uninitialized pointer access in gnutls versions 3.6.3 or later which can be triggered by certain post-handshake messages

* CVE-2019-3829: A vulnerability was found in gnutls versions from 3.5.8 before 3.6.7. A memory corruption (double free) vulnerability in the certificate verification API. Any client or server application that verifies X.509 certificates with GnuTLS 3.5.8 or later is affected.

These issues were fixed in 3.6.7, weren't they? I don't see 3.6.7.1 announced yet, what is the delta?

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw

PATCH 1/1 gnutls: security bump to 3.6.7.1

Quoted 2 lines · Peter Korsgaard

These issues were fixed in 3.6.7, weren't they? I don't see 3.6.7.1 announced yet, what is the delta?

Guess I might have jumped the gun a bit...

Only change is that a file was missing from the release tarball:
https://gitlab.com/gnutls/gnutls/issues/745

Stefan

#3 lore raw

PATCH 1/1 gnutls: security bump to 3.6.7.1

Hello Stefan,

Quoted 9 lines · Stefan
Quoted 2 lines · Peter Korsgaard

These issues were fixed in 3.6.7, weren't they? I don't see 3.6.7.1 announced yet, what is the delta?

Guess I might have jumped the gun a bit...

Only change is that a file was missing from the release tarball:
https://gitlab.com/gnutls/gnutls/issues/745

There is a 3.6.7.1 tarball: https://www.gnupg.org/ftp/gcrypt/gnutls/v3.6/

However, your patch breaks legal-info for gnutls:

ERROR: doc/COPYING has wrong sha256 hash:
ERROR: expected: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903
ERROR: got : e79e9c8a0c85d735ff98185918ec94ed7d175efc377012787aebcf3b80f0d90b
ERROR: Incomplete download, or man-in-the-middle (MITM) attack

Note: don't do just a hash update: compare the COPYING file before/after the bump, and document the change in the commit log to explain why the hash has changed.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#4 lore raw

PATCH 1/1 gnutls: security bump to 3.6.7.1

In reply to Sørensen, Stefan
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"S?rensen," == S?rensen, Stefan <[email protected]> writes:

Fixes the following security issues:
* CVE-2019-3836: It was discovered in gnutls before version 3.6.7 upstream that there is an uninitialized pointer access in gnutls versions 3.6.3 or later which can be triggered by certain post-handshake messages

Quoted 6 lines

* CVE-2019-3829: A vulnerability was found in gnutls versions from 3.5.8 before 3.6.7. A memory corruption (double free) vulnerability in the certificate verification API. Any client or server application that verifies X.509 certificates with GnuTLS 3.5.8 or later is affected.

Committed after fixing the license file hash and adding a note that 3.6.7.1 fixes a tarball packaging issue, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#5 lore raw

PATCH 1/1 gnutls: security bump to 3.6.7.1

In reply to Sørensen, Stefan
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"S?rensen," == S?rensen, Stefan <[email protected]> writes:

Fixes the following security issues:
* CVE-2019-3836: It was discovered in gnutls before version 3.6.7 upstream that there is an uninitialized pointer access in gnutls versions 3.6.3 or later which can be triggered by certain post-handshake messages

Quoted 6 lines

* CVE-2019-3829: A vulnerability was found in gnutls versions from 3.5.8 before 3.6.7. A memory corruption (double free) vulnerability in the certificate verification API. Any client or server application that verifies X.509 certificates with GnuTLS 3.5.8 or later is affected.

Committed to 2019.02.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard