{"id":"USN-6934-1","summary":"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.39 in Ubuntu 20.04 LTS, Ubuntu 22.04 LTS,\nand Ubuntu 24.04 LTS.\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/8.0/en/news-8-0-38.html\nhttps://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-39.html\nhttps://www.oracle.com/security-alerts/cpujul2024.html\n","modified":"2026-02-10T04:44:43Z","published":"2024-07-31T10:51:55Z","related":["UBUNTU-CVE-2024-20996","UBUNTU-CVE-2024-21125","UBUNTU-CVE-2024-21127","UBUNTU-CVE-2024-21129","UBUNTU-CVE-2024-21130","UBUNTU-CVE-2024-21134","UBUNTU-CVE-2024-21142","UBUNTU-CVE-2024-21162","UBUNTU-CVE-2024-21163","UBUNTU-CVE-2024-21165","UBUNTU-CVE-2024-21171","UBUNTU-CVE-2024-21173","UBUNTU-CVE-2024-21177","UBUNTU-CVE-2024-21179","UBUNTU-CVE-2024-21185"],"upstream":["CVE-2024-20996","CVE-2024-21125","CVE-2024-21127","CVE-2024-21129","CVE-2024-21130","CVE-2024-21134","CVE-2024-21142","CVE-2024-21162","CVE-2024-21163","CVE-2024-21165","CVE-2024-21171","CVE-2024-21173","CVE-2024-21177","CVE-2024-21179","CVE-2024-21185","UBUNTU-CVE-2024-20996","UBUNTU-CVE-2024-21125","UBUNTU-CVE-2024-21127","UBUNTU-CVE-2024-21129","UBUNTU-CVE-2024-21130","UBUNTU-CVE-2024-21134","UBUNTU-CVE-2024-21142","UBUNTU-CVE-2024-21162","UBUNTU-CVE-2024-21163","UBUNTU-CVE-2024-21165","UBUNTU-CVE-2024-21171","UBUNTU-CVE-2024-21173","UBUNTU-CVE-2024-21177","UBUNTU-CVE-2024-21179","UBUNTU-CVE-2024-21185"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6934-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-20996"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-21125"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-21127"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-21129"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-21130"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-21134"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-21142"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-21162"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-21163"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-21165"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-21171"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-21173"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-21177"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-21179"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-21185"}],"affected":[{"package":{"name":"mysql-8.0","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/mysql-8.0@8.0.39-0ubuntu0.20.04.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.39-0ubuntu0.20.04.1"}]}],"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","8.0.30-0ubuntu0.20.04.2","8.0.31-0ubuntu0.20.04.1","8.0.31-0ubuntu0.20.04.2","8.0.32-0buntu0.20.04.1","8.0.32-0ubuntu0.20.04.2","8.0.33-0ubuntu0.20.04.1","8.0.33-0ubuntu0.20.04.2","8.0.33-0ubuntu0.20.04.4","8.0.34-0ubuntu0.20.04.1","8.0.35-0ubuntu0.20.04.1","8.0.36-0ubuntu0.20.04.1","8.0.37-0ubuntu0.20.04.3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"8.0.39-0ubuntu0.20.04.1","binary_name":"libmysqlclient-dev"},{"binary_version":"8.0.39-0ubuntu0.20.04.1","binary_name":"libmysqlclient21"},{"binary_version":"8.0.39-0ubuntu0.20.04.1","binary_name":"mysql-client"},{"binary_version":"8.0.39-0ubuntu0.20.04.1","binary_name":"mysql-client-8.0"},{"binary_version":"8.0.39-0ubuntu0.20.04.1","binary_name":"mysql-client-core-8.0"},{"binary_version":"8.0.39-0ubuntu0.20.04.1","binary_name":"mysql-router"},{"binary_version":"8.0.39-0ubuntu0.20.04.1","binary_name":"mysql-server"},{"binary_version":"8.0.39-0ubuntu0.20.04.1","binary_name":"mysql-server-8.0"},{"binary_version":"8.0.39-0ubuntu0.20.04.1","binary_name":"mysql-server-core-8.0"},{"binary_version":"8.0.39-0ubuntu0.20.04.1","binary_name":"mysql-source-8.0"},{"binary_version":"8.0.39-0ubuntu0.20.04.1","binary_name":"mysql-testsuite"},{"binary_version":"8.0.39-0ubuntu0.20.04.1","binary_name":"mysql-testsuite-8.0"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6934-1.json","cves_map":{"cves":[{"id":"CVE-2024-20996","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-2024-21125","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-2024-21127","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":"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-2024-21129","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-2024-21130","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-2024-21134","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2024-21142","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-2024-21162","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-2024-21163","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-2024-21165","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-2024-21171","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-2024-21173","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-2024-21177","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-2024-21179","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-2024-21185","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"}}},{"package":{"name":"mysql-8.0","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/mysql-8.0@8.0.39-0ubuntu0.22.04.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.39-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","8.0.30-0ubuntu0.22.04.1","8.0.31-0ubuntu0.22.04.1","8.0.32-0buntu0.22.04.1","8.0.32-0ubuntu0.22.04.2","8.0.33-0ubuntu0.22.04.1","8.0.33-0ubuntu0.22.04.2","8.0.33-0ubuntu0.22.04.4","8.0.34-0ubuntu0.22.04.1","8.0.35-0ubuntu0.22.04.1","8.0.36-0ubuntu0.22.04.1","8.0.37-0ubuntu0.22.04.3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"8.0.39-0ubuntu0.22.04.1","binary_name":"libmysqlclient-dev"},{"binary_version":"8.0.39-0ubuntu0.22.04.1","binary_name":"libmysqlclient21"},{"binary_version":"8.0.39-0ubuntu0.22.04.1","binary_name":"mysql-client"},{"binary_version":"8.0.39-0ubuntu0.22.04.1","binary_name":"mysql-client-8.0"},{"binary_version":"8.0.39-0ubuntu0.22.04.1","binary_name":"mysql-client-core-8.0"},{"binary_version":"8.0.39-0ubuntu0.22.04.1","binary_name":"mysql-router"},{"binary_version":"8.0.39-0ubuntu0.22.04.1","binary_name":"mysql-server"},{"binary_version":"8.0.39-0ubuntu0.22.04.1","binary_name":"mysql-server-8.0"},{"binary_version":"8.0.39-0ubuntu0.22.04.1","binary_name":"mysql-server-core-8.0"},{"binary_version":"8.0.39-0ubuntu0.22.04.1","binary_name":"mysql-source-8.0"},{"binary_version":"8.0.39-0ubuntu0.22.04.1","binary_name":"mysql-testsuite"},{"binary_version":"8.0.39-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-6934-1.json","cves_map":{"cves":[{"id":"CVE-2024-20996","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-2024-21125","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-2024-21127","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":"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-2024-21129","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-2024-21130","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-2024-21134","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2024-21142","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-2024-21162","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-2024-21163","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-2024-21165","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-2024-21171","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-2024-21173","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-2024-21177","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-2024-21179","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-2024-21185","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:22.04:LTS"}}},{"package":{"name":"mysql-8.0","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/mysql-8.0@8.0.39-0ubuntu0.24.04.1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.39-0ubuntu0.24.04.1"}]}],"versions":["8.0.34-1ubuntu1","8.0.35-1ubuntu1","8.0.35-1ubuntu2","8.0.36-1","8.0.36-2ubuntu1","8.0.36-2ubuntu2","8.0.36-2ubuntu3","8.0.37-0ubuntu0.24.04.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"8.0.39-0ubuntu0.24.04.1","binary_name":"libmysqlclient-dev"},{"binary_version":"8.0.39-0ubuntu0.24.04.1","binary_name":"libmysqlclient21"},{"binary_version":"8.0.39-0ubuntu0.24.04.1","binary_name":"mysql-client"},{"binary_version":"8.0.39-0ubuntu0.24.04.1","binary_name":"mysql-client-8.0"},{"binary_version":"8.0.39-0ubuntu0.24.04.1","binary_name":"mysql-client-core-8.0"},{"binary_version":"8.0.39-0ubuntu0.24.04.1","binary_name":"mysql-router"},{"binary_version":"8.0.39-0ubuntu0.24.04.1","binary_name":"mysql-server"},{"binary_version":"8.0.39-0ubuntu0.24.04.1","binary_name":"mysql-server-8.0"},{"binary_version":"8.0.39-0ubuntu0.24.04.1","binary_name":"mysql-server-core-8.0"},{"binary_version":"8.0.39-0ubuntu0.24.04.1","binary_name":"mysql-source-8.0"},{"binary_version":"8.0.39-0ubuntu0.24.04.1","binary_name":"mysql-testsuite"},{"binary_version":"8.0.39-0ubuntu0.24.04.1","binary_name":"mysql-testsuite-8.0"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6934-1.json","cves_map":{"cves":[{"id":"CVE-2024-20996","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-2024-21125","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-2024-21127","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":"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-2024-21129","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-2024-21130","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-2024-21134","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2024-21142","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-2024-21162","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-2024-21163","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-2024-21165","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-2024-21171","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-2024-21173","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-2024-21177","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-2024-21179","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-2024-21185","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:24.04:LTS"}}}],"schema_version":"1.7.3"}