==========================================================================
Ubuntu Security Notice USN-5022-2
August 13, 2021

mariadb-10.3, mariadb-10.5 vulnerabilities
==========================================================================

A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 21.04
- Ubuntu 20.04 LTS

Summary:

Several security issues were fixed in MariaDB.

Software Description:
- mariadb-10.5: MariaDB database
- mariadb-10.3: MariaDB database

Details:

USN-5022-1 fixed multiple vulnerabilities in MySQL. This update provides the
corresponding fixes for CVE-2021-2372 and CVE-2021-2389 in MariaDB 10.3 and
10.5.

In addition to security fixes, the updated package contain bug fixes, new
features, and possibly incompatible changes.

Please see the following for more information:
https://mariadb.com/kb/en/mariadb-10331-changelog/
https://mariadb.com/kb/en/mariadb-10512-changelog/

Original advisory details:

 Multiple security issues were discovered in MySQL and this update includes
 new upstream MySQL versions to fix these issues.
 
 MySQL has been updated to 8.0.26 in Ubuntu 20.04 LTS and Ubuntu 21.04.
 Ubuntu 18.04 LTS has been updated to MySQL 5.7.35.
 
 In addition to security fixes, the updated packages contain bug fixes, new
 features, and possibly incompatible changes.
 
 Please see the following for more information:
 
 https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-35.html
 https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-26.html
 https://www.oracle.com/security-alerts/cpujul2021.html

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 21.04:
  mariadb-server                  1:10.5.12-0ubuntu0.21.04.1

Ubuntu 20.04 LTS:
  mariadb-server                  1:10.3.31-0ubuntu0.20.04.1

This update uses a new upstream release, which includes additional bug
fixes. After a standard system update you need to restart MariaDB to
make all the necessary changes.

References:
  https://ubuntu.com/security/notices/USN-5022-2
  https://ubuntu.com/security/notices/USN-5022-1
  CVE-2021-2372, CVE-2021-2389

Package Information:
  https://launchpad.net/ubuntu/+source/mariadb-10.5/1:10.5.12-0ubuntu0.21.04.1
  https://launchpad.net/ubuntu/+source/mariadb-10.3/1:10.3.31-0ubuntu0.20.04.1