CVE-2021-45845 Command injection in n/a

High 7.8 Published Updated

Attackers can execute arbitrary OS commands via a crafted FreeCAD document due to improper input validation in the Path Sanity Check script.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-45845?

CVE-2021-45845 is a high-severity command injection vulnerability in Debian Debian Linux, published on 25 Jan 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-78

Which versions are affected by CVE-2021-45845?

It affects 2 products.

Products include Debian Debian Linux, Freecadweb Freecad.

How do I fix CVE-2021-45845?

Upgrade to a fixed version.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2021-45845 being exploited?

There is no known exploitation of CVE-2021-45845 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-45845, GHSA-pp7p-q5v7-3cr2, UBUNTU-CVE-2021-45845.

Is CVE-2021-45845 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free