Amazon Linux 2 : mono (ALASMONO-2023-001)

critical Nessus Plugin ID 182059

Synopsis

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

Description

It is, therefore, affected by a vulnerability as referenced in the ALAS2MONO-2023-001 advisory.

SharpZipLib (or #ziplib) is a Zip, GZip, Tar and BZip2 library. Prior to version 1.3.3, a TAR file entry `../evil.txt` may be extracted in the parent directory of `destFolder`. This leads to arbitrary file write that may lead to code execution. The vulnerability was patched in version 1.3.3. (CVE-2021-32840)

Tenable has extracted the preceding description block directly from the tested product security advisory.

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

Solution

Run 'yum update mono' to update your system.

See Also

https://alas.aws.amazon.com/AL2/ALASMONO-2023-001.html

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

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

Plugin Details

Severity: Critical

ID: 182059

File Name: al2_ALASMONO-2023-001.nasl

Version: 1.2

Type: local

Agent: unix

Published: 9/27/2023

Updated: 12/11/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

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

CVSS Score Source: CVE-2021-32840

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:mono-data-oracle, p-cpe:/a:amazon:linux:mono-winfx, cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:mono-locale-extras, p-cpe:/a:amazon:linux:mono-web-devel, p-cpe:/a:amazon:linux:mono-reactive-winforms, p-cpe:/a:amazon:linux:mono-winforms, p-cpe:/a:amazon:linux:monodoc, p-cpe:/a:amazon:linux:mono-extras, p-cpe:/a:amazon:linux:mono-reactive-devel, p-cpe:/a:amazon:linux:mono-data, p-cpe:/a:amazon:linux:mono-reactive, p-cpe:/a:amazon:linux:mono-web, p-cpe:/a:amazon:linux:mono-devel, p-cpe:/a:amazon:linux:mono-wcf, p-cpe:/a:amazon:linux:mono-complete, p-cpe:/a:amazon:linux:mono-core, p-cpe:/a:amazon:linux:mono-debuginfo, p-cpe:/a:amazon:linux:mono-mvc, p-cpe:/a:amazon:linux:ibm-data-db2, p-cpe:/a:amazon:linux:mono-mvc-devel, p-cpe:/a:amazon:linux:monodoc-devel, p-cpe:/a:amazon:linux:mono-data-sqlite

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: 8/4/2023

Vulnerability Publication Date: 1/26/2022

Reference Information

CVE: CVE-2021-32840