CVE-2021-45342 json
A buffer overflow vulnerability in CDataList of the jwwlib component of LibreCAD 2.2.0-rc3 and older allows an attacker to achieve Remote C…
published 4y ago modified 4mo ago also EUVD-2021-32115
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.9%
- EPSS 1.9% chance of exploitation in 30 days, percentile 80%
- public exploits
- 0
- none known
Summary
A buffer overflow vulnerability in CDataList of the jwwlib component of LibreCAD 2.2.0-rc3 and older allows an attacker to achieve Remote Code Execution using a crafted JWW document.
Patch / fix
- librecad Debian 14, Debian 13, Debian 12 2.1.3-3
debian advisories DEBIAN-CVE-2021-45342
- librecad Ubuntu 18.04 LTS 2.1.2-1ubuntu0.1
- librecad Ubuntu 20.04 LTS 2.1.3-1.2+deb10u1build0.20.04.1
- librecad Ubuntu 22.04 LTS 2.1.3-3
- librecad Ubuntu Pro 16.04 LTS 2.0.9-2ubuntu0.1~esm1
- librecad Ubuntu Pro 18.04 LTS 2.1.2-1ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2021-45342
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- librecad openSUSE Tumbleweed 2.2.0~rc3-7.1
- librecad Package Hub 15 SP4, openSUSE Leap 15.4 2.2.0~rc3-bp154.3.3.1
- libdxfrw Package Hub 15 SP4, openSUSE Leap 15.4 1.0.1+git.20220109-bp154.2.3.1
- librecad Package Hub 15 SP3, openSUSE Leap 15.3 2.2.0~rc3-bp153.2.9.1
opensuse advisories openSUSE-SU-2024:12082-1openSUSE-SU-2022:10002-1openSUSE-SU-2022:0143-1
Is CVE-2021-45342 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-45342 updated cvss 8.8
librecad: buffer overflow in CDataList of the jwwlib component allows remote code execution via a crafted JWW document
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.93% chance of exploitation in the next 30 days, higher than 80% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/LibreCAD/LibreCAD/issues/1464 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-120 Buffer Copy without Checking Size of Input
References
-
github.com
/LibreCAD/LibreCAD/issues/1464
exploit, issue-tracking, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/VUMH3CWGVSMR2UIZEA35Q5UB7PDVVVYS/
vendor-advisory
-
debian.org
/security/2022/dsa-5077
vendor-advisory, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/FCC2FZ6HZOIK3775K4MTCOUHX6PLGPEL/
vendor-advisory
-
security.gentoo.org
/glsa/202305-26
vendor-advisory
Sources
- CVE List CVE-2021-45342
- NVD CVE-2021-45342
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.