CVE-2015-20107
HIGH7.6EPSS 0.87%python3.9 - security update
Published: 4/13/2022Modified: 4/28/2026
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
Affected packages (7)
- Alpine/python3from 0, < 3.10.5-r0
- Debian/pypy3from 0
- Debian/python2.7from 0
- Debian/python2.7from 0, < 2.7.16-2+deb10u2
- Debian/python3.7from 0, < 3.7.3-2+deb10u5
- Debian/python3.9from 0, < 3.9.2-1+deb11u2
- Debian/python3.9from 0, < 3.9.2-1+deb11u2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L |