Amazon Linux AMI : mysql57 (ALAS-2023-1686)

medium Nessus Plugin ID 171866

Synopsis

The remote Amazon Linux AMI host is missing a security update.

Description

The version of mysql57 installed on the remote host is prior to 5.7.41-1.18. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS-2023-1686 advisory.

- Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB). Supported versions that are affected are 5.7.33 and prior and 8.0.23 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. (CVE-2021-2180)

- Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: PS). Supported versions that are affected are 5.7.40 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. (CVE-2023-21840)

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

Solution

Run 'yum update mysql57' to update your system.

See Also

https://alas.aws.amazon.com/ALAS-2023-1686.html

https://alas.aws.amazon.com/cve/html/CVE-2021-2180.html

https://alas.aws.amazon.com/cve/html/CVE-2023-21840.html

https://alas.aws.amazon.com/cve/html/CVE-2023-21963.html

https://alas.aws.amazon.com/faqs.html

Plugin Details

Severity: Medium

ID: 171866

File Name: ala_ALAS-2023-1686.nasl

Version: 1.3

Type: local

Agent: unix

Published: 2/23/2023

Updated: 11/1/2023

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

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 4

Temporal Score: 3.3

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

CVSS Score Source: CVE-2021-2180

CVSS v3

Risk Factor: Medium

Base Score: 4.9

Temporal Score: 4.6

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

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

CVSS Score Source: CVE-2023-21840

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:mysql57-server, p-cpe:/a:amazon:linux:mysql57-errmsg, p-cpe:/a:amazon:linux:mysql57-test, p-cpe:/a:amazon:linux:mysql57-common, p-cpe:/a:amazon:linux:mysql57-libs, p-cpe:/a:amazon:linux:mysql57-devel, p-cpe:/a:amazon:linux:mysql57-embedded, p-cpe:/a:amazon:linux:mysql57-embedded-devel, cpe:/o:amazon:linux, p-cpe:/a:amazon:linux:mysql57-debuginfo, p-cpe:/a:amazon:linux:mysql57

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/17/2023

Vulnerability Publication Date: 4/20/2021

Reference Information

CVE: CVE-2021-2180, CVE-2023-21840, CVE-2023-21963

IAVA: 2021-A-0193-S, 2023-A-0043-S