CVE-2017-10789
The DBD::mysql module through 4.043 for Perl uses the mysql_ssl=1 setting to mean that SSL is...
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, a related issue to CVE-2015-3152.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
5.9
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, a related issue to CVE-2015-3152.
- Record
CVE-2017-10789- CVSS 3.0
- 5.9 Medium
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:P/A:N - Updated
- 2026-11-02
CVE List No score
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, a related issue to CVE-2015-3152.
- Record
CVE-2017-10789- Updated
- 2026-11-02
EUVDEUVD-2017-2434 No score
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, a related issue to CVE-2015-3152.
- Record
EUVD-2017-2434- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-4384-9v4p-2vmf
5.9
The DBD::mysql module through 4.043 for Perl uses the mysql_ssl=1 setting to mean that SSL is...
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, a related issue to CVE-2015-3152.
- Record
GHSA-4384-9v4p-2vmf- CVSS 3.0
- 5.9 Medium
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSV
5.9
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, a related issue to CVE-2015-3152.
- Record
CVE-2017-10789- CVSS 3.0
- 5.9 Medium
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-10789
5.9
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, a related issue to CVE-2015-3152.
- Record
DEBIAN-CVE-2017-10789- CVSS 3.0
- 5.9 Medium
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
Show 8 moreShow less
OSVUBUNTU-CVE-2017-10789
5.9
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, a related issue to CVE-2015-3152.
- Record
UBUNTU-CVE-2017-10789- CVSS 3.0
- 5.9 Medium
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVMGASA-2018-0031 No score
Updated perl-DBD-mysql packages fix security vulnerability
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.
- Record
MGASA-2018-0031- Updated
- 2026-11-02
OSVMGASA-2018-0283 No score
Updated perl-DBD-mysql packages fix security vulnerabilities
Updated perl-DBD-mysql package fixes security vulnerabilities:
The DBD::mysql Perl 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 certain error responses from a MySQL server or 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 Perl module, when used with mysql_ssl=1 setting enabled, means that SSL is optional (even though this setting's documentation has a "your communication with the server will be encrypted" statement), which could lead man-in-the-middle attackers to spoof servers via a cleartext-downgrade attack (CVE-2017-10789).
- Record
MGASA-2018-0283- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11160-1 No score
perl-DBD-mysql-4.050-2.14 on GA media
These are all security issues fixed in the perl-DBD-mysql-4.050-2.14 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11160-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:1449-1 No score
Security update for perl-DBD-mysql
This update for perl-DBD-mysql fixes the following issues:
- CVE-2017-10789: The DBD::mysql module when with mysql_ssl=1 setting enabled, means that SSL is optional (even though this setting's documentation has a 'your communication with the server will be encrypted' statement), which could lead man-in-the-middle attackers to spoof servers via a cleartext-downgrade attack, a related issue to CVE-2015-3152. (bsc#1047059)
- CVE-2017-10788: 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. (bsc#1047095)
- Record
SUSE-SU-2018:1449-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:1450-1 No score
Security update for perl-DBD-mysql
This update for perl-DBD-mysql fixes the following issues:
- CVE-2017-10789: The DBD::mysql module when with mysql_ssl=1 setting enabled, means that SSL is optional (even though this setting's documentation has a 'your communication with the server will be encrypted' statement), which could lead man-in-the-middle attackers to spoof servers via a cleartext-downgrade attack, a related issue to CVE-2015-3152. (bsc#1047059)
- CVE-2017-10788: 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. (bsc#1047095)
- Record
SUSE-SU-2018:1450-1- Updated
- 2026-11-02
OSVUSN-5344-1 No score
libdbd-mysql-perl vulnerabilities
It was discovered that the DBD::mysql module, when configured with server-side prepared statement support, was susceptible to operations that would result in improper memory access. An attacker could possibly use this issue to cause DBD::mysql to crash, resulting in a denial of service. (CVE-2016-1249, CVE-2016-1251)
It was discovered that the DBD::mysql module was susceptible to an operation that would result in improper memory access, introduced through incorrect documentation and code examples. An attacker could possibly use this issue to cause DBD::mysql to crash or potentially cause other, unspecified, impact. (CVE-2017-10788)
It was discovered that the DBD::mysql module processed SSL/TLS settings in a way that did not fully correlate with the respective documentation for each setting. An attacker could possibly use this to perform a cleartext-downgrade attack. (CVE-2017-10789)
- Record
USN-5344-1- Updated
- 2026-11-02
OSVUSN-7417-1 No score
libdbd-mysql-perl vulnerabilities
It was discovered that libdbd-mysql-perl did not correctly handle certain SQL queries. An attacker could possibly use this issue to cause a denial of service. (CVE-2016-1249)
It was discovered that libdbd-mysql-perl did not correctly handle certain memory operations, which could lead to a use-after-free vulnerability. A remote attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2016-1251, CVE-2017-10788)
It was discovered that libdbd-mysql-perl did not properly enforce SSL connections depending on the mysql_ssl setting. A machine-in-the-middle attacker could possibly use this issue to spoof servers. (CVE-2017-10789)
- Record
USN-7417-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libdbd-mysql-perlDebian:12 |
before 4.046-1 | 4.046-1 |
libdbd-mysql-perlDebian:13 |
before 4.046-1 | 4.046-1 |
libdbd-mysql-perlDebian:14 |
before 4.046-1 | 4.046-1 |
libdbd-mysql-perlDebian:7 From an advisory covering 2 CVEs |
before 4.021-1+deb7u3, plus listed versions 4.021-14.021-1+deb7u14.021-1+deb7u2 |
4.021-1+deb7u3 |
perl-DBD-mysqlMageia:5 From an advisory covering 5 CVEs |
before 4.43.0-1.mga5 | 4.43.0-1.mga5 |
perl-DBD-mysqlMageia:6 From an advisory covering 5 CVEs |
before 4.43.0-1.mga6 | 4.43.0-1.mga6 |
perl-DBD-mysqlMageia:5 From an advisory covering 2 CVEs |
before 4.46.0-1.mga5 | 4.46.0-1.mga5 |
perl-DBD-mysqlMageia:6 From an advisory covering 2 CVEs |
before 4.46.0-1.mga6 | 4.46.0-1.mga6 |
perl-DBD-mysqlSUSE:Linux Enterprise Software Development Kit 11 SP4 From an advisory covering 2 CVEs |
before 4.008-10.5.1 | 4.008-10.5.1 |
perl-DBD-mysqlSUSE:Linux Enterprise Server 11 SP4 From an advisory covering 2 CVEs |
before 4.008-10.5.1 | 4.008-10.5.1 |
Show 8 moreShow less
| Package | Affected | Fixed |
|---|---|---|
perl-DBD-mysqlSUSE:Linux Enterprise Server for SAP Applications 11 SP4 From an advisory covering 2 CVEs |
before 4.008-10.5.1 | 4.008-10.5.1 |
perl-DBD-mysqlSUSE:Linux Enterprise Server 12 SP3 From an advisory covering 2 CVEs |
before 4.021-12.5.2 | 4.021-12.5.2 |
perl-DBD-mysqlSUSE:Linux Enterprise Server for SAP Applications 12 SP3 From an advisory covering 2 CVEs |
before 4.021-12.5.2 | 4.021-12.5.2 |
libdbd-mysql-perlUbuntu:Pro:14.04:LTS |
before 4.025-1ubuntu0.1+esm1, plus listed versions 4.023-14.024-14.025-14.025-1ubuntu0.1 |
4.025-1ubuntu0.1+esm1 |
libdbd-mysql-perlUbuntu:Pro:16.04:LTS |
before 4.033-1ubuntu0.1+esm1, plus listed versions 4.028-24.033-14.033-1build14.033-1build24.033-1ubuntu0.1 |
4.033-1ubuntu0.1+esm1 |
libdbd-mysql-perlUbuntu:Pro:16.04:LTS From an advisory covering 4 CVEs |
before 4.033-1ubuntu0.1+esm1, plus listed versions 4.028-24.033-14.033-1build14.033-1build24.033-1ubuntu0.1 |
4.033-1ubuntu0.1+esm1 |
libdbd-mysql-perlUbuntu:Pro:14.04:LTS From an advisory covering 4 CVEs |
before 4.025-1ubuntu0.1+esm1, plus listed versions 4.023-14.024-14.025-14.025-1ubuntu0.1 |
4.025-1ubuntu0.1+esm1 |
perl-DBD-mysqlopenSUSE:Tumbleweed From an advisory covering 2 CVEs |
before 4.050-2.14 | 4.050-2.14 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-10789 is a medium vulnerability (CVSS 5.9) in Dbd-mysql Project Dbd-mysql, published July 1, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.20%, the 82nd percentile. Fixed in libdbd-mysql-perl 4.046-1.
References
securityfocus.com/bid/99364
github.com/perl5-dbi/DBD-mysql/issues/140
github.com/perl5-dbi/DBD-mysql/pull/114
github.com/perl5-dbi/DBD-mysql/issues/110
nvd.nist.gov/vuln/detail/CVE-2017-10789
github.com/advisories/GHSA-4384-9v4p-2vmf
Show 24 moreShow less
security-tracker.debian.org/tracker/CVE-2017-10789
advisories.mageia.org/MGASA-2018-0031.html
bugs.mageia.org/show_bug.cgi?id=19522
debian.org/security/2016/dsa-3684
lists.fedoraproject.org/archives/list/[email protected]/thread/NY3AHSF4ZPQQ5OGYZYNQOD7TBL7CAG4F
lists.fedoraproject.org/archives/list/[email protected]/thread/7BLHU5FAHMKZBZ4LAHIASWUJVK4O6JS6
lists.fedoraproject.org/archives/list/[email protected]/thread/3CWISRFDOB7YRPBNDD3BNIQHSRYBDD6S
lists.fedoraproject.org/archives/list/[email protected]/thread/TAWTNCSYWNBJHJR4AYQAAW65JVWDWMEW
advisories.mageia.org/MGASA-2018-0283.html
bugs.mageia.org/show_bug.cgi?id=23154
lists.opensuse.org/opensuse-updates/2018-05/msg00138.html
suse.com/support/update/announcement/2018/suse-su-20181449-1
bugzilla.suse.com/1047059
bugzilla.suse.com/1047095
suse.com/security/cve/CVE-2017-10788
suse.com/security/cve/CVE-2017-10789
suse.com/support/update/announcement/2018/suse-su-20181450-1
ubuntu.com/security/CVE-2017-10789
ubuntu.com/security/notices/USN-5344-1
cve.org/CVERecord?id=CVE-2017-10789
ubuntu.com/security/notices/USN-7417-1
ubuntu.com/security/CVE-2016-1249
ubuntu.com/security/CVE-2016-1251
ubuntu.com/security/CVE-2017-10788