5.4medium
A flaw was found in the hivex library in versions before 1.3.20.
- Severity
- 5.4medium CVSS:3.1 by NVD
- Exploit likelihood
- 1.83% (higher than 79% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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
| Product or package | Versions | Reported by |
|---|---|---|
| hivex | hivex-1.3.20 | CVE List |
| redhat hivex | before 1.3.20 | NVD |
| redhat enterprise_linux | 6.0, 7.0, 8.0 | NVD |
| debian debian_linux | 9.0 | NVD |
| fedoraproject fedora | 34 | NVD |
All scores
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L |
| NVD | 5.8medium CVSS:2.0 | AV:N/AC:M/Au:N/C:P/I:N/A:P |
Classification
What each source says
CVE List
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.
NVD (es)
Se encontró un fallo en hivex library en versiones anteriores a 1.3.20. Debido a una falta de comprobación de límites dentro de la función hivex_open. Un atacante podría ingresar un archivo Windows Registry (hive) que causaría a hivex leer la memoria más allá de sus límites normales o causar que el programa se bloquee. La mayor amenaza de esta vulnerabilidad es la disponibilidad del sistema
References
| https://bugzilla.redhat.com/show_bug.cgi?id=1949687 | issue-tracking, patch, third-party-advisory | |
| https://lists.debian.org/debian-lts-announce/2021/05/msg00011.html | mailing-list, third-party-advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A5BNKNVYFL36P2GBEB5O36LHFRYU575H/ | vendor-advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BQXTEACRWYAZVNEOIWIYUFGG4GOXSQ22/ | vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-3504 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-3504 changed 2026-06-17 | Public domain |