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

VectorAV: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

Weakness Enumeration

Related Identifiers

BDU:2021-06023
CVE-2021-21899
DLA-2838-1
DSA-5077-1
MGASA-2022-0151
OPENSUSE-SU-2022:0067-1
OPENSUSE-SU-2024:11697-1
USN-5957-1

Affected Products

Linuxmint
Ubuntu
Libdxfrw