Bug ID 1192936
Summary VUL-0: CVE-2021-21898: librecad: out-of-bounds write in dwgCompressor:decompress18()
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.3
Hardware Other
URL https://smash.suse.de/issue/315428/
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-21898

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.

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

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-21898
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21898
https://talosintelligence.com/vulnerability_reports/TALOS-2021-1349


You are receiving this mail because: