CVE-2015-3152
Oracle MySQL before 5.7.3, Oracle MySQL Connector/C (aka libmysqlclient) before 6.1.3, and MariaDB before 5.5.44 use the --ssl option to mean that SSL is optional, which allows man-in-the-middle attackers to spoof servers via a cleartext-downgrade attack, aka a "BACKRONYM" attack.
What to do
Fixed builds are available from Red Hat, Ubuntu: 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 16.04 | mariadb-10.0 | Fixed | 10.0.22-0ubuntu1 | UBUNTU-CVE-2015-3152 |
| Ubuntu 16.04 | percona-server-5.6 | Fix pending | UBUNTU-CVE-2015-3152 | |
| Ubuntu 14.04 | mariadb-5.5 | Fixed | 5.5.44-1ubuntu0.14.04.1 | UBUNTU-CVE-2015-3152 |
| Ubuntu 14.04 | mysql-5.5 | Fix pending | UBUNTU-CVE-2015-3152 | |
| Ubuntu 14.04 | mysql-5.6 | Fix pending | ||
| Ubuntu 14.04 | percona-xtradb-cluster-5.5 | Fix pending | ||
| Red Hat Enterprise Linux 7 | mariadb | Fixed | 1:5.5.44-1.el7_1 | RHSA-2015:1665 |
| Red Hat Enterprise Linux 7 | mariadb-bench | Fixed | 1:5.5.44-1.el7_1 | RHSA-2015:1665 |
| Red Hat Enterprise Linux 7 | mariadb-devel | Fixed | 1:5.5.44-1.el7_1 | RHSA-2015:1665 |
| Red Hat Enterprise Linux 7 | mariadb-embedded | Fixed | 1:5.5.44-1.ael7b_1 | RHSA-2015:1665 |
| Red Hat Enterprise Linux 7 | mariadb-embedded-devel | Fixed | 1:5.5.44-1.ael7b_1 | RHSA-2015:1665 |
| Red Hat Enterprise Linux 7 | mariadb-libs | Fixed | 1:5.5.44-1.el7_1 | RHSA-2015:1665 |
| Red Hat Enterprise Linux 7 | mariadb-server | Fixed | 1:5.5.44-1.el7_1 | RHSA-2015:1665 |
| Red Hat Enterprise Linux 7 | mariadb-test | Fixed | 1:5.5.44-1.ael7b_1 | RHSA-2015:1665 |
| Red Hat Enterprise Linux 6 | mysql | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | mysql-bench | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | mysql-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | mysql-embedded | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | mysql-embedded-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | mysql-libs | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | mysql-server | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | mysql-test | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 5 | mysql55-mysql | Will not fix Will not fix |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://rhn.redhat.com/errata/RHSA-2015-1646.html (vendor-advisory)
- http://www.debian.org/security/2015/dsa-3311 (vendor-advisory)
- http://rhn.redhat.com/errata/RHSA-2015-1647.html (vendor-advisory)
- http://lists.fedoraproject.org/pipermail/package-announce/2015-July/161625.html (vendor-advisory)
- http://lists.fedoraproject.org/pipermail/package-announce/2015-July/161436.html (vendor-advisory)
- http://rhn.redhat.com/errata/RHSA-2015-1665.html (vendor-advisory)
References
- http://packetstormsecurity.com/files/131688/MySQL-SSL-TLS-Downgrade.html
- http://mysqlblog.fivefarmers.com/2015/04/29/ssltls-in-5-6-and-5-5-ocert-advisory/
- http://www.securityfocus.com/bid/74398
- https://github.com/mysql/mysql-server/commit/3bd5589e1a5a93f9c224badf983cd65c45215390
- https://access.redhat.com/security/cve/cve-2015-3152
- http://rhn.redhat.com/errata/RHSA-2015-1646.html
- http://www.debian.org/security/2015/dsa-3311
- http://mysqlblog.fivefarmers.com/2014/04/02/redefining-ssl-option/
- http://rhn.redhat.com/errata/RHSA-2015-1647.html
- http://www.securitytracker.com/id/1032216
- https://www.duosecurity.com/blog/backronym-mysql-vulnerability
- https://jira.mariadb.org/browse/MDEV-7937
- http://www.ocert.org/advisories/ocert-2015-003.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-July/161625.html
- http://www.securityfocus.com/archive/1/535397/100/1100/threaded
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.