Skip to content

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....

HighCVSS 8.8 EPSS 2.8%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

Description

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.

Upgrade path

10 packages: 7 fixed.

PackageAffectedFixed inStatus
debian/librecad(Debian 12) < 2.1.3-2 2.1.3-2 Fixed
debian/librecad(Debian 13) < 2.1.3-2 2.1.3-2 Fixed
debian/librecad(Debian 14) < 2.1.3-2 2.1.3-2 Fixed
ubuntu/librecad(Ubuntu 18.04) < 2.1.2-1ubuntu0.1; = 2.1.2-1 2.1.2-1ubuntu0.1 Fixed
ubuntu/librecad(Ubuntu 20.04) < 2.1.3-1.2+deb10u1build0.20.04.1; = 2.1.3-1.2; = 2.1.3-1.2build1 2.1.3-1.2+deb10u1build0.20.04.1 Fixed
ubuntu/librecad(Ubuntu Pro 16.04) < 2.0.9-2ubuntu0.1~esm1; = 2.0.4-1build1; = 2.0.8-1; = 2.0.9-2 2.0.9-2ubuntu0.1~esm1 Fixed
ubuntu/librecad(Ubuntu Pro 18.04) < 2.1.2-1ubuntu0.1~esm1; = 2.1.2-1 2.1.2-1ubuntu0.1~esm1 Fixed
debian linux = 9.0; = 10.0; = 11.0 No fix listed Versions listed
fedoraproject fedora = 34; = 35 No fix listed Versions listed
librecad/libdxfrw = 2.2.0-rc2-19-ge02f3580 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/librecad(Debian:12) < 2.1.3-2 2.1.3-2
debian/librecad(Debian:13) < 2.1.3-2 2.1.3-2
debian/librecad(Debian:14) < 2.1.3-2 2.1.3-2
librecad/libdxfrw = 2.2.0-rc2-19-ge02f3580 No fix listed
fedoraproject fedora = 34 No fix listed
fedoraproject fedora = 35 No fix listed
debian linux = 9.0 No fix listed
debian linux = 10.0 No fix listed
debian linux = 11.0 No fix listed
ubuntu/librecad(Ubuntu:Pro:16.04) < 2.0.9-2ubuntu0.1~esm1 2.0.9-2ubuntu0.1~esm1
ubuntu/librecad(Ubuntu:Pro:16.04) = 2.0.4-1build1 No fix listed
ubuntu/librecad(Ubuntu:Pro:16.04) = 2.0.8-1 No fix listed
ubuntu/librecad(Ubuntu:Pro:16.04) = 2.0.9-2 No fix listed
ubuntu/librecad(Ubuntu:18.04) < 2.1.2-1ubuntu0.1 2.1.2-1ubuntu0.1
ubuntu/librecad(Ubuntu:18.04) = 2.1.2-1 No fix listed
ubuntu/librecad(Ubuntu:Pro:18.04) < 2.1.2-1ubuntu0.1~esm1 2.1.2-1ubuntu0.1~esm1
ubuntu/librecad(Ubuntu:Pro:18.04) = 2.1.2-1 No fix listed
ubuntu/librecad(Ubuntu:20.04) < 2.1.3-1.2+deb10u1build0.20.04.1 2.1.3-1.2+deb10u1build0.20.04.1
ubuntu/librecad(Ubuntu:20.04) = 2.1.3-1.2 No fix listed
ubuntu/librecad(Ubuntu:20.04) = 2.1.3-1.2build1 No fix listed

References