Red Hat Bugzilla – Bug 1251902
CVE-2015-6251 gnutls: double free flaw in certificate DN decoding (GNUTLS-SA-2015-3)
Last modified: 2016-01-15 04:47:46 EST
A use-after-free flaw was found in GnuTLS's _gnutls_x509_dn_to_string() function. A remote attacker could create a specially crafted certificate with very long DistinguishedName (DN) entries that, when processed by an application compiled against GnuTLS, could cause that application to crash.
This issue was fixed in upstream versions 3.4.4 and 3.3.17 of GnuTLS:
The following patch fixes this issue:
The affected function, _gnutls_x509_dn_to_string(), was first introduced in version 3.1.10 via commit:
The gnutls packages in Red Hat Enterprise Linux 6 and earlier include GnuTLS versions 2.x or 1.x and are therefore not affected by this issue.
Created mingw-gnutls tracking bugs for this issue:
Affects: fedora-all [bug 1251905]
Created gnutls tracking bugs for this issue:
Affects: fedora-all [bug 1251904]
This issue did not affect the versions of gnutls as shipped with Red Hat Enterprise Linux 4, 5, and 6.
gnutls-3.3.17-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
gnutls-3.3.17-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
gnutls-3.4.4-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.