Amazon Linux 2 : hivex (ALAS-2021-1717)

medium Nessus Plugin ID 154895

Synopsis

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

Description

The version of hivex installed on the remote host is prior to 1.3.10-6.12. It is, therefore, affected by a vulnerability as referenced in the ALAS2-2021-1717 advisory.

- A flaw was found in the hivex library. This flaw allows an attacker to input a specially crafted Windows Registry (hive) file, which would cause hivex to recursively call the _get_children() function, leading to a stack overflow. The highest threat from this vulnerability is to system availability. (CVE-2021-3622)

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 hivex' to update your system.

See Also

https://alas.aws.amazon.com/AL2/ALAS-2021-1717.html

https://access.redhat.com/security/cve/CVE-2021-3622

Plugin Details

Severity: Medium

ID: 154895

File Name: al2_ALAS-2021-1717.nasl

Version: 1.5

Type: local

Agent: unix

Published: 11/4/2021

Updated: 11/27/2023

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

Risk Information

VPR

Risk Factor: Low

Score: 2.2

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.4

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

CVSS Score Source: CVE-2021-3622

CVSS v3

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.9

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

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:hivex, p-cpe:/a:amazon:linux:hivex-debuginfo, p-cpe:/a:amazon:linux:hivex-devel, p-cpe:/a:amazon:linux:ocaml-hivex, p-cpe:/a:amazon:linux:ocaml-hivex-devel, p-cpe:/a:amazon:linux:perl-hivex, p-cpe:/a:amazon:linux:python-hivex, p-cpe:/a:amazon:linux:ruby-hivex, cpe:/o:amazon:linux:2

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: 10/28/2021

Vulnerability Publication Date: 8/31/2021

Reference Information

CVE: CVE-2021-3622

ALAS: 2021-1717