First published: Wed Apr 14 2021(Updated: )
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.
Credit: secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
Redhat Hivex | <1.3.20 | |
Redhat Enterprise Linux | =6.0 | |
Redhat Enterprise Linux | =7.0 | |
Redhat Enterprise Linux | =8.0 | |
Redhat Enterprise Linux | =8.0 | |
Debian Debian Linux | =9.0 | |
Fedoraproject Fedora | =34 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-3504 is a vulnerability in the hivex library before version 1.3.20 that allows an attacker to read memory beyond its normal bounds or cause the program to crash.
CVE-2021-3504 affects Redhat Enterprise Linux 7.0 and can be fixed by updating the hivex package to version 1.3.20 or later.
The severity of CVE-2021-3504 is medium with a CVSS score of 5.4.
To fix CVE-2021-3504, update the hivex package to version 1.3.20 or later.
You can find more information about CVE-2021-3504 in the references: [GitHub](https://github.com/libguestfs/hivex/commit/8f1935733b10d974a1a4176d38dd151ed98cf381), [Red Hat Bugzilla](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=1956204), [Red Hat Security Advisory](https://access.redhat.com/errata/RHSA-2021:2318).