CVE-2021-3622 json
A flaw was found in the hivex library.
published 2021-12-23 4 y ago modified 2026-06-17 4 mo ago also EUVD-2021-26925
- cvss
- 4.3
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 5.0%
- EPSS 5.0% chance of exploitation in 30 days, percentile 92%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- redhat hivex 1.3.21
- hivex Debian 14, Debian 13, Debian 12 1.3.21-1
debian advisories DEBIAN-CVE-2021-3622
- SLOF RHEL 8 20210217-1.module+el8.6.0+14480+c0a3aa0f
- hivex RHEL 8 1.3.18-23.module+el8.6.0+14480+c0a3aa0f
- netcf RHEL 8 0.2.8-12.module+el8.6.0+14480+c0a3aa0f
- swtpm RHEL 8 0.7.0-1.20211109gitb79fd91.module+el8.6.0+14480+c0a3aa0f
- libnbd RHEL 8 1.6.0-5.module+el8.6.0+14480+c0a3aa0f
- nbdkit RHEL 8 1.24.0-4.module+el8.6.0+14480+c0a3aa0f
- libtpms RHEL 8 0.9.1-0.20211126git1ff6fe1f43.module+el8.6.0+14480+c0a3aa0f
- libvirt RHEL 8 8.0.0-5.module+el8.6.0+14480+c0a3aa0f
red hat advisories RHSA-2022:1759RHSA-2021:3338
- hivex SLE Module for Development Tools 15 SP3, SLE Module for Development Tools 15 SP2, SLE Module for Basesystem 15 SP3 +3 more 1.3.14-5.6.1
- hivex SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.3.10-5.7.1
suse advisories SUSE-SU-2021:3201-2SUSE-SU-2021:3210-1SUSE-SU-2021:3201-1
- hivex openSUSE Tumbleweed 1.3.21-2.2
- hivex openSUSE Leap 15.2 1.3.14-lp152.4.6.1
- hivex openSUSE Leap 15.3 1.3.14-5.6.1
opensuse advisories openSUSE-SU-2024:10845-1openSUSE-SU-2021:1319-1openSUSE-SU-2021:3201-1
- SLOF AlmaLinux 8 20210217-1.module_el8.6.0+2880+7d9e3703
- hivex AlmaLinux 8 1.3.18-23.module_el8.6.0+2880+7d9e3703
- netcf AlmaLinux 8 0.2.8-12.module_el8.6.0+2880+7d9e3703
- swtpm AlmaLinux 8 0.7.0-1.20211109gitb79fd91.module_el8.6.0+2880+7d9e3703
- libnbd AlmaLinux 8 1.6.0-5.module_el8.6.0+2880+7d9e3703
- nbdkit AlmaLinux 8 1.24.0-4.module_el8.6.0+2880+7d9e3703
- libtpms AlmaLinux 8 0.9.1-0.20211126git1ff6fe1f43.module_el8.6.0+2880+7d9e3703
- libvirt AlmaLinux 8 8.0.0-5.module_el8.6.0+2880+7d9e3703
almalinux advisories ALSA-2022:1759
- hivex Rocky Linux 8 1.3.18-23.module+el8.7.0+1084+97b81f61
- hivex Rocky Linux 8 1.3.18-23.module+el8.6.0+847+b490afdd
- netcf Rocky Linux 8 0.2.8-12.module+el8.7.0+1084+97b81f61
- netcf Rocky Linux 8 0.2.8-12.module+el8.4.0+534+4680a14e
- netcf Rocky Linux 8 0.2.8-12.module+el8.6.0+847+b490afdd
- swtpm Rocky Linux 8 0.7.0-1.20211109gitb79fd91.module+el8.6.0+847+b490afdd
- libnbd Rocky Linux 8 1.6.0-5.module+el8.7.0+1084+97b81f61
- libnbd Rocky Linux 8 1.6.0-5.module+el8.6.0+847+b490afdd
rocky linux advisories RLSA-2022:1759
- hivex CBL-Mariner 2.0 1.3.21-1
azure linux advisories AZL-7096
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
- hivex Arch Linux 1.3.21-1
arch linux advisories AVG-2248
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-3622 updated cvss 4.3
hivex: stack overflow due to recursive call of _get_children()
-
Red Hat Enterprise Linux 6 hivex, perl-hivex, ocaml-hivex, python-hivexaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 Advanced Virtualization hivex, perl-hivex, ruby-hivex, ocaml-hivex, python3-hivexaffected: workaround, no fix available, no fix planned “Will not fix”
-
Red Hat Enterprise Linux AppStream (v. 8) libnbd 1.6.0-5.module+el8.6.0+14480+c0a3aa0f, netcf 0.2.8-12.module+el8.6.0+14480+c0a3aa0f, hivex 1.3.18-23.module+el8.6.0+14480+c0a3aa0f, libvirt 8.0.0-5.module+el8.6.0+14480+c0a3aa0f, nbdfuse 1.6.0-5.module+el8.6.0+14480+c0a3aa0f, nbdkit 1.24.0-4.module+el8.6.0+14480+c0a3aa0f, +104 morefixed: vendor fix RHSA-2022:1759
-
Red Hat Enterprise Linux Client (v. 7) hivex 1.3.10-6.12.el7_9, perl-hivex 1.3.10-6.12.el7_9 Red Hat Enterprise Linux Client Optional (v. 7) ruby-hivex 1.3.10-6.12.el7_9, ocaml-hivex 1.3.10-6.12.el7_9, python-hivex 1.3.10-6.12.el7_9fixed: vendor fix RHSA-2021:3338
-
Red Hat Enterprise Linux CRB (v. 8) libnbd 1.6.0-5.module+el8.6.0+14480+c0a3aa0f, netcf 0.2.8-12.module+el8.6.0+14480+c0a3aa0f, hivex 1.3.18-23.module+el8.6.0+14480+c0a3aa0f, libvirt 8.0.0-5.module+el8.6.0+14480+c0a3aa0f, nbdfuse 1.6.0-5.module+el8.6.0+14480+c0a3aa0f, SLOF 20210217-1.module+el8.6.0+14480+c0a3aa0f, +38 morefixed: vendor fix RHSA-2022:1759
-
Red Hat Enterprise Linux Server (v. 7) hivex 1.3.10-6.12.el7_9, perl-hivex 1.3.10-6.12.el7_9 Red Hat Enterprise Linux Server Optional (v. 7) ruby-hivex 1.3.10-6.12.el7_9, ocaml-hivex 1.3.10-6.12.el7_9, python-hivex 1.3.10-6.12.el7_9 Red Hat Enterprise Linux Workstation (v. 7) hivex 1.3.10-6.12.el7_9, perl-hivex 1.3.10-6.12.el7_9 Red Hat Enterprise Linux Workstation Optional (v. 7) ruby-hivex 1.3.10-6.12.el7_9, ocaml-hivex 1.3.10-6.12.el7_9, python-hivex 1.3.10-6.12.el7_9fixed: vendor fix RHSA-2021:3338
-
Red Hat Enterprise Linux 9 hivex, hivex-libs, perl-hivex, ruby-hivex, ocaml-hivex, python3-hivexnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
4.95% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1975489 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Affected products
- n/a hivex
Classification
- Weakness
-
- CWE-400 Uncontrolled Resource Consumption
References
-
github.com
/libguestfs/hivex/commit/771728218dac2fbf6997a7e53225e75a4c6b7255
patch, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=1975489
exploit, issue-tracking, patch, vendor-advisory
-
listman.redhat.com
/archives/libguestfs/2021-August/msg00002.html
mailing-list, patch, vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/USD4OEV6L3RPHE32V2MJ4JPFBODINWSU/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/S35TVTAPHORSUIFYNFBHKLQRPVFUPXBE/
vendor-advisory
Sources
- CVE List CVE-2021-3622
- NVD CVE-2021-3622
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.