CVE-2021-21899
Librecad Libdxfrw vulnerability
A code execution vulnerability exists in the dwgCompressor::copyCompBytes21 functionality of LibreCad libdxfrw 2.2.0-rc2-19-ge02f3580. A specially-crafted .dwg file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.
Affected products
Libdxfrw, Fedora, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Librecad Libdxfrw runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- lists.debian.org/debian-lts-announce/2021/12/msg00002.html · Third Party Advisory
- talosintelligence.com/vulnerability_reports/TALOS-2021-1350 · Exploit
- www.debian.org/security/2022/dsa-5077 · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/R
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z
- security.gentoo.org/glsa/202305-26
- nvd.nist.gov/vuln/detail/CVE-2021-21899
- cve.org/CVERecord?id=CVE-2021-21899
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.