CVE-2015-20107

EUVD-2015-2111
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
Command Injection
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
7.6 HIGH
NETWORK
LOW
LOW
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L
Base Score
CVSS 3.x
EPSS Score
Percentile: 75%
Affected Products (NVD)
VendorProductVersion
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_manager
-
netappactive_iq_unified_manager
-
netappontap_select_deploy_administration_utility
-
netappsnapcenter
-
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
python2.7
bullseye
vulnerable
stretch
no-dsa
python3.9
bullseye
vulnerable
stretch
no-dsa
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
python2.7
bionic
Fixed 2.7.17-1~18.04ubuntu1.8
released
focal
Fixed 2.7.18-1~20.04.3
released
impish
Fixed 2.7.18-8ubuntu0.2
released
jammy
Fixed 2.7.18-13ubuntu1.1
released
kinetic
Fixed 2.7.18-13ubuntu2
released
lunar
dne
mantic
dne
noble
dne
trusty
Fixed 2.7.6-8ubuntu0.6+esm11
released
xenial
Fixed 2.7.12-1ubuntu0~16.04.18+esm2
released
python3.10
bionic
dne
focal
dne
impish
ignored
jammy
Fixed 3.10.4-3ubuntu0.1
released
kinetic
not-affected
lunar
dne
mantic
dne
noble
dne
trusty
dne
xenial
dne
python3.4
bionic
dne
focal
dne
impish
dne
jammy
dne
kinetic
dne
lunar
dne
mantic
dne
noble
dne
trusty
Fixed 3.4.3-1ubuntu1~14.04.7+esm13
released
xenial
dne
python3.5
bionic
dne
focal
dne
impish
dne
jammy
dne
kinetic
dne
lunar
dne
mantic
dne
noble
dne
trusty
Fixed 3.5.2-2ubuntu0~16.04.4~14.04.1+esm1
released
xenial
Fixed 3.5.2-2ubuntu0~16.04.13+esm3
released
python3.6
bionic
Fixed 3.6.9-1~18.04ubuntu1.8
released
focal
dne
impish
dne
jammy
dne
kinetic
dne
lunar
dne
mantic
dne
noble
dne
trusty
dne
xenial
dne
python3.7
bionic
Fixed 3.7.5-2ubuntu1~18.04.2+esm3
released
focal
dne
impish
dne
jammy
dne
kinetic
dne
lunar
dne
mantic
dne
noble
dne
trusty
dne
xenial
dne
python3.8
bionic
Fixed 3.8.0-3ubuntu1~18.04.2+esm2
released
focal
Fixed 3.8.10-0ubuntu1~20.04.5
released
impish
dne
jammy
dne
kinetic
dne
lunar
dne
mantic
dne
noble
dne
trusty
dne
xenial
dne
python3.9
bionic
dne
focal
Fixed 3.9.5-3ubuntu0~20.04.1+esm1
released
impish
Fixed 3.9.7-2ubuntu0.1
released
jammy
dne
kinetic
dne
lunar
dne
mantic
dne
noble
dne
trusty
dne
xenial
dne
References