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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- Debian Security Tracker CVE-2021-21899 vendor-advisory
- [debian-lts-announce] 20211203 [SECURITY] [DLA 2838-1] librecad security update mailing-list third-party-advisory
- FEDORA-2021-fa9e3c23f2 vendor-advisory
- FEDORA-2021-67c946a9f3 vendor-advisory
- GLSA-202305-26 vendor-advisory
- talosintelligence.com exploit issue-tracking third-party-advisory
- DSA-5077 third-party-advisory vendor-advisory
- ubuntu.com issue-tracking
- github.com issue-tracking
- ubuntu.com vendor-advisory
- www.cve.org issue-tracking