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.6

Type: local

Agent: unix

Published: 10/27/2020

Updated: 10/21/2023

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.5

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

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:/o:canonical:ubuntu_linux:18.04:-:lts, cpe:/o:canonical:ubuntu_linux:20.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:libmariadb-dev, p-cpe:/a:canonical:ubuntu_linux:libmariadb-dev-compat, p-cpe:/a:canonical:ubuntu_linux:libmariadb3, p-cpe:/a:canonical:ubuntu_linux:libmariadbclient-dev, p-cpe:/a:canonical:ubuntu_linux:libmariadbclient-dev-compat, p-cpe:/a:canonical:ubuntu_linux:libmariadbclient18, p-cpe:/a:canonical:ubuntu_linux:libmariadbd-dev, p-cpe:/a:canonical:ubuntu_linux:libmariadbd18, p-cpe:/a:canonical:ubuntu_linux:libmariadbd19, p-cpe:/a:canonical:ubuntu_linux:mariadb-backup, p-cpe:/a:canonical:ubuntu_linux:mariadb-client, p-cpe:/a:canonical:ubuntu_linux:mariadb-client-10.1, p-cpe:/a:canonical:ubuntu_linux:mariadb-client-10.3, p-cpe:/a:canonical:ubuntu_linux:mariadb-client-core-10.1, p-cpe:/a:canonical:ubuntu_linux:mariadb-client-core-10.3, p-cpe:/a:canonical:ubuntu_linux:mariadb-common, p-cpe:/a:canonical:ubuntu_linux:mariadb-plugin-connect, p-cpe:/a:canonical:ubuntu_linux:mariadb-plugin-cracklib-password-check, p-cpe:/a:canonical:ubuntu_linux:mariadb-plugin-gssapi-client, p-cpe:/a:canonical:ubuntu_linux:mariadb-plugin-gssapi-server, p-cpe:/a:canonical:ubuntu_linux:mariadb-plugin-mroonga, p-cpe:/a:canonical:ubuntu_linux:mariadb-plugin-oqgraph, p-cpe:/a:canonical:ubuntu_linux:mariadb-plugin-rocksdb, p-cpe:/a:canonical:ubuntu_linux:mariadb-plugin-spider, p-cpe:/a:canonical:ubuntu_linux:mariadb-plugin-tokudb, p-cpe:/a:canonical:ubuntu_linux:mariadb-server, p-cpe:/a:canonical:ubuntu_linux:mariadb-server-10.1, p-cpe:/a:canonical:ubuntu_linux:mariadb-server-10.3, p-cpe:/a:canonical:ubuntu_linux:mariadb-server-core-10.1, p-cpe:/a:canonical:ubuntu_linux:mariadb-server-core-10.3, p-cpe:/a:canonical:ubuntu_linux:mariadb-test, p-cpe:/a:canonical:ubuntu_linux:mariadb-test-data

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

Exploit Ease: No known exploits are available

Patch Publication Date: 10/26/2020

Vulnerability Publication Date: 4/14/2020

Reference Information

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

USN: 4603-1