Skip to content
OpenAdvisories
Unscored CVE-2021-3622 EUVD-2021-26925GHSA-rc2r-2mcx-6h65

A flaw was found in the hivex library. This flaw allows an attacker to input a specially crafted Windows Registry (hive) file, which would …

Published Dec 23, 2021 · Updated Aug 3, 2024 · Assigned by redhat

Description

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 products

VendorProductAffectedFixed
— hivex hivex-1.3.21 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 hivex 1.3.21-1 —
Debian 13 hivex 1.3.21-1 —
Debian 12 hivex 1.3.21-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 hivex No fix yet —
Ubuntu 26.04 LTS hivex No fix yet —
Ubuntu 25.10 hivex No fix yet —
Ubuntu 24.04 LTS hivex No fix yet —
Ubuntu 22.04 LTS hivex No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS hivex No fix yet —
Ubuntu 18.04 LTS hivex No fix yet —
Ubuntu Pro 16.04 LTS hivex No fix yet —
ReleasePackageFixed inAdvisory
RHEL 8 SLOF 20210217-1.module+el8.6.0+14480+c0a3aa0f RHSA-2022:1759
RHEL 8 hivex +6 1.3.18-23.module+el8.6.0+14480+c0a3aa0f RHSA-2022:1759
RHEL 8 libguestfs-winsupport 8.6-1.module+el8.6.0+14480+c0a3aa0f RHSA-2022:1759
RHEL 8 libiscsi +2 1.18.0-8.module+el8.6.0+14480+c0a3aa0f RHSA-2022:1759
RHEL 8 libnbd +6 1.6.0-5.module+el8.6.0+14480+c0a3aa0f RHSA-2022:1759
RHEL 8 libtpms +1 0.9.1-0.20211126git1ff6fe1f43.module+el8.6.0+14480+c0a3aa0f RHSA-2022:1759
RHEL 8 libvirt +27 8.0.0-5.module+el8.6.0+14480+c0a3aa0f RHSA-2022:1759
RHEL 8 libvirt-dbus 1.3.0-2.module+el8.6.0+14480+c0a3aa0f RHSA-2022:1759
RHEL 8 nbdkit +18 1.24.0-4.module+el8.6.0+14480+c0a3aa0f RHSA-2022:1759
RHEL 8 netcf +2 0.2.8-12.module+el8.6.0+14480+c0a3aa0f RHSA-2022:1759
RHEL 8 perl-Sys-Virt +2 8.0.0-1.module+el8.6.0+14480+c0a3aa0f RHSA-2022:1759
RHEL 8 qemu-img +14 15:6.2.0-11.module+el8.6.0+14707+5aa4b42d RHSA-2022:1759
RHEL 8 seabios +2 1.15.0-2.module+el8.6.0+14757+c25ee005 RHSA-2022:1759
RHEL 8 sgabios +1 1:0.20170427git-3.module+el8.6.0+14480+c0a3aa0f RHSA-2022:1759
RHEL 8 supermin +1 5.2.1-1.module+el8.6.0+14480+c0a3aa0f RHSA-2022:1759
RHEL 8 swtpm +4 0.7.0-1.20211109gitb79fd91.module+el8.6.0+14480+c0a3aa0f RHSA-2022:1759
RHEL 8 virt-dib +24 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f RHSA-2022:1759
RHEL 8 virt-v2v +3 1:1.42.0-18.module+el8.6.0+14480+c0a3aa0f RHSA-2022:1759
RHEL 7 hivex +6 1.3.10-6.12.el7_9 RHSA-2021:3338

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 SLOF 20210217-1.module_el8.6.0+2880+7d9e3703 ALSA-2022:1759
AlmaLinux 8 hivex +6 1.3.18-23.module_el8.6.0+2880+7d9e3703 ALSA-2022:1759
AlmaLinux 8 libguestfs-winsupport 8.6-1.module_el8.6.0+2880+7d9e3703 ALSA-2022:1759
AlmaLinux 8 libiscsi +2 1.18.0-8.module_el8.6.0+2880+7d9e3703 ALSA-2022:1759
AlmaLinux 8 libnbd +6 1.6.0-5.module_el8.6.0+2880+7d9e3703 ALSA-2022:1759
AlmaLinux 8 libtpms +1 0.9.1-0.20211126git1ff6fe1f43.module_el8.6.0+2880+7d9e3703 ALSA-2022:1759
AlmaLinux 8 libvirt +27 8.0.0-5.module_el8.6.0+2880+7d9e3703 ALSA-2022:1759
AlmaLinux 8 libvirt-dbus 1.3.0-2.module_el8.6.0+2880+7d9e3703 ALSA-2022:1759
AlmaLinux 8 nbdkit +18 1.24.0-4.module_el8.6.0+2880+7d9e3703 ALSA-2022:1759
AlmaLinux 8 netcf +2 0.2.8-12.module_el8.6.0+2880+7d9e3703 ALSA-2022:1759
AlmaLinux 8 perl-Sys-Virt +1 8.0.0-1.module_el8.6.0+2880+7d9e3703 ALSA-2022:1759
AlmaLinux 8 qemu-img +14 15:6.2.0-11.module_el8.6.0+2880+7d9e3703 ALSA-2022:1759
AlmaLinux 8 seabios +2 1.15.0-2.module_el8.6.0+2880+7d9e3703 ALSA-2022:1759
AlmaLinux 8 sgabios +1 1:0.20170427git-3.module_el8.6.0+2880+7d9e3703 ALSA-2022:1759
AlmaLinux 8 supermin +1 5.2.1-1.module_el8.6.0+2880+7d9e3703 ALSA-2022:1759
AlmaLinux 8 swtpm +4 0.7.0-1.20211109gitb79fd91.module_el8.6.0+2880+7d9e3703 ALSA-2022:1759
AlmaLinux 8 virt-dib +24 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma ALSA-2022:1759
AlmaLinux 8 virt-v2v +3 1:1.42.0-18.module_el8.6.0+2880+7d9e3703 ALSA-2022:1759

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 hivex 1.3.18-23.module+el8.6.0+847+b490afdd RLSA-2022:1759
Rocky Linux 8 libguestfs 1:1.44.0-5.module+el8.6.0+1052+ff61d164.rocky RLSA-2022:1759
Rocky Linux 8 libguestfs-winsupport 8.6-1.module+el8.6.0+847+b490afdd RLSA-2022:1759
Rocky Linux 8 libiscsi 1.18.0-8.module+el8.4.0+534+4680a14e RLSA-2022:1759
Rocky Linux 8 libnbd 1.6.0-5.module+el8.6.0+847+b490afdd RLSA-2022:1759
Rocky Linux 8 libtpms 0.9.1-0.20211126git1ff6fe1f43.module+el8.6.0+1052+ff61d164 RLSA-2022:1759
Rocky Linux 8 libvirt 8.0.0-5.module+el8.6.0+847+b490afdd RLSA-2022:1759
Rocky Linux 8 libvirt-dbus 1.3.0-2.module+el8.4.0+534+4680a14e RLSA-2022:1759
Rocky Linux 8 nbdkit 1.24.0-4.module+el8.6.0+847+b490afdd RLSA-2022:1759
Rocky Linux 8 netcf 0.2.8-12.module+el8.4.0+534+4680a14e RLSA-2022:1759
Rocky Linux 8 perl-Sys-Virt +1 8.0.0-1.module+el8.6.0+847+b490afdd RLSA-2022:1759
Rocky Linux 8 qemu-kvm 5:6.2.0-11.module+el8.6.0+1000+18e3b59f.5 RLSA-2022:1759
Rocky Linux 8 seabios 1.15.0-2.module+el8.6.0+1052+ff61d164 RLSA-2022:1759
Rocky Linux 8 sgabios 1:0.20170427git-3.module+el8.4.0+534+4680a14e RLSA-2022:1759
Rocky Linux 8 supermin 5.2.1-1.module+el8.6.0+1052+ff61d164 RLSA-2022:1759
Rocky Linux 8 swtpm 0.7.0-1.20211109gitb79fd91.module+el8.6.0+847+b490afdd RLSA-2022:1759
Rocky Linux 8 virt-v2v 1:1.42.0-18.module+el8.6.0+847+b490afdd RLSA-2022:1759
ReleasePackageFixed inAdvisory
SLES 15 SP3 hivex 1.3.14-5.6.1 SUSE-SU-2021:3201-1
SLES 15 SP2 hivex 1.3.14-5.6.1 SUSE-SU-2021:3201-1
SLES 12 SP5 hivex 1.3.10-5.7.1 SUSE-SU-2021:3210-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP5 hivex 1.3.10-5.7.1 SUSE-SU-2021:3210-1
SLE Micro 5.1 hivex 1.3.14-5.6.1 SUSE-SU-2021:3201-2
SLE Micro 5.0 hivex 1.3.14-5.6.1 SUSE-SU-2021:3201-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed hivex 1.3.21-2.2 openSUSE-SU-2024:10845-1
openSUSE Leap 15.3 hivex 1.3.14-5.6.1 openSUSE-SU-2021:3201-1
openSUSE Leap 15.2 hivex 1.3.14-lp152.4.6.1 openSUSE-SU-2021:1319-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 hivex +6 1.3.10-6.12.amzn2 ALAS2-2021-1717

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) hivex 1.3.21-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 hivex +6 1.3.18-23.module+el8.6.0+20659+3dcf7c70 ELSA-2022-1759
Oracle Linux 8 libguestfs-winsupport 8.6-1.module+el8.6.0+20659+3dcf7c70 ELSA-2022-1759
Oracle Linux 8 libiscsi +2 1.18.0-8.module+el8.6.0+20659+3dcf7c70 ELSA-2022-1759
Oracle Linux 8 libnbd +6 1.6.0-5.module+el8.6.0+20664+3dcf7c70 ELSA-2022-1759
Oracle Linux 8 libtpms +1 0.9.1-0.20211126git1ff6fe1f43.module+el8.6.0+20659+3dcf7c70 ELSA-2022-1759
Oracle Linux 8 libvirt +27 8.0.0-5.0.1.module+el8.6.0+20659+3dcf7c70 ELSA-2022-1759
Oracle Linux 8 libvirt-dbus 1.3.0-2.module+el8.6.0+20659+3dcf7c70 ELSA-2022-1759
Oracle Linux 8 nbdkit +18 1.24.0-4.module+el8.6.0+20659+3dcf7c70 ELSA-2022-1759
Oracle Linux 8 netcf +2 0.2.8-12.module+el8.6.0+20659+3dcf7c70 ELSA-2022-1759
Oracle Linux 8 perl-Sys-Virt +1 8.0.0-1.module+el8.6.0+20659+3dcf7c70 ELSA-2022-1759
Oracle Linux 8 qemu-img +14 15:6.2.0-11.module+el8.6.0+20659+3dcf7c70 ELSA-2022-1759
Oracle Linux 8 seabios +2 1.15.0-2.module+el8.6.0+20659+3dcf7c70 ELSA-2022-1759
Oracle Linux 8 sgabios +1 1:0.20170427git-3.module+el8.6.0+20659+3dcf7c70 ELSA-2022-1759
Oracle Linux 8 supermin +1 5.2.1-1.module+el8.6.0+20659+3dcf7c70 ELSA-2022-1759
Oracle Linux 8 swtpm +4 0.7.0-1.20211109gitb79fd91.module+el8.6.0+20659+3dcf7c70 ELSA-2022-1759
Oracle Linux 8 virt-dib +24 1:1.44.0-5.0.1.module+el8.6.0+20659+3dcf7c70 ELSA-2022-1759
Oracle Linux 8 virt-v2v +3 1:1.42.0-18.0.1.module+el8.6.0+20659+3dcf7c70 ELSA-2022-1759
Oracle Linux 7 hivex +6 1.3.10-6.12.el7_9 ELSA-2021-3338

Advisories 14

References