{"id":"USN-5537-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.30 in Ubuntu 20.04 LTS and Ubuntu 22.04 LTS.\nUbuntu 18.04 LTS has been updated to MySQL 5.7.39.\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-39.html\nhttps://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-30.html\nhttps://www.oracle.com/security-alerts/cpujul2022.html\n","modified":"2026-02-10T04:42:42Z","published":"2022-07-28T13:45:25Z","related":["UBUNTU-CVE-2022-21509","UBUNTU-CVE-2022-21515","UBUNTU-CVE-2022-21517","UBUNTU-CVE-2022-21522","UBUNTU-CVE-2022-21525","UBUNTU-CVE-2022-21526","UBUNTU-CVE-2022-21527","UBUNTU-CVE-2022-21528","UBUNTU-CVE-2022-21529","UBUNTU-CVE-2022-21530","UBUNTU-CVE-2022-21531","UBUNTU-CVE-2022-21534","UBUNTU-CVE-2022-21537","UBUNTU-CVE-2022-21538","UBUNTU-CVE-2022-21539","UBUNTU-CVE-2022-21547","UBUNTU-CVE-2022-21553","UBUNTU-CVE-2022-21569"],"upstream":["CVE-2022-21509","CVE-2022-21515","CVE-2022-21517","CVE-2022-21522","CVE-2022-21525","CVE-2022-21526","CVE-2022-21527","CVE-2022-21528","CVE-2022-21529","CVE-2022-21530","CVE-2022-21531","CVE-2022-21534","CVE-2022-21537","CVE-2022-21538","CVE-2022-21539","CVE-2022-21547","CVE-2022-21553","CVE-2022-21569","UBUNTU-CVE-2022-21509","UBUNTU-CVE-2022-21515","UBUNTU-CVE-2022-21517","UBUNTU-CVE-2022-21522","UBUNTU-CVE-2022-21525","UBUNTU-CVE-2022-21526","UBUNTU-CVE-2022-21527","UBUNTU-CVE-2022-21528","UBUNTU-CVE-2022-21529","UBUNTU-CVE-2022-21530","UBUNTU-CVE-2022-21531","UBUNTU-CVE-2022-21534","UBUNTU-CVE-2022-21537","UBUNTU-CVE-2022-21538","UBUNTU-CVE-2022-21539","UBUNTU-CVE-2022-21547","UBUNTU-CVE-2022-21553","UBUNTU-CVE-2022-21569"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5537-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21509"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21515"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21517"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21522"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21525"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21526"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21527"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21528"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21529"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21530"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21531"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21534"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21537"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21538"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21539"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21547"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21553"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21569"}],"affected":[{"package":{"name":"mysql-5.7","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/mysql-5.7@5.7.39-0ubuntu0.18.04.2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.7.39-0ubuntu0.18.04.2"}]}],"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","5.7.37-0ubuntu0.18.04.1","5.7.38-0ubuntu0.18.04.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"5.7.39-0ubuntu0.18.04.2","binary_name":"libmysqlclient-dev"},{"binary_version":"5.7.39-0ubuntu0.18.04.2","binary_name":"libmysqlclient20"},{"binary_version":"5.7.39-0ubuntu0.18.04.2","binary_name":"libmysqld-dev"},{"binary_version":"5.7.39-0ubuntu0.18.04.2","binary_name":"mysql-client"},{"binary_version":"5.7.39-0ubuntu0.18.04.2","binary_name":"mysql-client-5.7"},{"binary_version":"5.7.39-0ubuntu0.18.04.2","binary_name":"mysql-client-core-5.7"},{"binary_version":"5.7.39-0ubuntu0.18.04.2","binary_name":"mysql-server"},{"binary_version":"5.7.39-0ubuntu0.18.04.2","binary_name":"mysql-server-5.7"},{"binary_version":"5.7.39-0ubuntu0.18.04.2","binary_name":"mysql-server-core-5.7"},{"binary_version":"5.7.39-0ubuntu0.18.04.2","binary_name":"mysql-source-5.7"},{"binary_version":"5.7.39-0ubuntu0.18.04.2","binary_name":"mysql-testsuite"},{"binary_version":"5.7.39-0ubuntu0.18.04.2","binary_name":"mysql-testsuite-5.7"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5537-1.json","cves_map":{"cves":[{"id":"CVE-2022-21515","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]}],"ecosystem":"Ubuntu:18.04:LTS"}}},{"package":{"name":"mysql-8.0","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/mysql-8.0@8.0.30-0ubuntu0.20.04.2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.30-0ubuntu0.20.04.2"}]}],"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","8.0.28-0ubuntu0.20.04.3","8.0.29-0ubuntu0.20.04.2","8.0.29-0ubuntu0.20.04.3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"8.0.30-0ubuntu0.20.04.2","binary_name":"libmysqlclient-dev"},{"binary_version":"8.0.30-0ubuntu0.20.04.2","binary_name":"libmysqlclient21"},{"binary_version":"8.0.30-0ubuntu0.20.04.2","binary_name":"mysql-client"},{"binary_version":"8.0.30-0ubuntu0.20.04.2","binary_name":"mysql-client-8.0"},{"binary_version":"8.0.30-0ubuntu0.20.04.2","binary_name":"mysql-client-core-8.0"},{"binary_version":"8.0.30-0ubuntu0.20.04.2","binary_name":"mysql-router"},{"binary_version":"8.0.30-0ubuntu0.20.04.2","binary_name":"mysql-server"},{"binary_version":"8.0.30-0ubuntu0.20.04.2","binary_name":"mysql-server-8.0"},{"binary_version":"8.0.30-0ubuntu0.20.04.2","binary_name":"mysql-server-core-8.0"},{"binary_version":"8.0.30-0ubuntu0.20.04.2","binary_name":"mysql-source-8.0"},{"binary_version":"8.0.30-0ubuntu0.20.04.2","binary_name":"mysql-testsuite"},{"binary_version":"8.0.30-0ubuntu0.20.04.2","binary_name":"mysql-testsuite-8.0"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5537-1.json","cves_map":{"cves":[{"id":"CVE-2022-21509","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2022-21515","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]},{"id":"CVE-2022-21517","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]},{"id":"CVE-2022-21522","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]},{"id":"CVE-2022-21525","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]},{"id":"CVE-2022-21526","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]},{"id":"CVE-2022-21527","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2022-21528","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2022-21529","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]},{"id":"CVE-2022-21530","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]},{"id":"CVE-2022-21531","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]},{"id":"CVE-2022-21534","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]},{"id":"CVE-2022-21537","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]},{"id":"CVE-2022-21538","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L"},{"type":"Ubuntu","score":"low"}]},{"id":"CVE-2022-21539","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2022-21547","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2022-21553","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2022-21569","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}],"ecosystem":"Ubuntu:20.04:LTS"}}},{"package":{"name":"mysql-8.0","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/mysql-8.0@8.0.30-0ubuntu0.22.04.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.30-0ubuntu0.22.04.1"}]}],"versions":["8.0.26-0ubuntu1","8.0.27-0ubuntu0.21.10.1","8.0.28-0ubuntu3","8.0.28-0ubuntu4","8.0.29-0ubuntu0.22.04.1","8.0.29-0ubuntu0.22.04.2","8.0.29-0ubuntu0.22.04.3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"8.0.30-0ubuntu0.22.04.1","binary_name":"libmysqlclient-dev"},{"binary_version":"8.0.30-0ubuntu0.22.04.1","binary_name":"libmysqlclient21"},{"binary_version":"8.0.30-0ubuntu0.22.04.1","binary_name":"mysql-client"},{"binary_version":"8.0.30-0ubuntu0.22.04.1","binary_name":"mysql-client-8.0"},{"binary_version":"8.0.30-0ubuntu0.22.04.1","binary_name":"mysql-client-core-8.0"},{"binary_version":"8.0.30-0ubuntu0.22.04.1","binary_name":"mysql-router"},{"binary_version":"8.0.30-0ubuntu0.22.04.1","binary_name":"mysql-server"},{"binary_version":"8.0.30-0ubuntu0.22.04.1","binary_name":"mysql-server-8.0"},{"binary_version":"8.0.30-0ubuntu0.22.04.1","binary_name":"mysql-server-core-8.0"},{"binary_version":"8.0.30-0ubuntu0.22.04.1","binary_name":"mysql-source-8.0"},{"binary_version":"8.0.30-0ubuntu0.22.04.1","binary_name":"mysql-testsuite"},{"binary_version":"8.0.30-0ubuntu0.22.04.1","binary_name":"mysql-testsuite-8.0"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5537-1.json","cves_map":{"cves":[{"id":"CVE-2022-21509","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2022-21515","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]},{"id":"CVE-2022-21517","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]},{"id":"CVE-2022-21522","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]},{"id":"CVE-2022-21525","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]},{"id":"CVE-2022-21526","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]},{"id":"CVE-2022-21527","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2022-21528","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2022-21529","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]},{"id":"CVE-2022-21530","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]},{"id":"CVE-2022-21531","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]},{"id":"CVE-2022-21534","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]},{"id":"CVE-2022-21537","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]},{"id":"CVE-2022-21538","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L"},{"type":"Ubuntu","score":"low"}]},{"id":"CVE-2022-21539","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2022-21547","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2022-21553","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2022-21569","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}],"ecosystem":"Ubuntu:22.04:LTS"}}}],"schema_version":"1.7.3"}