CVE-2021-21900

NameCVE-2021-21900
DescriptionA code execution vulnerability exists in the dxfRW::processLType() functionality of LibreCad libdxfrw 2.2.0-rc2-19-ge02f3580. A specially-crafted .dxf file can lead to a use-after-free vulnerability. 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-1351
librecad bundles libdxfrw
https://github.com/LibreCAD/libdxfrw/commit/fcd977cc7f8f6cc7f012e5b72d33cf7d77b3fa69

Search for package or bug name: Reporting problems