Ubuntu 18.04 LTS / 20.04 LTS : hivex vulnerability (USN-5148-1)

medium Nessus Plugin ID 155375

Synopsis

The remote Ubuntu host is missing a security update.

Description

The remote Ubuntu 18.04 LTS / 20.04 LTS / 21.04 host has packages installed that are affected by a vulnerability as referenced in the USN-5148-1 advisory.

- A flaw was found in the hivex library in versions before 1.3.20. It is caused due to a lack of bounds check within the hivex_open function. An attacker could input a specially crafted Windows Registry (hive) file which would cause hivex to read memory beyond its normal bounds or cause the program to crash. The highest threat from this vulnerability is to system availability. (CVE-2021-3504)

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-5148-1

Plugin Details

Severity: Medium

ID: 155375

File Name: ubuntu_USN-5148-1.nasl

Version: 1.5

Type: local

Agent: unix

Published: 11/16/2021

Updated: 10/16/2023

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

Risk Information

VPR

Risk Factor: Low

Score: 2.5

CVSS v2

Risk Factor: Medium

Base Score: 5.8

Temporal Score: 4.3

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

CVSS Score Source: CVE-2021-3504

CVSS v3

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4.7

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

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:libhivex-bin, p-cpe:/a:canonical:ubuntu_linux:libhivex-dev, p-cpe:/a:canonical:ubuntu_linux:libhivex-ocaml, p-cpe:/a:canonical:ubuntu_linux:libhivex-ocaml-dev, p-cpe:/a:canonical:ubuntu_linux:libhivex0, p-cpe:/a:canonical:ubuntu_linux:libwin-hivex-perl, p-cpe:/a:canonical:ubuntu_linux:python-hivex, p-cpe:/a:canonical:ubuntu_linux:python3-hivex, p-cpe:/a:canonical:ubuntu_linux:ruby-hivex

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

Exploit Ease: No known exploits are available

Patch Publication Date: 11/16/2021

Vulnerability Publication Date: 5/11/2021

Reference Information

CVE: CVE-2021-3504

USN: 5148-1