CVE-2021-45845

NameCVE-2021-45845
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
freecad (PTS)stretch0.16+dfsg2-3fixed
stretch (security)0.16+dfsg2-3+deb9u1fixed
buster0.18~pre1+dfsg1-5vulnerable
bullseye0.19.1+dfsg1-2vulnerable
sid0.19.4+dfsg1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
freecadsourcestretch(not affected)
freecadsource(unstable)0.19.4+dfsg1-1

Notes

[stretch] - freecad <not-affected> (Vulnerable code introduced in 0.17)
https://github.com/FreeCAD/FreeCAD/pull/5306
Fixed by: https://github.com/FreeCAD/FreeCAD/commit/169eb655f30180b95e5923be2eb3bc4de6e02406 (master)
Fixed by: https://github.com/FreeCAD/FreeCAD/commit/a73f442f88725e08f36a3614e690bdef24c3dee3 (0.19.4)
https://tracker.freecad.org/view.php?id=4810

Search for package or bug name: Reporting problems