CVE-2021-45844: FreeCAD - Command Injection
- Cve: CVE-2021-45844
- Name: FreeCAD - Command Injection
- Description: Improper sanitization in the invocation of ODA File Converter from FreeCAD 0.19 allows an attacker to inject OS commands via a crafted filename.
- Impact: Attackers can execute arbitrary OS commands, potentially leading to full system compromise.
- Remediation: Update to the latest version of FreeCAD or apply security patches that fix input sanitization.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.01148
- Epss percentile: 0.67628
- Assignee: [email protected]
- Published at: 2022-01-25T13:15:07Z
- Age in days: 1764
- Modified at: 2026-06-17T04:14:09Z
- Patch available: yes
- Public exploits total: 2
- References total: 5
- Products total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-45844
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://forum.freecadweb.org/viewtopic.php?t=64733 | nvd | 2022-01-25 |
| https://tracker.freecad.org/view.php?id=4809 | nvd | 2022-01-25 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://forum.freecadweb.org/viewtopic.php?t=64733 | Exploit, Issue Tracking, Mitigation, Patch, Vendor Advisory |
| https://tracker.freecad.org/view.php?id=4809 | Exploit, Issue Tracking, Patch, Vendor Advisory |
| https://lists.debian.org/debian-lts-announce/2022/03/msg00004.html | Mailing List, Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2022/08/msg00008.html | Mailing List, Third Party Advisory |
| https://www.debian.org/security/2022/dsa-5229 | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| freecadweb:freecad | = 0.19 | no | nvd | /v1/products/freecadweb/freecad |
| debian:debian_linux | = 11.0, = 10.0, = 9.0 | no | nvd | /v1/products/debian/debian_linux |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2022-01-25
- Exposed hosts: 4739835
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports