SB2021111917 - Multiple vulnerabilities in LibreCAD
Published: November 19, 2021 Updated: December 19, 2022
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 3 secuirty vulnerabilities.
1) NULL pointer dereference (CVE-ID: CVE-2021-45343)
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a NULL pointer dereference error in the HATCH handling of libdxfrw. A remote attacker can trick the victim into opening a specially crafted DXF document and perform a denial of service (DoS) attack.
2) Buffer overflow (CVE-ID: CVE-2021-45342)
The vulnerability allows a remote attacker to execute arbitrary code on the system.
The vulnerability exists due to a boundary error in the CDataList of the jwwlib component. A remote attacker can trick the victim into opening a specially crafted JWW document, trigger heap buffer overflow, and execute arbitrary code on the target system.
3) Buffer overflow (CVE-ID: CVE-2021-45341)
The vulnerability allows a remote attacker to execute arbitrary code on the system.
The vulnerability exists due to a boundary error in the CDataMoji of the jwwlib component. A remote attacker can trick the victim into opening a specially crafted JWW document, trigger heap buffer overflow, and execute arbitrary code on the target system.
Remediation
Install update from vendor's website.
References
- https://github.com/LibreCAD/LibreCAD/issues/1468
- https://github.com/LibreCAD/LibreCAD/commit/29e85c5ff151018c6252afa104366e02c0da36e7
- https://github.com/LibreCAD/LibreCAD/issues/1464
- https://github.com/LibreCAD/LibreCAD/commit/e6a8fffef9b2242213ed05a3c29a9756c6a1233f
- https://github.com/LibreCAD/LibreCAD/issues/1462
- https://github.com/LibreCAD/LibreCAD/commit/d9dcb27e47f9545cac3bccdca2d4f9c8754ff801