Ubuntu 18.04 LTS / 20.04 LTS : MariaDB vulnerabilities (USN-4603-1)

critical Nessus Plugin ID 141921

Synopsis

The remote Ubuntu host is missing one or more security updates.

Description

The remote Ubuntu 18.04 LTS / 20.04 LTS host has packages installed that are affected by multiple vulnerabilities as referenced in the USN-4603-1 advisory.

- Vulnerability in the MySQL Client product of Oracle MySQL (component: C API). Supported versions that are affected are 5.6.47 and prior, 5.7.27 and prior and 8.0.17 and prior. Difficult to exploit vulnerability allows low privileged attacker with network access via multiple protocols to compromise MySQL Client.
Successful attacks of this vulnerability can result in unauthorized ability to cause a hang or frequently repeatable crash (complete DOS) of MySQL Client. CVSS 3.0 Base Score 5.3 (Availability impacts). CVSS Vector: (CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H). (CVE-2020-2752)

- Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB). Supported versions that are affected are 5.7.29 and prior and 8.0.19 and prior. Easily exploitable vulnerability allows high privileged attacker with network access via multiple protocols to compromise MySQL Server. Successful attacks of this vulnerability can result in unauthorized ability to cause a hang or frequently repeatable crash (complete DOS) of MySQL Server as well as unauthorized update, insert or delete access to some of MySQL Server accessible data. CVSS 3.0 Base Score 5.5 (Integrity and Availability impacts). CVSS Vector:
(CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H). (CVE-2020-2760)

- Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Stored Procedure). Supported versions that are affected are 5.6.47 and prior, 5.7.29 and prior and 8.0.19 and prior. Easily exploitable vulnerability allows high privileged attacker with network access via multiple protocols to compromise MySQL Server. Successful attacks of this vulnerability can result in unauthorized ability to cause a hang or frequently repeatable crash (complete DOS) of MySQL Server. CVSS 3.0 Base Score 4.9 (Availability impacts). CVSS Vector: (CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H). (CVE-2020-2812)

- Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB). Supported versions that are affected are 5.6.47 and prior, 5.7.28 and prior and 8.0.18 and prior. Easily exploitable vulnerability allows high privileged attacker with network access via multiple protocols to compromise MySQL Server.
Successful attacks of this vulnerability can result in unauthorized ability to cause a hang or frequently repeatable crash (complete DOS) of MySQL Server. CVSS 3.0 Base Score 4.9 (Availability impacts). CVSS Vector: (CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H). (CVE-2020-2814)

- libmariadb/mariadb_lib.c in MariaDB Connector/C before 3.1.8 does not properly validate the content of an OK packet received from a server. NOTE: although mariadb_lib.c was originally based on code shipped for MySQL, this issue does not affect any MySQL components supported by Oracle. (CVE-2020-13249)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://ubuntu.com/security/notices/USN-4603-1

Plugin Details

Severity: Critical

ID: 141921

File Name: ubuntu_USN-4603-1.nasl

Version: 1.4

Type: local

Agent: unix

Published: 10/27/2020

Updated: 6/11/2021

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent

Risk Information

VPR

Risk Factor: High

Score: 7.3

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

Temporal Vector: CVSS2#E:U/RL:OF/RC:C

CVSS Score Source: CVE-2020-15180

CVSS v3

Risk Factor: Critical

Base Score: 9

Temporal Score: 7.8

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:2.3:o:canonical:ubuntu_linux:18.04:-:lts:*:*:*:*:*, cpe:2.3:o:canonical:ubuntu_linux:20.04:-:lts:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:mariadb-server:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:libmariadbclient-dev:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:libmariadbclient-dev-compat:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:libmariadbclient18:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:libmariadbd-dev:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:libmariadbd18:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:mariadb-client:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:mariadb-client-10.1:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:mariadb-client-core-10.1:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:mariadb-common:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:mariadb-plugin-connect:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:mariadb-plugin-cracklib-password-check:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:mariadb-plugin-gssapi-client:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:mariadb-plugin-gssapi-server:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:mariadb-plugin-mroonga:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:mariadb-plugin-oqgraph:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:mariadb-plugin-spider:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:mariadb-plugin-tokudb:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:mariadb-server-10.1:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:mariadb-server-core-10.1:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:mariadb-test:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:mariadb-test-data:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:libmariadb3:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:libmariadbd19:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:mariadb-client-10.3:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:mariadb-client-core-10.3:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:mariadb-plugin-rocksdb:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:mariadb-server-10.3:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:mariadb-server-core-10.3:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:libmariadb-dev:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:libmariadb-dev-compat:*:*:*:*:*:*:*, p-cpe:2.3:a:canonical:ubuntu_linux:mariadb-backup:*:*:*:*:*:*:*

Required KB Items: Host/cpu, Host/Debian/dpkg-l, Host/Ubuntu, Host/Ubuntu/release

Exploit Ease: No known exploits are available

Patch Publication Date: 10/26/2020

Vulnerability Publication Date: 4/14/2020

Reference Information

CVE: CVE-2020-2752, CVE-2020-2760, CVE-2020-2812, CVE-2020-2814, CVE-2020-13249, CVE-2020-15180

USN: 4603-1