Name | CVE-2021-21898 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more) |
References | DLA-2838-1, DSA-5077-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
librecad (PTS) | stretch | 2.1.2-1+deb9u1 | vulnerable |
stretch (security) | 2.1.2-1+deb9u3 | fixed | |
buster | 2.1.3-1.2 | vulnerable | |
buster (security) | 2.1.3-1.2+deb10u1 | fixed | |
bullseye (security), bullseye | 2.1.3-1.3+deb11u1 | fixed | |
bookworm, sid | 2.1.3-3 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
librecad | source | stretch | 2.1.2-1+deb9u2 | DLA-2838-1 | ||
librecad | source | buster | 2.1.3-1.2+deb10u1 | DSA-5077-1 | ||
librecad | source | bullseye | 2.1.3-1.3+deb11u1 | DSA-5077-1 | ||
librecad | source | (unstable) | 2.1.3-2 |
https://talosintelligence.com/vulnerability_reports/TALOS-2021-1349
librecad bundles libdxfrw
https://github.com/LibreCAD/libdxfrw/commit/ba3fa95648bef948e008dfbdd31a4d21badd71f0