CVE-2017-5334: Double Free
Double free vulnerability in the gnutlsx509extimportproxy function in GnuTLS before 3.3.26 and 3.5.x before 3.5.8 allows remote attackers to have unspecified impact via crafted policy language information in an X.509 certificate with a Proxy Certificate Information extension.
Other sources
It was found that decoding a specially crafted X.509 certificate with Proxy Certificate Information extension present could lead to a double free. This issue was fixed in GnuTLS 3.3.26 and 3.5.8.
External References:
https://gnutls.org/security.html#GNUTLS-SA-2017-1
Upstream patch:
https://gitlab.com/gnutls/gnutls/commit/c5aaa488a3d6df712dc8dff23a049133cab5ec1b
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/gnutlsto a version that resolves this vulnerability.Fixed in 3.3.26 - Upgrade
Upgrade
redhat/gnutlsto a version that resolves this vulnerability.Fixed in 3.5.8 - Upgrade
Upgrade
debian/gnutls28to a version that resolves this vulnerability.Fixed in 3.7.1-5+deb11u5Fixed in 3.7.1-5+deb11u7Fixed in 3.7.9-2+deb12u4Fixed in 3.8.9-2 - Upgrade
Upgrade
gnutls/gnutlsto a version that resolves this vulnerability.Fixed in 3.3.26 - Upgrade
Upgrade
gnutls/gnutlsto a version that resolves this vulnerability.Fixed in 3.5.8
Event History
Frequently Asked Questions
What is the severity of CVE-2017-5334?
CVE-2017-5334 is classified as a medium severity vulnerability due to its potential impact from remote attackers.
How do I fix CVE-2017-5334?
To fix CVE-2017-5334, upgrade GnuTLS to version 3.3.26 or 3.5.8 or later, depending on your distribution.
Which versions of GnuTLS are affected by CVE-2017-5334?
GnuTLS versions before 3.3.26 and versions from 3.5.0 up to 3.5.7 are affected by CVE-2017-5334.
Can CVE-2017-5334 be exploited remotely?
Yes, CVE-2017-5334 can be exploited remotely by attackers through crafted X.509 certificates.
What does CVE-2017-5334 specifically affect in GnuTLS?
CVE-2017-5334 affects the gnutls_x509_ext_import_proxy function, leading to a double free vulnerability.