PT-2021-5221 · Librecad+2 · Libdxfrw+2
Lilith >_>
·
Published
2021-08-04
·
Updated
2023-05-21
·
CVE-2021-21899
CVSS v2.0
9.3
High
| Vector | AV:N/AC:M/Au:N/C:C/I:C/A:C |
Name of the Vulnerable Software and Affected Versions
LibreCad libdxfrw version 2.2.0-rc2-19-ge02f3580
Description
A code execution issue exists in the
dwgCompressor::copyCompBytes21 functionality due to a heap buffer overflow. This can be triggered by a specially-crafted .dwg file, allowing an attacker to execute arbitrary code.Recommendations
For LibreCad libdxfrw version 2.2.0-rc2-19-ge02f3580, as a temporary workaround, consider disabling the
dwgCompressor::copyCompBytes21 function until a patch is available. Avoid using malicious .dwg files to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.Exploit
Buffer Overflow
Memory Corruption
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Linuxmint
Ubuntu
Libdxfrw