8.8high
A code execution vulnerability exists in the dwgCompressor::copyCompBytes21 functionality of LibreCad libdxfrw 2.2.0-rc2-19-ge02f3580.
- Severity
- 8.8high CVSS:3.0 by talos
- Exploit likelihood
- 2.76% (higher than 86% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- talos
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| LibreCAD | LibreCad libdxfrw 2.2.0-rc2-19-ge02f3580 | CVE List |
| librecad libdxfrw | 2.2.0-rc2-19-ge02f3580 | NVD |
| fedoraproject fedora | 34, 35 | NVD |
| debian debian_linux | 9.0, 10.0, 11.0 | NVD |
All scores
| talos | 8.8high CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 6.8medium CVSS:2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
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.
NVD (es)
Se presenta una vulnerabilidad de ejecución de código en la funcionalidad dwgCompressor::copyCompBytes21 de LibreCad libdxfrw versión 2.2.0-rc2-19-ge02f3580. Un archivo .dwg especialmente diseñado puede conllevar a un desbordamiento del búfer de la pila. Un atacante puede proporcionar un archivo malicioso para desencadenar esta vulnerabilidad
References
| https://talosintelligence.com/vulnerability_reports/TALOS-2021-1350 | exploit, third-party-advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RDI3HCTCACMIC7I4ILB3NRU6DCMADI5H/ | vendor-advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZTIAMP7QJDKV4ADDLR4GVVX2TXYLHVOZ/ | vendor-advisory | |
| https://lists.debian.org/debian-lts-announce/2021/12/msg00002.html | mailing-list, third-party-advisory | |
| https://www.debian.org/security/2022/dsa-5077 | third-party-advisory, vendor-advisory | |
| https://security.gentoo.org/glsa/202305-26 | vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-21899 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-21899 changed 2026-06-17 | Public domain |