MGASA-2018-0031
Dashboard / Vulnerabilities / MGASA-2018-0031
MGASA-2018-0031
Summary: Updated perl-DBD-mysql packages fix security vulnerability
Details: Pali Rohar discovered that DBD::mysql constructed an error message in a fixed-length buffer, leading to a crash (_FORTIFY_SOURCE failure) and, potentially, to denial of service (CVE-2016-1246). A vulnerability was discovered in perl-DBD-MySQL that can lead to an out-of-bounds read when using server side prepared statements with an unaligned number of placeholders in WHERE condition and output fields in SELECT expression (CVE-2016-1249). There is a vulnerability of type use-after-free affecting DBD::mysql before 4.041 when used with mysql_server_prepare=1 (CVE-2016-1251). The DBD::mysql module through 4.043 for Perl allows remote attackers to cause a denial of service (use-after-free and application crash) or possibly have unspecified other impact by triggering (1) certain error responses from a MySQL server or (2) a loss of a network connection to a MySQL server. The use-after-free defect was introduced by relying on incorrect Oracle mysql_stmt_close documentation and code examples (CVE-2017-10788). The DBD::mysql module through 4.043 for Perl uses the mysql_ssl=1 setting to mean that SSL is optional (even though this setting's documentation has a "your communication with the server will be encrypted" statement), which allows man-in-the-middle attackers to spoof servers via a cleartext-downgrade attack (CVE-2017-10789). Note that the CVE-2016-1246, CVE-2017-1249, and CVE-2016-1251 issues only affected Mageia 5. Also note that server-side prepared statements are disabled by default.
References: https://advisories.mageia.org/MGASA-2018-0031.html, https://bugs.mageia.org/show_bug.cgi?id=19522, https://www.debian.org/security/2016/dsa-3684, https://lists.fedoraproject.org/archives/list/[email protected]/thread/NY3AHSF4ZPQQ5OGYZYNQOD7TBL7CAG4F/, https://lists.fedoraproject.org/archives/list/[email protected]/thread/7BLHU5FAHMKZBZ4LAHIASWUJVK4O6JS6/, https://lists.fedoraproject.org/archives/list/[email protected]/thread/3CWISRFDOB7YRPBNDD3BNIQHSRYBDD6S/, https://lists.fedoraproject.org/archives/list/[email protected]/thread/TAWTNCSYWNBJHJR4AYQAAW65JVWDWMEW/
Affected packages
Package
Name: perl-DBD-mysql
Purl: pkg:rpm/mageia/perl-DBD-mysql?arch=source&distro=mageia-5
Affected ranges
Type: ECOSYSTEM
Events:
