The MySQL 5.5.39 and 5.6.20 releases fix an unspecified certificate decoding issue in yaSSL: "yaSSL code had an off-by-one error in certificate decoding that could cause buffer overflow." References: https://bugs.gentoo.org/show_bug.cgi?id=518718 http://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-39.html http://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-20.html
Created mariadb tracking bugs for this issue: Affects: fedora-all [bug 1126274]
Created community-mysql tracking bugs for this issue: Affects: fedora-all [bug 1126273]
MySQL upstream commit: http://bazaar.launchpad.net/~mysql/mysql-server/5.5/revision/4647 This fixes an off-by-one issue in the handling of validity start and end dates in X.509 certificates. Value written past the end of buffer is '\0'. Additionally, overwrite should only clobber other members of the CertDecoder class, hence it does not seem this should lead to direct code execution. However, as it might lead to overwrite of verify_ field, it may lead to bypass of certificate verification. MySQL and MariaDB packages shipped in Red Hat products and Fedora use system OpenSSL library to implement TLS/SSL. Embedded yaSSL is not used, hence those packages are not affected by this issue. Statement: Not vulnerable. This issue did not affect the versions of MySQL and MariaDB as shipped with Red Hat Enterprise Linux 5, 6, and 7, and Red Hat Software Collections 1.