This service will be undergoing maintenance at 00:00 UTC, 2017-10-23 It is expected to last about 30 minutes
Bug 1472708 - (CVE-2017-3651) CVE-2017-3651 mysql: Client mysqldump unspecified vulnerability (CPU Jul 2017)
CVE-2017-3651 mysql: Client mysqldump unspecified vulnerability (CPU Jul 2017)
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20170719,repor...
: Security
Depends On: 1477980 1477997 1472716 1477979 1477996
Blocks: 1472713
  Show dependency treegraph
 
Reported: 2017-07-19 04:39 EDT by Adam Mariš
Modified: 2017-10-12 04:07 EDT (History)
27 users (show)

See Also:
Fixed In Version: mysql 5.5.57, mysql 5.6.37, mysql 5.7.19, mariadb 5.5.53, mariadb 10.1.19, mariadb 10.0.28
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Adam Mariš 2017-07-19 04:39:50 EDT
Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Client mysqldump). Supported versions that are affected are 5.5.56 and earlier, 5.6.36 and earlier and 5.7.18 and earlier. Easily exploitable vulnerability allows low privileged attacker with network access via multiple protocols to compromise MySQL Server. Successful attacks of this vulnerability can result in unauthorized update, insert or delete access to some of MySQL Server accessible data. 

External References:

http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html#AppendixMSQL
Comment 1 Adam Mariš 2017-07-19 04:52:42 EDT
Created community-mysql tracking bugs for this issue:

Affects: fedora-all [bug 1472716]
Comment 2 Tomas Hoger 2017-08-03 05:20:13 EDT
Release notes of fixed MySQL versions describe this fix related to mysqldump:

https://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-57.html
https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-37.html
https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-19.html

  mysqldump could write database names in USE statements incorrectly.
  (Bug #25998635)

Hence this CVE is likely for a problem that was mentioned in bug 1433010 comment 6.  Duplicate CVEs CVE-2016-5483 and CVE-2017-3600 were assigned to two issues related to mysqldump and mysql - see bug 1433010 comment 4 for details.  Both issue were addressed at the same time in MariaDB, however, MySQL fixes in the April 2017 CPU only addressed one of the problems.

Related MySQL upstream commit is:

https://github.com/mysql/mysql-server/commit/20addb05e58fdf822896f490fcaaf2ec5ed4bcb5

Note that new MySQL versions do not change the output of mysqldump as suggested by the release notes entry.  Its output remains the same as it was in previous versions.  mysql client processing problematic USE entries does not connect to the specified database and fails with SQL syntax error.

Also note that fixed version listed by MariaDB upstream match those that provided a (complete) fix for CVE-2016-5483/CVE-2017-3600.
Comment 11 errata-xmlrpc 2017-09-21 03:51:31 EDT
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 6
  Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7
  Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS

Via RHSA-2017:2787 https://access.redhat.com/errata/RHSA-2017:2787
Comment 12 errata-xmlrpc 2017-10-12 04:07:26 EDT
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 6
  Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7
  Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS

Via RHSA-2017:2886 https://access.redhat.com/errata/RHSA-2017:2886

Note You need to log in before you can comment on or make changes to this bug.