CVE-2015-20107

Published Apr 13, 2022

Last updated a year ago

Overview

Description
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
Source
cve@mitre.org
NVD status
Modified

Risk scores

CVSS 3.1

Type
Primary
Base score
7.6
Impact score
4.7
Exploitability score
2.8
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L
Severity
HIGH

CVSS 2.0

Type
Primary
Base score
8
Impact score
8.5
Exploitability score
8
Vector string
AV:N/AC:L/Au:S/C:P/I:C/A:P

Weaknesses

nvd@nist.gov
CWE-77

Social media

Hype score
Not currently trending

Configurations

References