CVE-2021-21898
High
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.
SeverityHigh
CVSS8.8
Exploit probability—
Product
Librecad Libdxfrw
PublishedNov 19, 2021
First seenNov 19, 2021
Weakness typeCWE-119Memory buffer bounds error
How to fix
Vendor advisories
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RDI3HCTCACMIC7I4ILB3NRU6DCMADI5H/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZTIAMP7QJDKV4ADDLR4GVVX2TXYLHVOZ/
- debian.org/security/2022/dsa-5077
- security.gentoo.org/glsa/202305-26
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| librecad libdxfrw | 2.2.0-rc2-19-ge02f3580 | — |
| debian debian_linux | 9.0, 10.0, 11.0 | — |
| fedoraproject fedora | 34, 35 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.