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

high Nessus Plugin ID 155848

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-2838 advisory.

- A code execution vulnerability exists in the dwgCompressor::decompress18() functionality of LibreCad libdxfrw 2.2.0-rc2-19-ge02f3580. A specially-crafted .dwg file can lead to an out-of-bounds write. An attacker can provide a malicious file to trigger this vulnerability. (CVE-2021-21898)

- A code execution vulnerability exists in the dwgCompressor::copyCompBytes21 functionality of LibreCad libdxfrw 2.2.0-rc2-19-ge02f3580. A specially-crafted .dwg file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability. (CVE-2021-21899)

- A code execution vulnerability exists in the dxfRW::processLType() functionality of LibreCad libdxfrw 2.2.0-rc2-19-ge02f3580. A specially-crafted .dxf file can lead to a use-after-free vulnerability. An attacker can provide a malicious file to trigger this vulnerability. (CVE-2021-21900)

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+deb9u2.

See Also

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

https://www.debian.org/lts/security/2021/dla-2838

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

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

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

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

Plugin Details

Severity: High

ID: 155848

File Name: debian_DLA-2838.nasl

Version: 1.3

Type: local

Agent: unix

Published: 12/3/2021

Updated: 11/22/2023

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

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

CVSS Score Source: CVE-2021-21900

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, cpe:/o:debian:debian_linux:9.0, p-cpe:/a:debian:debian_linux:librecad-data

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: 12/3/2021

Vulnerability Publication Date: 11/19/2021

Reference Information

CVE: CVE-2021-21898, CVE-2021-21899, CVE-2021-21900