CVE-2017-10789
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | libdbd-mysql-perl | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | libdbd-mysql-perl | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | libdbd-mysql-perl | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | libdbd-mysql-perl | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | libdbd-mysql-perl | Fix pending | 4.033-1ubuntu0.1+esm1 (Ubuntu Pro) | UBUNTU-CVE-2017-10789 |
| Ubuntu 14.04 | libdbd-mysql-perl | Fix pending | 4.025-1ubuntu0.1+esm1 (Ubuntu Pro) | UBUNTU-CVE-2017-10789 |
| Debian 14 | libdbd-mysql-perl | Fixed | 4.046-1 | DEBIAN-CVE-2017-10789 |
| Debian 13 | libdbd-mysql-perl | Fixed | 4.046-1 | DEBIAN-CVE-2017-10789 |
| Debian 12 | libdbd-mysql-perl | Fixed | 4.046-1 | DEBIAN-CVE-2017-10789 |
| Red Hat Enterprise Linux 7 | perl-DBD-MySQL | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | perl-DBD-MySQL | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 5 | perl-DBD-MySQL | Will not fix Will not fix |
References
- http://www.securityfocus.com/bid/99364
- https://github.com/perl5-dbi/DBD-mysql/issues/140
- https://github.com/perl5-dbi/DBD-mysql/pull/114
- https://github.com/perl5-dbi/DBD-mysql/issues/110
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.