Bug 2046348 (CVE-2021-45845)

Summary: CVE-2021-45845 freecad: Path Sanity Check script is vulnerable to OS command injection via a crafted FCStd document
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: cz172638, hobbes1069, john
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-01-26 17:01:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2046349, 2046350    
Bug Blocks:    

Description Guilherme de Almeida Suckevicz 2022-01-26 16:20:50 UTC
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.

Reference:
https://tracker.freecad.org/view.php?id=4810

Comment 1 Guilherme de Almeida Suckevicz 2022-01-26 16:21:12 UTC
Created freecad tracking bugs for this issue:

Affects: epel-7 [bug 2046350]
Affects: fedora-all [bug 2046349]

Comment 2 Product Security DevOps Team 2022-01-26 17:01:31 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.