Multiple vulnerabilities in LibreCAD libdxfrw



| Updated: 2022-12-19
Risk High
Patch available YES
Number of vulnerabilities 3
CVE-ID CVE-2021-21900
CVE-2021-21899
CVE-2021-21898
CWE-ID CWE-416
CWE-119
CWE-787
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
libdxfrw
Universal components / Libraries / Libraries used by multiple products

Vendor LibreCad

Security Bulletin

This security bulletin contains information about 3 vulnerabilities.

Updated: 19.12.2022

Vulnerabilities in this security bulletin were moved from SB2021111917.

1) Use-after-free

EUVDB-ID: #VU63895

Risk: High

CVSSv3.1: 7.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-21900

CWE-ID: CWE-416 - Use After Free

Exploit availability: No

Description

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.

Mitigation

Install update from vendor's website.

Vulnerable software versions

libdxfrw: 0.5.10 - 1.0.1

CPE2.3 External links

http://talosintelligence.com/vulnerability_reports/TALOS-2021-1351
http://github.com/LibreCAD/libdxfrw/commit/fcd977cc7f8f6cc7f012e5b72d33cf7d77b3fa69


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Buffer overflow

EUVDB-ID: #VU63893

Risk: High

CVSSv3.1: 7.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-21899

CWE-ID: CWE-119 - Memory corruption

Exploit availability: No

Description

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.

Mitigation

Install update from vendor's website.

Vulnerable software versions

libdxfrw: 0.5.10 - 1.0.1

CPE2.3 External links

http://talosintelligence.com/vulnerability_reports/TALOS-2021-1350
http://github.com/LibreCAD/libdxfrw/commit/6417118874333309aa10c4e59f954c3905a6e8b5


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

3) Out-of-bounds write

EUVDB-ID: #VU63892

Risk: High

CVSSv3.1: 7.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-21898

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

Exploit availability: No

Description

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.

Mitigation

Install update from vendor's website.

Vulnerable software versions

libdxfrw: 0.5.10 - 1.0.1

CPE2.3 External links

http://talosintelligence.com/vulnerability_reports/TALOS-2021-1349


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###