CVE-2021-3622
Reported by redhat · Published December 23, 2021
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| hivex | Arch Linux | 1.3.21-1 |
| python-hivex | Amazon Linux | 1.3.10-6.12.amzn2 |
| ruby-hivex | Amazon Linux | 1.3.10-6.12.amzn2 |
| hivex | Amazon Linux | 1.3.10-6.12.amzn2 |
| perl-hivex | Amazon Linux | 1.3.10-6.12.amzn2 |
| hivex | redhat | 1.3.21 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | hivex | hivex-1.3.21 |
| arch | hivex | 0 |
| amazon:2 | python-hivex | 0 |
| amazon:2 | ruby-hivex | 0 |
| amazon:2 | hivex | 0 |
| amazon:2 | perl-hivex | 0 |
| n/a | hivex | 1.3.21 |
| amazon:2 | hivex-devel | 0 |
| amazon:2 | ocaml-hivex-devel | 0 |
| amazon:2 | ocaml-hivex | 0 |
Timeline
- Aug 30, 2021 CVE Published
- Dec 24, 2021 EPSS Score (30 in total, the first dated here)
- Aug 3, 2024 CVE Updated
- Apr 30, 2026 Security Advisory (5 in total, the first dated here)
- Jul 27, 2026 Coalition ESS Score
- Aug 6, 2026 Distribution Patch (2 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-3622
vulnetix vdb fixes CVE-2021-3622
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-3622/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- FEDORA-2021-372d83d54e vendor-advisoryx_refsource_FEDORA
- FEDORA-2021-775b170f95 vendor-advisoryx_refsource_FEDORA
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC