CVSS 3.1
5.4 mediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:LMedium (5.4). EPSS 1.8% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:LExplain CVE-2021-3504 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-3504?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-3504?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-3504 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| redhat:hivex | before 1.3.20 |
| redhat:enterprise_linux | 6.0 |
| redhat:enterprise_linux | 7.0 |
| redhat:enterprise_linux | 8.0 |
| debian:debian_linux | 9.0 |
| fedoraproject:fedora | 34 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 9 | hivex | 1.3.13-2+deb9u1 | DLA-2656-1 |
| Debian | 10 | hivex | 1.3.18-1+deb10u1 | DSA-4913-1 |
| Debian | 12, 13, 14 | hivex | 1.3.20-1 | DEBIAN-CVE-2021-3504 |
| Ubuntu | 18.04:LTS | hivex | 1.3.15-1ubuntu0.1 | UBUNTU-CVE-2021-3504 USN-5148-1 |
| Ubuntu | 20.04:LTS | hivex | 1.3.18-2ubuntu0.1 | UBUNTU-CVE-2021-3504 USN-5148-1 |
| Ubuntu | 22.04:LTS, 24.04:LTS, 25.10 and 2 more | hivex | no fix listed | UBUNTU-CVE-2021-3504 |
| Ubuntu | Pro:14.04:LTS | hivex | 1.3.9-2ubuntu0.1~esm1 | UBUNTU-CVE-2021-3504 USN-5148-2 |
| Ubuntu | Pro:16.04:LTS | hivex | 1.3.13-1ubuntu0.1~esm1 | UBUNTU-CVE-2021-3504 USN-5148-2 |
| Red Hat | enterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstation | hivex, perl-hivex, ruby-hivex and 5 more | 0:1.3.10-6.11.el7_9 | RHSA-2021:2318 |
| Red Hat | enterprise_linux:8::appstream | hivex, perl-hivex, ruby-hivex and 7 more | 0:1.3.18-21.module+el8.4.0+10770+19c037f9 | RHSA-2021:3061 |
| Red Hat | enterprise_linux:8::appstream | libnbd, nbdfuse, libnbd-devel and 5 more | 0:1.2.2-1.module+el8.3.0+7353+9de0a3cc | RHSA-2021:3061 |
| Red Hat | enterprise_linux:8::appstream | libvirt, libvirt-nss, libvirt-docs and 49 more | 0:6.0.0-35.1.module+el8.4.0+11273+64eb94ef | RHSA-2021:3061 |
| Red Hat | enterprise_linux:8::appstream | nbdkit, nbdkit-devel, nbdkit-server and 24 more | 0:1.16.2-4.module+el8.3.0+6922+fd575af8 | RHSA-2021:3061 |
| Red Hat | enterprise_linux:8::appstream | perl-Sys-Virt, libvirt-python, python3-libvirt and 4 more | 0:6.0.0-1.module+el8.3.0+6423+e4cb6418 | RHSA-2021:3061 |
| Red Hat | enterprise_linux:8::appstream | qemu-img, qemu-kvm, qemu-kvm-core and 18 more | 15:4.2.0-48.module+el8.4.0+11909+3300d70f.3 | RHSA-2021:3061 |
| Red Hat | enterprise_linux:8::appstream | seabios, seabios-bin, seavgabios-bin | 0:1.13.0-2.module+el8.3.0+7353+9de0a3cc | RHSA-2021:3061 |
| Red Hat | enterprise_linux:8::appstream | sgabios, sgabios-bin | 1:0.20170427git-3.module+el8.1.0+4066+0f1aadab | RHSA-2021:3061 |
| Red Hat | enterprise_linux:8::appstream | supermin, supermin-devel, supermin-debuginfo and 1 more | 0:5.1.19-10.module+el8.3.0+6423+e4cb6418 | RHSA-2021:3061 |
| Red Hat | enterprise_linux:8::appstream | virt-dib, virt-v2v, libguestfs and 33 more | 1:1.40.2-27.module+el8.4.0+9282+0bdec052 | RHSA-2021:3061 |
| Red Hat | enterprise_linux:8::appstream, enterprise_linux:8::crb | SLOF | 0:20191022-3.git899d9883.module+el8.3.0+6423+e4cb6418 | RHSA-2021:3061 |
| 12 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Linux Enterprise Micro 5.0, Linux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Basesystem 15 SP3 and 2 more | hivex | 1.3.14-5.3.1 | SUSE-SU-2021:1761-1 |
| SUSE | Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5 | hivex | 1.3.10-5.3.1 | SUSE-SU-2021:1760-1 |
| openSUSE | Leap 15.2 | hivex | 1.3.14-lp152.4.3.1 | openSUSE-SU-2021:0806-1 |
| openSUSE | Leap 15.3 | hivex | 1.3.14-5.3.1 | openSUSE-SU-2021:1761-1 |
| openSUSE | Tumbleweed | hivex | 1.3.21-2.2 | openSUSE-SU-2024:10845-1 |
| AlmaLinux | 8 | libguestfs-winsupport | 8.2-1.module_el8.5.0+2608+72063365 | ALSA-2021:3061 |
| AlmaLinux | 8 | libiscsi, libiscsi-devel, libiscsi-utils | 1.18.0-8.module_el8.5.0+2608+72063365 | ALSA-2021:3061 |
| AlmaLinux | 8 | libiscsi, libiscsi-devel, libiscsi-utils | 1.18.0-8.module_el8.6.0+2880+7d9e3703 | ALSA-2021:3061 |
| AlmaLinux | 8 | libnbd, nbdfuse, libnbd-devel and 1 more | 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 | libvirt-dbus | 1.3.0-2.module_el8.6.0+2880+7d9e3703 | ALSA-2021:3061 |
| AlmaLinux | 8 | nbdkit, nbdkit-devel, nbdkit-server and 11 more | 1.16.2-4.module_el8.5.0+2608+72063365 | ALSA-2021:3061 |
| AlmaLinux | 8 | netcf, netcf-libs, netcf-devel | 0.2.8-12.module_el8.5.0+2608+72063365 | ALSA-2021:3061 |
| AlmaLinux | 8 | netcf, netcf-libs, netcf-devel | 0.2.8-12.module_el8.6.0+2880+7d9e3703 | ALSA-2021:3061 |
| AlmaLinux | 8 | perl-Sys-Virt, python3-libvirt | 6.0.0-1.module_el8.5.0+2608+72063365 | ALSA-2021:3061 |
| AlmaLinux | 8 | seabios, seabios-bin, seavgabios-bin | 1.13.0-2.module_el8.5.0+2608+72063365 | ALSA-2021:3061 |
| AlmaLinux | 8 | sgabios, sgabios-bin | 1:0.20170427git-3.module_el8.5.0+2608+72063365 | ALSA-2021:3061 |
| 2 more for AlmaLinux in the JSON. | ||||
| Rocky Linux | 8 | hivex | 0:1.3.18-21.module+el8.4.0+642+7e26f5e1 | RLSA-2021:3061 |
| Rocky Linux | 8 | hivex | 0:1.3.18-21.module+el8.5.0+670+c4aa478c | 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 | 0:8.2-1.module+el8.4.0+534+4680a14e | RLSA-2021:3061 |
| Rocky Linux | 8 | libiscsi | 0:1.18.0-8.module+el8.4.0+534+4680a14e | RLSA-2021:3061 |
| Rocky Linux | 8 | libiscsi | 0:1.18.0-8.module+el8.6.0+847+b490afdd | RLSA-2021:3061 |
| Rocky Linux | 8 | libiscsi | 0:1.18.0-8.module+el8.7.0+1084+97b81f61 | RLSA-2021:3061 |
| Rocky Linux | 8 | libnbd | 0:1.2.2-1.module+el8.4.0+534+4680a14e | RLSA-2021:3061 |
| Rocky Linux | 8 | libvirt | 0:6.0.0-35.1.module+el8.4.0+642+7e26f5e1 | RLSA-2021:3061 |
| Rocky Linux | 8 | libvirt-dbus | 0:1.3.0-2.module+el8.4.0+534+4680a14e | RLSA-2021:3061 |
| Rocky Linux | 8 | libvirt-dbus | 0:1.3.0-2.module+el8.6.0+847+b490afdd | RLSA-2021:3061 |
| Rocky Linux | 8 | libvirt-dbus | 0:1.3.0-2.module+el8.7.0+1084+97b81f61 | RLSA-2021:3061 |
| 11 more for Rocky Linux in the JSON. | ||||
| Alpine | v3.13 | hivex | 1.3.19-r1 | ALPINE-CVE-2021-3504 |
| Alpine | v3.14, v3.15, v3.16 and 8 more | hivex | 1.3.19-r2 | ALPINE-CVE-2021-3504 |
| Azure Linux | 2 | hivex | 1.3.21-1 | AZL-6472 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
The hivex utility being non-privileged, does not handle any confidential information. Any external program using the hivex library could be exposed to partial unavailability in case of a crash where a user can always retry the operation. As for libguestfs, a crash in hivex would not result in libguestfs crashing.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | hivex-0:1.3.10-6.11.el7_9 | Fixed 2021-06-08 | RHSA-2021:2318 |
| Red Hat Enterprise Linux 8 | virt-devel:rhel-8040020210721215855.522a0ee4 | Fixed 2021-08-10 | RHSA-2021:3061 |
| Red Hat Enterprise Linux 8 | virt:rhel-8040020210721215855.522a0ee4 | Fixed 2021-08-10 | RHSA-2021:3061 |
| Red Hat Enterprise Linux 6 | hivex | Out of support scope | |
| Red Hat Enterprise Linux 8 Advanced Virtualization | virt:8.3/hivex | Affected | |
| Red Hat Enterprise Linux 9 | hivex | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-3504.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.