CVE-2021-21897 Memory corruption in Ribbonsoft
A heap buffer overflow in the dxflib library allows attackers to execute arbitrary code by providing a specially crafted DXF file.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2021-21897?
CVE-2021-21897 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 8 Sep 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
A code execution vulnerability exists in the DL_Dxf::handleLWPolylineData functionality of Ribbonsoft dxflib 3.17.0. A specially-crafted .dxf file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.
Which versions are affected by CVE-2021-21897?
It affects 4 products.
Linux distribution packages (1)
dxflib openSUSE:Tumbleweed | All versions | 3.26.4-1.1 |
Products include Debian Debian Linux, Fedoraproject Extra Packages for Enterprise Linux, Fedoraproject Fedora, Ribbonsoft Dxflib.
How do I fix CVE-2021-21897?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2021-21897 being exploited?
There is no known exploitation of CVE-2021-21897 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2021-21897, DLA-3046-1, GHSA-ghgg-v38h-7v7m, UBUNTU-CVE-2021-21897, openSUSE-SU-2024:10730-1.