Description
In Python (aka CPython) through 3.10.4, the mailcap module does not add escape characters into commands discovered in the system mailcap file. This may allow attackers to inject shell commands into applications that call mailcap.findmatch with untrusted input (if they lack validation of user-provided filenames or arguments).
Remediation
References
Related Vulnerabilities
Oracle Database Server CVE-2015-4888 Vulnerability (CVE-2015-4888)
Joomla Unrestricted Upload of File with Dangerous Type Vulnerability (CVE-2006-4471)
WordPress Plugin JC Coupon Cross-Site Scripting (2.5)
Drupal Core 8.4.x Remote Code Execution (8.4.0 - 8.4.7)
WordPress Plugin WP TFeed includes Backdoor [Only if downloaded via the vendor website] (1.6.7)