DBD::mysql is the perl DBI driver for MySQL and the primary way Perl applications and scripts access MySQL and MariaDB databases. The source repository is at https://github.com/perl5-dbi/DBD-mysql. A vulnerability was discovered that can lead to a use after free when using prepared statements. This vulnerability is present in all releases at least back to versions 3.0 of the driver, which were released in 2005. The CVE identifier for this vulnerability is CVE-2016-1251. Version 4.041, including the fix for this vulnerability, is available on CPAN at https://metacpan.org/pod/DBD::mysql The fix itself is available at https://github.com/perl5-dbi/DBD-mysql/commit/3619c170461a3107a258d1fd2d00ed4832adb1b1 Users of DBD::mysql using prepared statements are advised to patch their installations as soon as possible. Distributors of DBD::mysql are requested to make this fix available to their end users. Many thanks to Pali Rohár for discovering and fixing the vulnerability.
commit 4d53b8b72459e05d47ece6069dbcec61447d3178 Author: Kent Fredric <kentnl@gentoo.org> Date: Mon Dec 5 04:41:59 2016 +1300 dev-perl/DBD-mysql: Bump to version 4.41.0 re bug #601144 Upstream: - Fixed use-after-free with repeated fetchrow_arrayref under mysql_server_prepare=1 (CVE-2016-1251) - auto_reconnect now properly reconnects when receiving CR_SERVER_LOST instead of only CR_SERVER_GONE
@ Arches, please test and mark stable: =dev-perl/DBD-mysql-4.41.0
Stable on alpha.
amd64 stable
x86 stable
arm stable
sparc stable
ia64 stable
ppc stable
ppc64 stable
Stable for HPPA.
GLSA request filed.
This issue was resolved and addressed in GLSA 201701-51 at https://security.gentoo.org/glsa/201701-51 by GLSA coordinator Aaron Bauman (b-man). @maintainer(s), please clean the vulnerable versions.
Cleaned: commit 19eeb140a84c8bb903b808bf7ea344a3c633857a Author: Kent Fredric <kentnl@gentoo.org> AuthorDate: Mon Jan 23 21:09:43 2017 +1300 Commit: Kent Fredric <kentnl@gentoo.org> CommitDate: Tue Jan 24 14:50:42 2017 +1300 dev-perl/DBD-mysql: Security cleanup re bug #601144
Tree is clean