In Python (aka CPython) up to 3.10.8, 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). The fix is also back-ported to 3.7, 3.8, 3.9
Metrics
Affected Vendors & Products
References
History
Mon, 03 Nov 2025 22:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
Status: PUBLISHED
Assigner: mitre
Published: 2022-04-13T00:00:00.000Z
Updated: 2025-11-03T21:43:59.756Z
Reserved: 2022-04-13T00:00:00.000Z
Link: CVE-2015-20107
No data.
Status : Modified
Published: 2022-04-13T16:15:08.937
Modified: 2025-11-03T22:15:43.133
Link: CVE-2015-20107