CVE-2021-21897

NameCVE-2021-21897
DescriptionA code execution vulnerability exists in the DL_Dxf::handleLWPolylineData functionality of Ribbonsoft dxflib 3.17.0. A specially-crafted .dxf file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3046-1
Debian Bugs1010347, 1010348, 1010349

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
cloudcompare (PTS)buster2.10.1-2vulnerable
bullseye2.10.3-4vulnerable
bookworm2.11.3-7.1fixed
sid, trixie2.13.2+git20240821+ds-1fixed
dxflib (PTS)jessie2.5.0.0-2vulnerable
stretch3.12.2-1vulnerable
buster, bullseye3.17.0-3vulnerable
sid, trixie, bookworm3.26.4-1fixed
horizon-eda (PTS)buster0.20181108-1vulnerable
bullseye1.4.0-1vulnerable
bookworm2.4.0-1vulnerable
sid2.6.0-2.1vulnerable
librecad (PTS)jessie, jessie (lts)2.0.4-1+deb8u1vulnerable
stretch (security), stretch (lts), stretch2.1.2-1+deb9u4fixed
buster (security), buster2.1.3-1.2+deb10u1vulnerable
bullseye (security), bullseye2.1.3-1.3+deb11u1vulnerable
bookworm2.2.0-1vulnerable
sid, trixie2.2.0.2-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
cloudcomparesource(unstable)2.11.3-7.11010347
dxflibsourcejessie(unfixed)end-of-life
dxflibsource(unstable)3.26.4-1
horizon-edasource(unstable)(unfixed)unimportant1010348
librecadsourcejessie(unfixed)end-of-life
librecadsourcestretch2.1.2-1+deb9u4DLA-3046-1
librecadsource(unstable)(unfixed)unimportant1010349

Notes

[bullseye] - cloudcompare <no-dsa> (Minor issue)
[buster] - cloudcompare <no-dsa> (Minor issue)
[bullseye] - dxflib <no-dsa> (Minor issue)
[buster] - dxflib <no-dsa> (Minor issue)
[stretch] - dxflib <no-dsa> (Minor issue)
https://talosintelligence.com/vulnerability_reports/TALOS-2021-1346
https://github.com/qcad/qcad/commit/1eeffc5daf5a06cf6213ffc19e95923cdebb2eb8

Search for package or bug name: Reporting problems