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 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
NISTNIST
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
mitreCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 78%
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
noble
dne
mantic
dne
lunar
dne
kinetic
Fixed 2.7.18-13ubuntu2
released
jammy
Fixed 2.7.18-13ubuntu1.1
released
impish
Fixed 2.7.18-8ubuntu0.2
released
focal
Fixed 2.7.18-1~20.04.3
released
bionic
Fixed 2.7.17-1~18.04ubuntu1.8
released
xenial
Fixed 2.7.12-1ubuntu0~16.04.18+esm2
released
trusty
Fixed 2.7.6-8ubuntu0.6+esm11
released
python3.10
noble
dne
mantic
dne
lunar
dne
kinetic
not-affected
jammy
Fixed 3.10.4-3ubuntu0.1
released
impish
ignored
focal
dne
bionic
dne
xenial
dne
trusty
dne
python3.4
noble
dne
mantic
dne
lunar
dne
kinetic
dne
jammy
dne
impish
dne
focal
dne
bionic
dne
xenial
dne
trusty
Fixed 3.4.3-1ubuntu1~14.04.7+esm13
released
python3.5
noble
dne
mantic
dne
lunar
dne
kinetic
dne
jammy
dne
impish
dne
focal
dne
bionic
dne
xenial
Fixed 3.5.2-2ubuntu0~16.04.13+esm3
released
trusty
Fixed 3.5.2-2ubuntu0~16.04.4~14.04.1+esm1
released
python3.6
noble
dne
mantic
dne
lunar
dne
kinetic
dne
jammy
dne
impish
dne
focal
dne
bionic
Fixed 3.6.9-1~18.04ubuntu1.8
released
xenial
dne
trusty
dne
python3.7
noble
dne
mantic
dne
lunar
dne
kinetic
dne
jammy
dne
impish
dne
focal
dne
bionic
Fixed 3.7.5-2ubuntu1~18.04.2+esm3
released
xenial
dne
trusty
dne
python3.8
noble
dne
mantic
dne
lunar
dne
kinetic
dne
jammy
dne
impish
dne
focal
Fixed 3.8.10-0ubuntu1~20.04.5
released
bionic
Fixed 3.8.0-3ubuntu1~18.04.2+esm2
released
xenial
dne
trusty
dne
python3.9
noble
dne
mantic
dne
lunar
dne
kinetic
dne
jammy
dne
impish
Fixed 3.9.7-2ubuntu0.1
released
focal
Fixed 3.9.5-3ubuntu0~20.04.1+esm1
released
bionic
dne
xenial
dne
trusty
dne
References