There is a vulnerability of type use-after-free affecting DBD::mysql (aka DBD-mysql or the Database Interface (DBI) MySQL driver for Perl) 3.x and 4.x before 4.041 when used with mysql_server_prepare=1.
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Link | Tags |
---|---|
https://tracker.debian.org/news/819888 | third party advisory |
http://www.openwall.com/lists/oss-security/2016/11/28/2 | third party advisory mailing list |
https://anonscm.debian.org/cgit/pkg-perl/packages/libdbd-mysql-perl.git/commit/?id=a8b97e4713391b1f8beffbfddac483c276feaff1 | patch third party advisory issue tracking |
http://www.securityfocus.com/bid/94573 | third party advisory vdb entry |
https://github.com/perl5-dbi/DBD-mysql/commit/3619c170461a3107a258d1fd2d00ed4832adb1b1 | patch third party advisory issue tracking |
https://security.gentoo.org/glsa/201701-51 | vendor advisory |