Skip to content

CVE-2016-7444 The gnutls_ocsp_resp_check_crt function in lib/x509/ocsp.c in GnuTLS before 3.4.15 and 3.5.x before 3.5.4 does not verify the serial length of an OCSP response, which might allow remote attackers to b...

HighCVSS 7.5 EPSS 2.4%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

Description

The gnutls_ocsp_resp_check_crt function in lib/x509/ocsp.c in GnuTLS before 3.4.15 and 3.5.x before 3.5.4 does not verify the serial length of an OCSP response, which might allow remote attackers to bypass an intended certificate validation mechanism via vectors involving trailing bytes left by gnutls_malloc.

Upgrade path

6 packages: 6 fixed.

PackageAffectedFixed inStatus
alpine/gnutls(Alpine v3.2) < 3.4.5-r1 3.4.5-r1 Fixed
debian/gnutls28(Debian 12) < 3.5.3-4 3.5.3-4 Fixed
debian/gnutls28(Debian 13) < 3.5.3-4 3.5.3-4 Fixed
debian/gnutls28(Debian 14) < 3.5.3-4 3.5.3-4 Fixed
gnutls <= 3.4.14; = 3.5.0; = 3.5.1; = 3.5.2 +1 more after 3.4.14 Fixed
ubuntu/gnutls28(Ubuntu 16.04) < 3.4.10-4ubuntu1.2; = 3.3.15-5ubuntu2; = 3.3.18-1ubuntu1; = 3.3.20-1ubuntu1 +3 more 3.4.10-4ubuntu1.2 Fixed

Affected products

ProductAffected versionsFixed in
debian/gnutls28(Debian:12) < 3.5.3-4 3.5.3-4
debian/gnutls28(Debian:13) < 3.5.3-4 3.5.3-4
debian/gnutls28(Debian:14) < 3.5.3-4 3.5.3-4
gnutls <= 3.4.14 No fix listed
gnutls = 3.5.0 No fix listed
gnutls = 3.5.1 No fix listed
gnutls = 3.5.2 No fix listed
gnutls = 3.5.3 No fix listed
alpine/gnutls(Alpine:v3.2) < 3.4.5-r1 3.4.5-r1
ubuntu/gnutls28(Ubuntu:16.04) < 3.4.10-4ubuntu1.2 3.4.10-4ubuntu1.2
ubuntu/gnutls28(Ubuntu:16.04) = 3.3.15-5ubuntu2 No fix listed
ubuntu/gnutls28(Ubuntu:16.04) = 3.3.18-1ubuntu1 No fix listed
ubuntu/gnutls28(Ubuntu:16.04) = 3.3.20-1ubuntu1 No fix listed
ubuntu/gnutls28(Ubuntu:16.04) = 3.4.9-2ubuntu1 No fix listed
ubuntu/gnutls28(Ubuntu:16.04) = 3.4.10-4ubuntu1 No fix listed
ubuntu/gnutls28(Ubuntu:16.04) = 3.4.10-4ubuntu1.1 No fix listed

References