{"id":"USN-5270-1","summary":"mysql-5.7, mysql-8.0 vulnerabilities","details":"Multiple security issues were discovered in MySQL and this update includes\nnew upstream MySQL versions to fix these issues.\n\nMySQL has been updated to 8.0.28 in Ubuntu 20.04 LTS and Ubuntu 21.10.\nUbuntu 18.04 LTS has been updated to MySQL 5.7.37.\n\nIn addition to security fixes, the updated packages contain bug fixes, new\nfeatures, and possibly incompatible changes.\n\nPlease see the following for more information:\n\nhttps://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-37.html\nhttps://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-28.html\nhttps://www.oracle.com/security-alerts/cpujan2022.html\n","modified":"2026-02-10T04:42:27Z","published":"2022-02-03T12:01:37Z","related":["UBUNTU-CVE-2022-21245","UBUNTU-CVE-2022-21249","UBUNTU-CVE-2022-21253","UBUNTU-CVE-2022-21254","UBUNTU-CVE-2022-21256","UBUNTU-CVE-2022-21264","UBUNTU-CVE-2022-21265","UBUNTU-CVE-2022-21270","UBUNTU-CVE-2022-21301","UBUNTU-CVE-2022-21302","UBUNTU-CVE-2022-21303","UBUNTU-CVE-2022-21304","UBUNTU-CVE-2022-21339","UBUNTU-CVE-2022-21342","UBUNTU-CVE-2022-21344","UBUNTU-CVE-2022-21348","UBUNTU-CVE-2022-21351","UBUNTU-CVE-2022-21358","UBUNTU-CVE-2022-21362","UBUNTU-CVE-2022-21367","UBUNTU-CVE-2022-21368","UBUNTU-CVE-2022-21370","UBUNTU-CVE-2022-21372","UBUNTU-CVE-2022-21374","UBUNTU-CVE-2022-21378","UBUNTU-CVE-2022-21379"],"upstream":["CVE-2022-21245","CVE-2022-21249","CVE-2022-21253","CVE-2022-21254","CVE-2022-21256","CVE-2022-21264","CVE-2022-21265","CVE-2022-21270","CVE-2022-21301","CVE-2022-21302","CVE-2022-21303","CVE-2022-21304","CVE-2022-21339","CVE-2022-21342","CVE-2022-21344","CVE-2022-21348","CVE-2022-21351","CVE-2022-21358","CVE-2022-21362","CVE-2022-21367","CVE-2022-21368","CVE-2022-21370","CVE-2022-21372","CVE-2022-21374","CVE-2022-21378","CVE-2022-21379","UBUNTU-CVE-2022-21245","UBUNTU-CVE-2022-21249","UBUNTU-CVE-2022-21253","UBUNTU-CVE-2022-21254","UBUNTU-CVE-2022-21256","UBUNTU-CVE-2022-21264","UBUNTU-CVE-2022-21265","UBUNTU-CVE-2022-21270","UBUNTU-CVE-2022-21301","UBUNTU-CVE-2022-21302","UBUNTU-CVE-2022-21303","UBUNTU-CVE-2022-21304","UBUNTU-CVE-2022-21339","UBUNTU-CVE-2022-21342","UBUNTU-CVE-2022-21344","UBUNTU-CVE-2022-21348","UBUNTU-CVE-2022-21351","UBUNTU-CVE-2022-21358","UBUNTU-CVE-2022-21362","UBUNTU-CVE-2022-21367","UBUNTU-CVE-2022-21368","UBUNTU-CVE-2022-21370","UBUNTU-CVE-2022-21372","UBUNTU-CVE-2022-21374","UBUNTU-CVE-2022-21378","UBUNTU-CVE-2022-21379"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5270-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21245"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21249"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21253"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21254"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21256"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21264"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21265"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21270"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21301"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21302"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21303"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21304"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21339"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21342"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21344"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21348"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21351"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21358"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21362"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21367"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21368"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21370"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21372"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21374"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21378"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21379"}],"affected":[{"package":{"name":"mysql-5.7","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/mysql-5.7@5.7.37-0ubuntu0.18.04.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.7.37-0ubuntu0.18.04.1"}]}],"versions":["5.7.19-0ubuntu1","5.7.20-0ubuntu0.17.10.1","5.7.20-1ubuntu1","5.7.21-1ubuntu1","5.7.22-0ubuntu18.04.1","5.7.23-0ubuntu0.18.04.1","5.7.24-0ubuntu0.18.04.1","5.7.25-0ubuntu0.18.04.2","5.7.26-0ubuntu0.18.04.1","5.7.27-0ubuntu0.18.04.1","5.7.28-0ubuntu0.18.04.4","5.7.29-0ubuntu0.18.04.1","5.7.30-0ubuntu0.18.04.1","5.7.31-0ubuntu0.18.04.1","5.7.32-0ubuntu0.18.04.1","5.7.33-0ubuntu0.18.04.1","5.7.34-0ubuntu0.18.04.1","5.7.35-0ubuntu0.18.04.1","5.7.35-0ubuntu0.18.04.2","5.7.36-0ubuntu0.18.04.1"],"ecosystem_specific":{"binaries":[{"binary_version":"5.7.37-0ubuntu0.18.04.1","binary_name":"libmysqlclient-dev"},{"binary_version":"5.7.37-0ubuntu0.18.04.1","binary_name":"libmysqlclient20"},{"binary_version":"5.7.37-0ubuntu0.18.04.1","binary_name":"libmysqld-dev"},{"binary_version":"5.7.37-0ubuntu0.18.04.1","binary_name":"mysql-client"},{"binary_version":"5.7.37-0ubuntu0.18.04.1","binary_name":"mysql-client-5.7"},{"binary_version":"5.7.37-0ubuntu0.18.04.1","binary_name":"mysql-client-core-5.7"},{"binary_version":"5.7.37-0ubuntu0.18.04.1","binary_name":"mysql-server"},{"binary_version":"5.7.37-0ubuntu0.18.04.1","binary_name":"mysql-server-5.7"},{"binary_version":"5.7.37-0ubuntu0.18.04.1","binary_name":"mysql-server-core-5.7"},{"binary_version":"5.7.37-0ubuntu0.18.04.1","binary_name":"mysql-source-5.7"},{"binary_version":"5.7.37-0ubuntu0.18.04.1","binary_name":"mysql-testsuite"},{"binary_version":"5.7.37-0ubuntu0.18.04.1","binary_name":"mysql-testsuite-5.7"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5270-1.json","cves_map":{"cves":[{"id":"CVE-2022-21245","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-21270","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-21303","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-21304","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-21344","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-21367","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:18.04:LTS"}}},{"package":{"name":"mysql-8.0","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/mysql-8.0@8.0.28-0ubuntu0.20.04.3?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.28-0ubuntu0.20.04.3"}]}],"versions":["8.0.17-0ubuntu2","8.0.17-0ubuntu3","8.0.18-0ubuntu3","8.0.18-0ubuntu4","8.0.18-0ubuntu5","8.0.19-0ubuntu2","8.0.19-0ubuntu3","8.0.19-0ubuntu4","8.0.19-0ubuntu5","8.0.20-0ubuntu0.20.04.1","8.0.21-0ubuntu0.20.04.3","8.0.21-0ubuntu0.20.04.4","8.0.22-0ubuntu0.20.04.2","8.0.22-0ubuntu0.20.04.3","8.0.23-0ubuntu0.20.04.1","8.0.25-0ubuntu0.20.04.1","8.0.26-0ubuntu0.20.04.2","8.0.26-0ubuntu0.20.04.3","8.0.27-0ubuntu0.20.04.1"],"ecosystem_specific":{"binaries":[{"binary_version":"8.0.28-0ubuntu0.20.04.3","binary_name":"libmysqlclient-dev"},{"binary_version":"8.0.28-0ubuntu0.20.04.3","binary_name":"libmysqlclient21"},{"binary_version":"8.0.28-0ubuntu0.20.04.3","binary_name":"mysql-client"},{"binary_version":"8.0.28-0ubuntu0.20.04.3","binary_name":"mysql-client-8.0"},{"binary_version":"8.0.28-0ubuntu0.20.04.3","binary_name":"mysql-client-core-8.0"},{"binary_version":"8.0.28-0ubuntu0.20.04.3","binary_name":"mysql-router"},{"binary_version":"8.0.28-0ubuntu0.20.04.3","binary_name":"mysql-server"},{"binary_version":"8.0.28-0ubuntu0.20.04.3","binary_name":"mysql-server-8.0"},{"binary_version":"8.0.28-0ubuntu0.20.04.3","binary_name":"mysql-server-core-8.0"},{"binary_version":"8.0.28-0ubuntu0.20.04.3","binary_name":"mysql-source-8.0"},{"binary_version":"8.0.28-0ubuntu0.20.04.3","binary_name":"mysql-testsuite"},{"binary_version":"8.0.28-0ubuntu0.20.04.3","binary_name":"mysql-testsuite-8.0"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5270-1.json","cves_map":{"cves":[{"id":"CVE-2022-21245","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-21249","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-21253","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-21254","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-21256","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-21264","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-21265","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:L","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-21270","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-21301","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-21302","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-21303","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-21304","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-21339","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-21342","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-21344","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-21348","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-21351","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-21358","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-21362","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-21367","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-21368","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-21370","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-21372","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-21374","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-21378","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-21379","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:20.04:LTS"}}}],"schema_version":"1.7.3"}