Skip to content
OpenAdvisories
Unscored CVE-2021-3504 EUVD-2021-26823GHSA-5vp3-c6x6-5464

A flaw was found in the hivex library in versions before 1.3.20. It is caused due to a lack of bounds check within the hivex_open function.…

Published May 11, 2021 · Updated Aug 3, 2024 · Assigned by redhat

Description

A flaw was found in the hivex library in versions before 1.3.20. It is caused due to a lack of bounds check within the hivex_open function. An attacker could input a specially crafted Windows Registry (hive) file which would cause hivex to read memory beyond its normal bounds or cause the program to crash. The highest threat from this vulnerability is to system availability.

Affected products

VendorProductAffectedFixed
— hivex hivex-1.3.20 —

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.20-1 —
Debian 13 hivex 1.3.20-1 —
Debian 12 hivex 1.3.20-1 —
Debian 10 hivex 1.3.18-1+deb10u1 DSA-4913-1
Debian 9 hivex 1.3.13-2+deb9u1 DLA-2656-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 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS hivex 1.3.18-2ubuntu0.1 USN-5148-1
Ubuntu 18.04 LTS hivex 1.3.15-1ubuntu0.1 USN-5148-1
Ubuntu Pro 16.04 LTS hivex 1.3.13-1ubuntu0.1~esm1 USN-5148-2
Ubuntu Pro 14.04 LTS hivex 1.3.9-2ubuntu0.1~esm1 USN-5148-2
ReleasePackageFixed inAdvisory
RHEL 8 SLOF 20191022-3.git899d9883.module+el8.3.0+6423+e4cb6418 RHSA-2021:3061
RHEL 8 hivex +6 1.3.18-21.module+el8.4.0+10770+19c037f9 RHSA-2021:3061
RHEL 8 libguestfs-winsupport 8.2-1.module+el8.3.0+6423+e4cb6418 RHSA-2021:3061
RHEL 8 libiscsi +2 1.18.0-8.module+el8.1.0+4066+0f1aadab RHSA-2021:3061
RHEL 8 libnbd +5 1.2.2-1.module+el8.3.0+7353+9de0a3cc RHSA-2021:3061
RHEL 8 libvirt +28 6.0.0-35.1.module+el8.4.0+11273+64eb94ef RHSA-2021:3061
RHEL 8 libvirt-dbus 1.3.0-2.module+el8.3.0+6423+e4cb6418 RHSA-2021:3061
RHEL 8 nbdkit +13 1.16.2-4.module+el8.3.0+6922+fd575af8 RHSA-2021:3061
RHEL 8 netcf +2 0.2.8-12.module+el8.1.0+4066+0f1aadab RHSA-2021:3061
RHEL 8 perl-Sys-Virt +2 6.0.0-1.module+el8.3.0+6423+e4cb6418 RHSA-2021:3061
RHEL 8 qemu-img +10 15:4.2.0-48.module+el8.4.0+11909+3300d70f.3 RHSA-2021:3061
RHEL 8 seabios +2 1.13.0-2.module+el8.3.0+7353+9de0a3cc RHSA-2021:3061
RHEL 8 sgabios +1 1:0.20170427git-3.module+el8.1.0+4066+0f1aadab RHSA-2021:3061
RHEL 8 supermin +1 5.1.19-10.module+el8.3.0+6423+e4cb6418 RHSA-2021:3061
RHEL 8 virt-dib +25 1:1.40.2-27.module+el8.4.0+9282+0bdec052 RHSA-2021:3061
RHEL 7 hivex +6 1.3.10-6.11.el7_9 RHSA-2021:2318

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 libguestfs-winsupport 8.2-1.module_el8.5.0+2608+72063365 ALSA-2021:3061
AlmaLinux 8 libiscsi +2 1.18.0-8.module_el8.5.0+2608+72063365 ALSA-2021:3061
AlmaLinux 8 libnbd +3 1.2.2-1.module_el8.5.0+2608+72063365 ALSA-2021:3061
AlmaLinux 8 libvirt-dbus 1.3.0-2.module_el8.5.0+2608+72063365 ALSA-2021:3061
AlmaLinux 8 nbdkit +13 1.16.2-4.module_el8.5.0+2608+72063365 ALSA-2021:3061
AlmaLinux 8 netcf +2 0.2.8-12.module_el8.5.0+2608+72063365 ALSA-2021:3061
AlmaLinux 8 perl-Sys-Virt +1 6.0.0-1.module_el8.5.0+2608+72063365 ALSA-2021:3061
AlmaLinux 8 seabios +2 1.13.0-2.module_el8.5.0+2608+72063365 ALSA-2021:3061
AlmaLinux 8 sgabios +1 1:0.20170427git-3.module_el8.5.0+2608+72063365 ALSA-2021:3061
AlmaLinux 8 supermin +1 5.1.19-10.module_el8.5.0+2608+72063365 ALSA-2021:3061

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 hivex 1.3.18-21.module+el8.4.0+642+7e26f5e1 RLSA-2021:3061
Rocky Linux 8 libguestfs 1:1.40.2-27.module+el8.4.0+534+4680a14e RLSA-2021:3061
Rocky Linux 8 libguestfs-winsupport 8.2-1.module+el8.4.0+534+4680a14e RLSA-2021:3061
Rocky Linux 8 libiscsi 1.18.0-8.module+el8.4.0+534+4680a14e RLSA-2021:3061
Rocky Linux 8 libnbd 1.2.2-1.module+el8.4.0+534+4680a14e RLSA-2021:3061
Rocky Linux 8 libvirt 6.0.0-35.1.module+el8.4.0+642+7e26f5e1 RLSA-2021:3061
Rocky Linux 8 libvirt-dbus 1.3.0-2.module+el8.4.0+534+4680a14e RLSA-2021:3061
Rocky Linux 8 nbdkit 1.16.2-4.module+el8.4.0+534+4680a14e RLSA-2021:3061
Rocky Linux 8 netcf 0.2.8-12.module+el8.4.0+534+4680a14e RLSA-2021:3061
Rocky Linux 8 perl-Sys-Virt +1 6.0.0-1.module+el8.4.0+534+4680a14e RLSA-2021:3061
Rocky Linux 8 qemu-kvm 5:4.2.0-48.module+el8.4.0+534+4680a14e RLSA-2021:3061
Rocky Linux 8 seabios 1.13.0-2.module+el8.4.0+534+4680a14e RLSA-2021:3061
Rocky Linux 8 sgabios 1:0.20170427git-3.module+el8.4.0+534+4680a14e RLSA-2021:3061
Rocky Linux 8 supermin 5.1.19-10.module+el8.4.0+534+4680a14e RLSA-2021:3061
ReleasePackageFixed inAdvisory
SLES 15 SP3 hivex 1.3.14-5.3.1 SUSE-SU-2021:1761-1
SLES 15 SP2 hivex 1.3.14-5.3.1 SUSE-SU-2021:1761-1
SLES 12 SP5 hivex 1.3.10-5.3.1 SUSE-SU-2021:1760-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP5 hivex 1.3.10-5.3.1 SUSE-SU-2021:1760-1
SLE Micro 5.0 hivex 1.3.14-5.3.1 SUSE-SU-2021:1761-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.3.1 openSUSE-SU-2021:1761-1
openSUSE Leap 15.2 hivex 1.3.14-lp152.4.3.1 openSUSE-SU-2021:0806-1
ReleasePackageFixed inAdvisory
Alpine v3.24 hivex 1.3.19-r2 —
Alpine v3.23 hivex 1.3.19-r2 —
Alpine v3.22 hivex 1.3.19-r2 —
Alpine v3.21 hivex 1.3.19-r2 —
Alpine v3.20 hivex 1.3.19-r2 —
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 hivex 1.3.19-r2 —
Alpine v3.18 hivex 1.3.19-r2 —
Alpine v3.17 hivex 1.3.19-r2 —
Alpine v3.16 hivex 1.3.19-r2 —
Alpine v3.15 hivex 1.3.19-r2 —
Alpine v3.14 hivex 1.3.19-r2 —
Alpine v3.13 hivex 1.3.19-r1 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 hivex +6 1.3.10-6.11.amzn2 ALAS2-2021-1658

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-21.module+el8.4.0+20285+126f2e4b ELSA-2021-3061
Oracle Linux 8 libguestfs-winsupport 8.2-1.module+el8.3.0+7860+a7792d29 ELSA-2021-3061
Oracle Linux 8 libiscsi +2 1.18.0-8.module+el8.3.0+7860+a7792d29 ELSA-2021-3061
Oracle Linux 8 libnbd +5 1.2.2-1.module+el8.3.0+7860+a7792d29 ELSA-2021-3061
Oracle Linux 8 libvirt +28 6.0.0-35.1.0.1.module+el8.4.0+20285+126f2e4b ELSA-2021-3061
Oracle Linux 8 libvirt-dbus 1.3.0-2.module+el8.3.0+7860+a7792d29 ELSA-2021-3061
Oracle Linux 8 nbdkit +13 1.16.2-4.0.1.module+el8.3.0+7860+a7792d29 ELSA-2021-3061
Oracle Linux 8 netcf +2 0.2.8-12.module+el8.3.0+7860+a7792d29 ELSA-2021-3061
Oracle Linux 8 perl-Sys-Virt +1 6.0.0-1.module+el8.3.0+7860+a7792d29 ELSA-2021-3061
Oracle Linux 8 qemu-img +10 15:4.2.0-48.module+el8.4.0+20285+126f2e4b.3 ELSA-2021-3061
Oracle Linux 8 seabios +2 1.13.0-2.module+el8.3.0+7860+a7792d29 ELSA-2021-3061
Oracle Linux 8 sgabios +1 1:0.20170427git-3.module+el8.3.0+7860+a7792d29 ELSA-2021-3061
Oracle Linux 8 supermin +1 5.1.19-10.module+el8.3.0+7860+a7792d29 ELSA-2021-3061
Oracle Linux 8 virt-dib +25 1:1.40.2-27.0.1.module+el8.4.0+20093+03a97712 ELSA-2021-3061
Oracle Linux 7 hivex +6 1.3.10-6.11.el7_9 ELSA-2021-2318

Advisories 16

References