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

medium Nessus Plugin ID 154895


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


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.


Run 'yum update hivex' to update your system.

See Also

Plugin Details

Severity: Medium

ID: 154895

File Name: al2_ALAS-2021-1717.nasl

Version: 1.4

Type: local

Agent: unix

Published: 11/4/2021

Updated: 5/16/2022

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

Risk Information


Risk Factor: Low

Score: 2.2


Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

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

CVSS Score Source: CVE-2021-3622


Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.8

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:U/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 Ease: No known exploits are available

Patch Publication Date: 10/28/2021

Vulnerability Publication Date: 8/31/2021

Reference Information

CVE: CVE-2021-3622

ALAS: 2021-1717