CVE & CISA-KEV Catalog

CVE-2021-41253

MEDIUMEPSS 76th pctl
5.9
CVSS v3
NVD

Description

Zydis is an x86/x86-64 disassembler library. Users of Zydis versions v3.2.0 and older that use the string functions provided in `zycore` in order to append untrusted user data to the formatter buffer within their custom formatter hooks can run into heap buffer overflows. Older versions of Zydis failed to properly initialize the string object within the formatter buffer, forgetting to initialize a few fields, leaving their value to chance. This could then in turn cause zycore functions like `ZyanStringAppend` to make incorrect calculations for the new target size, resulting in heap memory corruption. This does not affect the regular uncustomized Zydis formatter, because Zydis internally doesn't use the string functions in zycore that act upon these fields. However, because the zycore string functions are the intended way to work with the formatter buffer for users of the library that wish to extend the formatter, we still consider this to be a vulnerability in Zydis. This bug is patched starting in version 3.2.1. As a workaround, users may refrain from using zycore string functions in their formatter hooks until updating to a patched version.

How to fix

Remediation Available
zydisDebian
Fixed in:3.2.1-1CVE-2021-41253
Fixed in:3.2.1-1CVE-2021-41253
Fixed in:3.2.1-1CVE-2021-41253

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

1.80%probability of exploitation in 30 days
76thpercentile

Elevated risk: more likely to be exploited than 76% of all known CVEs.

References

Exploit1
Third-Party Advisory1
Embed a live status badge for CVE-2021-41253
CVE-2021-41253 severity badge

Markdown

[![CVE-2021-41253](https://tridentstack.com/cve/badge/CVE-2021-41253.svg)](https://tridentstack.com/cve/CVE-2021-41253)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-41253"><img src="https://tridentstack.com/cve/badge/CVE-2021-41253.svg" alt="CVE-2021-41253"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.