cbcvebase.
CVE-2015-20107
published 2022-04-13

CVE-2015-20107: 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…

PriorityP350high7.6CVSS 3.1
AVNACLPRLUINSUCLIHAL
EPSS
7.27%
93.7th percentile
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

Affected

13 ranges
VendorProductVersion rangeFixed in
debianpypy3< pypy3 7.3.11+dfsg-1 (bookworm)pypy3 7.3.11+dfsg-1 (bookworm)
debianpython2.7< pypy3 7.3.11+dfsg-1 (bookworm)pypy3 7.3.11+dfsg-1 (bookworm)
debianpython3.9< pypy3 7.3.11+dfsg-1 (bookworm)pypy3 7.3.11+dfsg-1 (bookworm)
fedoraprojectfedora
fedoraprojectfedora
fedoraprojectfedora
msrccbl2_python3_3.9.13-5_on_cbl_mariner_2.0
msrccm1_python2_2.7.18-11_on_cbl_mariner_1.0
msrccm1_python3_3.7.13-4_on_cbl_mariner_1.0
pythonpython>= 3.10.0 < 3.10.83.10.8
pythonpython3.7.0 – 3.7.15
pythonpython3.8.0 – 3.8.15
pythonpython3.9.0 – 3.9.15

CVSS provenance

nvdv3.17.6HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L
nvdv2.08.0HIGHAV:N/AC:L/Au:S/C:P/I:C/A:P
osv7.6HIGH
vendor_debian7.6HIGH
vendor_msrc7.6HIGH
vendor_redhat7.6HIGH
vendor_ubuntu7.6HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.