CVE-2021-21898 Memory corruption in LibreCAD
An attacker can execute arbitrary code by tricking a user into opening a specially crafted DWG file in LibreCAD.
- 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-21898?
CVE-2021-21898 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 19 Nov 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 dwgCompressor::decompress18() functionality of LibreCad libdxfrw 2.2.0-rc2-19-ge02f3580. A specially-crafted .dwg file can lead to an out-of-bounds write. An attacker can provide a malicious file to trigger this vulnerability.
Which versions are affected by CVE-2021-21898?
It affects 3 products.
Products include Debian Debian Linux, Fedoraproject Fedora, Librecad Libdxfrw.
How do I fix CVE-2021-21898?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2021-21898 being exploited?
There is no known exploitation of CVE-2021-21898 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2021-21898, GHSA-6rq2-x93p-cpmq, UBUNTU-CVE-2021-21898.