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 vulnerabilities.
1) NULL pointer dereference (CVE-ID: CVE-2021-45343)
CWE-ID: CWE-476 - NULL Pointer Dereference
CVSSv4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
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)
CWE-ID: CWE-120 - Buffer overflow
CVSSv4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
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)
CWE-ID: CWE-120 - Buffer overflow
CVSSv4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
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