CVE-2021-21898

NameCVE-2021-21898
DescriptionA 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-2838-1
NVD severitymedium

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
librecad (PTS)stretch2.1.2-1+deb9u1vulnerable
stretch (security)2.1.2-1+deb9u2fixed
buster2.1.3-1.2vulnerable
bookworm, sid, bullseye2.1.3-1.3vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
librecadsourcestretch2.1.2-1+deb9u2DLA-2838-1
librecadsource(unstable)(unfixed)

Notes

https://talosintelligence.com/vulnerability_reports/TALOS-2021-1349
librecad bundles libdxfrw
https://github.com/LibreCAD/libdxfrw/commit/ba3fa95648bef948e008dfbdd31a4d21badd71f0

Search for package or bug name: Reporting problems