SB2023031549 - Ubuntu update for librecad



SB2023031549 - Ubuntu update for librecad

Published: March 15, 2023

Security Bulletin ID SB2023031549
CSH Severity
High
Patch available
YES
Number of vulnerabilities 7
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

High 71% Medium 14% Low 14%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 7 vulnerabilities.


1) Out-of-bounds write (CVE-ID: CVE-2018-19105)

CWE-ID: CWE-787 - Out-of-bounds write

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear


The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary error when processing untrusted input. A remote attacker can create a specially crafted file, trick the victim into opening it using the affected software, trigger an out-of-bounds write and crash the application.


2) Out-of-bounds write (CVE-ID: CVE-2021-21898)

CWE-ID: CWE-787 - Out-of-bounds write

CVSSv4: 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/E:U/U:Amber


The vulnerability allows a remote attacker to execute arbitrary code on the system.

The vulnerability exists due to a boundary error in the dwgCompressor::decompress18() function. A remote attacker can trick the victim into opening a specially crafted .dwg file, trigger out-of-bounds write and execute arbitrary code on the target system.


3) Buffer overflow (CVE-ID: CVE-2021-21899)

CWE-ID: CWE-119 - Memory corruption

CVSSv4: 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/E:U/U:Amber


The vulnerability allows a remote attacker to execute arbitrary code on the system.

The vulnerability exists due to a boundary error in the dwgCompressor::copyCompBytes21 function. A remote attacker can trick the victim into opening a specially crafted .dwg file, trigger heap buffer overflow, and execute arbitrary code on the target system.


4) Use-after-free (CVE-ID: CVE-2021-21900)

CWE-ID: CWE-416 - Use After Free

CVSSv4: 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/E:U/U:Amber


The vulnerability allows a remote attacker to execute arbitrary code on the system.

The vulnerability exists due to a use-after-free error in the dxfRW::processLType() function. A remote attacker can trick the victim into opening a specially crafted .dwg file, trigger use-after-free, and execute arbitrary code on the target system.


5) Buffer overflow (CVE-ID: CVE-2021-45341)

CWE-ID: CWE-120 - Buffer overflow

CVSSv4: 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/E:U/U:Amber


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.


6) Buffer overflow (CVE-ID: CVE-2021-45342)

CWE-ID: CWE-120 - Buffer overflow

CVSSv4: 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/E:U/U:Amber


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.


7) NULL pointer dereference (CVE-ID: CVE-2021-45343)

CWE-ID: CWE-476 - NULL Pointer Dereference

CVSSv4: 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/E:U/U:Green


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.


Remediation

Install update from vendor's website.