Debian DSA-5229-1 : freecad - security update

high Nessus Plugin ID 165081

Synopsis

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

Description

The remote Debian 11 host has packages installed that are affected by multiple vulnerabilities as referenced in the dsa-5229 advisory.

- Improper sanitization in the invocation of ODA File Converter from FreeCAD 0.19 allows an attacker to inject OS commands via a crafted filename. (CVE-2021-45844)

- The Path Sanity Check script of FreeCAD 0.19 is vulnerable to OS command injection, allowing an attacker to execute arbitrary commands via a crafted FCStd document. (CVE-2021-45845)

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

Solution

Upgrade the freecad packages.

For the stable distribution (bullseye), these problems have been fixed in version 0.19.1+dfsg1-2+deb11u1.

See Also

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

https://www.debian.org/security/2022/dsa-5229

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

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

https://packages.debian.org/source/bullseye/freecad

Plugin Details

Severity: High

ID: 165081

File Name: debian_DSA-5229.nasl

Version: 1.3

Type: local

Agent: unix

Published: 9/14/2022

Updated: 10/11/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: 7.6

Temporal Score: 6

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

CVSS Score Source: CVE-2021-45844

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7

Vector: CVSS:3.0/AV:L/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

CVSS Score Source: CVE-2021-45845

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:freecad, p-cpe:/a:debian:debian_linux:freecad-common, p-cpe:/a:debian:debian_linux:freecad-python3, p-cpe:/a:debian:debian_linux:libfreecad-python3-0.19, cpe:/o:debian:debian_linux:11.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: 9/13/2022

Vulnerability Publication Date: 1/25/2022

Reference Information

CVE: CVE-2021-45844, CVE-2021-45845