Live threats

All CVEs / Python

CVE-2015-20107Python

High 7.6

Priority
46
CVSS 3.1
7.6
EPSS
2.8%
probability of exploitation in 30 days · percentile 87
Auth required
Yes
Published
Apr 13, 2022
Updated
Oct 14, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-77
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Python.

Affected products (CPE)

VendorProductVersions
pythonpython≥ 3.7.0 ≤ 3.7.15
pythonpython≥ 3.8.0 ≤ 3.8.15
pythonpython≥ 3.9.0 ≤ 3.9.15
pythonpython≥ 3.10.0 < 3.10.8
netappactive_iq_unified_managerall
netappactive_iq_unified_managerall
netappontap_select_deploy_administration_utilityall
netappsnapcenterall
fedoraprojectfedora35
fedoraprojectfedora36
fedoraprojectfedora37

Official sources

References

Links published by the sources. Open them with care.