Vulnerability · Published Nov 19, 2021 · Assigned by talos
CVE-2021-21898
High 8.8
In plain English
A high-severity memory corruption in LibreCAD. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.6% (higher than 85% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.0)8.8High
Exploit odds (30 days)2.6%top 14.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | librecad | 2.1.3-2 | DEBIAN-CVE-2021-21898 |
| Debian:13 | librecad | 2.1.3-2 | DEBIAN-CVE-2021-21898 |
| Debian:14 | librecad | 2.1.3-2 | DEBIAN-CVE-2021-21898 |
| Ubuntu:22.04:LTS | librecad | 2.1.3-3 | UBUNTU-CVE-2021-21898 |
Affected products (as reported)
Weakness: CWE-119 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- https://talosintelligence.com/vulnerability_reports/TALOS-2021-1349
- FEDORA-2021-fa9e3c23f2 vendor-advisory
- FEDORA-2021-67c946a9f3 vendor-advisory
- [debian-lts-announce] 20211203 [SECURITY] [DLA 2838-1] librecad security update mailing-list
- DSA-5077 vendor-advisory
- GLSA-202305-26 vendor-advisory