Safety vulnerability ID: 48131
The information on this page was manually curated by our Cybersecurity Intelligence Team.
Python 3.7.16, 3.8.16, 3.9.16, 3.10.6 and 3.11.0b4 include a fix for CVE-2015-20107: 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).
https://python-security.readthedocs.io/vuln/mailcap-shell-injection.html
Latest version: 0.9.8
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). See CVE-2015-20107.
MISC:https://bugs.python.org/issue24778: https://bugs.python.org/issue24778
MISC:https://github.com/python/cpython/issues/68966: https://github.com/python/cpython/issues/68966
Scan your Python project for dependency vulnerabilities in two minutes
Scan your application