Use-after-free vulnerability in the my_login function in DBD::mysql before 4.033_01 allows attackers to have unspecified impact by leveraging a call to mysql_errno after a failure of my_login.
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://github.com/perl5-dbi/DBD-mysql/commit/cf0aa7751f6ef8445e9310a64b14dc81460ca156 | issue tracking patch |
https://blog.fuzzing-project.org/50-Use-after-free-in-my_login-function-of-DBDmysql-Perl-module.html | third party advisory |
https://github.com/perl5-dbi/DBD-mysql/blob/4.033_01/Changes | release notes |
https://github.com/perl5-dbi/DBD-mysql/pull/45 | issue tracking patch |
http://www.debian.org/security/2016/dsa-3635 | third party advisory vendor advisory |
http://www.openwall.com/lists/oss-security/2016/07/27/1 | third party advisory mailing list |
http://www.openwall.com/lists/oss-security/2016/07/25/13 | third party advisory mailing list |
http://www.securityfocus.com/bid/92118 | vdb entry |
https://security.gentoo.org/glsa/201701-51 | vendor advisory |