#VU56239 Stack-based buffer overflow in hivex


Published: 2021-09-01

Vulnerability identifier: #VU56239

Vulnerability risk: Low

CVSSv3.1: 2.9 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-3622

CWE-ID: CWE-121

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
hivex
Other software / Other software solutions

Vendor: libguestfs

Description

The vulnerability allows a local user to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary error when processing hive child objects. A local user can create a specially crafted Windows Registry (hive) file which would cause hivex to recursively call the _get_children() function, ultimately leading to a stack overflow and library crash.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

hivex: 1.3.0 - 1.3.20


External links
http://bugzilla.redhat.com/show_bug.cgi?id=1975489


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability