Bug ID 1192937
Summary VUL-0: CVE-2021-21899: librecad: heap out-of-bounds write in dwgCompressor:copyCompBytes21
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.3
Hardware Other
URL https://smash.suse.de/issue/315445/
OS Other
Status NEW
Severity Major
Priority P5 - None
Component Security
Assignee jengelh@inai.de
Reporter thomas.leroy@suse.com
QA Contact security-team@suse.de
Found By Security Response Team
Blocker ---

CVE-2021-21899

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.

Upstream commit in librecad/libdxfrw:
https://github.com/LibreCAD/libdxfrw/commit/6417118874333309aa10c4e59f954c3905a6e8b5

The changes of the librecad/libdxfrw upstream commit has been included in a
libdxfrw update commit in a librecad/librecad:
https://github.com/LibreCAD/LibreCAD/commit/33b34d4a4acb7a681462626ef442013528c69faa

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-21899
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21899
https://talosintelligence.com/vulnerability_reports/TALOS-2021-1350


You are receiving this mail because: