Debian DLA-2908-1 : librecad - LTS security update

high Nessus Plugin ID 157365

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 9 host has packages installed that are affected by multiple vulnerabilities as referenced in the dla-2908 advisory.

- A buffer overflow vulnerability in CDataMoji of the jwwlib component of LibreCAD 2.2.0-rc3 and older allows an attacker to achieve Remote Code Execution using a crafted JWW document. (CVE-2021-45341)

- A buffer overflow vulnerability in CDataList of the jwwlib component of LibreCAD 2.2.0-rc3 and older allows an attacker to achieve Remote Code Execution using a crafted JWW document. (CVE-2021-45342)

- In LibreCAD 2.2.0, a NULL pointer dereference in the HATCH handling of libdxfrw allows an attacker to crash the application using a crafted DXF document. (CVE-2021-45343)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade the librecad packages.

For Debian 9 stretch, these problems have been fixed in version 2.1.2-1+deb9u3.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004518

https://security-tracker.debian.org/tracker/source-package/librecad

https://www.debian.org/lts/security/2022/dla-2908

https://security-tracker.debian.org/tracker/CVE-2021-45341

https://security-tracker.debian.org/tracker/CVE-2021-45342

https://security-tracker.debian.org/tracker/CVE-2021-45343

https://packages.debian.org/source/stretch/librecad

Plugin Details

Severity: High

ID: 157365

File Name: debian_DLA-2908.nasl

Version: 1.3

Type: local

Agent: unix

Published: 2/3/2022

Updated: 11/17/2023

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 9.3

Temporal Score: 7.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2021-45341

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:librecad, p-cpe:/a:debian:debian_linux:librecad-data, cpe:/o:debian:debian_linux:9.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/3/2022

Vulnerability Publication Date: 1/25/2022

Reference Information

CVE: CVE-2021-45341, CVE-2021-45342, CVE-2021-45343