CVE-2021-3622: Medium severity redhat hivex vulnerability

Published Jun 23, 2021
·
Updated

A flaw was found in libhivex. A stack overflow occurs as the children of each listed node grows. This causes the getchildren function to continue calling until it eventually overflows the stack and causes the program to crash.

References:

https://github.com/libguestfs/hivex/commit/771728218dac2fbf6997a7e53225e75a4c6b7255 https://listman.redhat.com/archives/libguestfs/2021-August/msg00002.html

Other sources

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 getchildren() function, leading to a stack overflow. The highest threat from this vulnerability is to system availability.

MITRE

Affected Software

9 affected componentsFixes available
redhat/hivex<1.3.21
1.3.21
redhat hivex<1.3.21
redhat Enterprise Linux=6.0
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux Workstation=7.0
Fedoraproject Fedora=33
Fedoraproject Fedora=34

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/hivex to a version that resolves this vulnerability.

    Fixed in 1.3.21

Event History

Jun 23, 2021
Data Sourced
via Red Hat·07:19 PM
DescriptionSeverityAffected Software
Dec 23, 2021
CVE Published
via MITRE·08:31 PM
Data Sourced
via MITRE·08:31 PM
DescriptionWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-3622?

CVE-2021-3622 is a vulnerability in the hivex library that allows an attacker to input a specially crafted Windows Registry file, leading to a stack overflow.

2

What is the severity of CVE-2021-3622?

The severity of CVE-2021-3622 is medium with a CVSS score of 4.3.

3

Which software is affected by CVE-2021-3622?

Software affected by CVE-2021-3622 includes hivex version up to exclusive 1.3.21, Red Hat Enterprise Linux versions 6.0, 7.0, and 8.0, Red Hat Enterprise Linux Workstation version 7.0, and Fedora versions 33 and 34.

4

How can I fix CVE-2021-3622?

To fix CVE-2021-3622, update the hivex library to version 1.3.21 or apply the appropriate patches provided by Red Hat.

5

Where can I find more information about CVE-2021-3622?

You can find more information about CVE-2021-3622 in the references provided: [1] [2] [3].

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203