CVE-2021-3622
published 2021-12-23CVE-2021-3622: 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…
medium4.3CVSS 3.1
AVNACLPRNUIRSUCNINAL
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.
Affected
15 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | hivex | < hivex 1.3.21-1 (bookworm) | hivex 1.3.21-1 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| msrc | cbl2_hivex_1.3.21-1_on_cbl_mariner_2.0 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
| redhat | enterprise_linux | — | — |
| redhat | enterprise_linux | — | — |
| redhat | enterprise_linux | — | — |
| redhat | enterprise_linux_workstation | — | — |
| redhat | hivex | < 1.3.21 | 1.3.21 |
| redhat | hivex | — | — |
| redhat | hivex | >= 0 < 1.3.21-1 | 1.3.21-1 |
| redhat | hivex | >= 0 < 1.3.21-1 | 1.3.21-1 |
| redhat | hivex | >= 0 < 1.3.21-1 | 1.3.21-1 |
CVSS provenance
nvdv3.14.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
osv4.3MEDIUM
GHSA
GHSA-rc2r-2mcx-6h65: A flaw was found in the hivex library
ghsa_unreviewed·2021-12-24
CVE-2021-3622 [MEDIUM] CWE-400 GHSA-rc2r-2mcx-6h65: A flaw was found in the hivex library
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.
OSV
CVE-2021-3622: A flaw was found in the hivex library
osv·2021-12-23·CVSS 4.3
CVE-2021-3622 [MEDIUM] CVE-2021-3622: A flaw was found in the hivex library
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.
Microsoft
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 l
vendor_msrc·2021-12-14·CVSS 4.3
CVE-2021-3622 [MEDIUM] CWE-400 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 l
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.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this b
Red Hat
hivex: stack overflow due to recursive call of _get_children()
vendor_redhat·2021-08-02·CVSS 4.3
CVE-2021-3622 [MEDIUM] CWE-400 hivex: stack overflow due to recursive call of _get_children()
hivex: stack overflow due to recursive call of _get_children()
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.
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.
Statement: Any external program using the hivex library could be exposed to partial unavailability in case of a crash where a user can
Debian
CVE-2021-3622: hivex - A flaw was found in the hivex library. This flaw allows an attacker to input a s...
vendor_debian·2021·CVSS 4.3
CVE-2021-3622 [MEDIUM] CVE-2021-3622: hivex - A flaw was found in the hivex library. This flaw allows an attacker to input a s...
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.
Scope: local
bookworm: resolved (fixed in 1.3.21-1)
bullseye: open
forky: resolved (fixed in 1.3.21-1)
sid: resolved (fixed in 1.3.21-1)
trixie: resolved (fixed in 1.3.21-1)
No detection rules found.
No writeups or analysis indexed.
https://bugzilla.redhat.com/show_bug.cgi?id=1975489https://github.com/libguestfs/hivex/commit/771728218dac2fbf6997a7e53225e75a4c6b7255https://listman.redhat.com/archives/libguestfs/2021-August/msg00002.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S35TVTAPHORSUIFYNFBHKLQRPVFUPXBE/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/USD4OEV6L3RPHE32V2MJ4JPFBODINWSU/https://bugzilla.redhat.com/show_bug.cgi?id=1975489https://github.com/libguestfs/hivex/commit/771728218dac2fbf6997a7e53225e75a4c6b7255https://listman.redhat.com/archives/libguestfs/2021-August/msg00002.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S35TVTAPHORSUIFYNFBHKLQRPVFUPXBE/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/USD4OEV6L3RPHE32V2MJ4JPFBODINWSU/
2021-12-23
Published