Rapid7 Vulnerability & Exploit Database

Ubuntu: (Multiple Advisories) (CVE-2015-20107): Python vulnerability

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

Ubuntu: (Multiple Advisories) (CVE-2015-20107): Python vulnerability

Severity
8
CVSS
(AV:N/AC:L/Au:S/C:P/I:C/A:P)
Published
04/13/2022
Created
03/29/2023
Added
03/22/2023
Modified
03/22/2023

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

Solution(s)

  • ubuntu-upgrade-python2-7
  • ubuntu-upgrade-python2-7-minimal
  • ubuntu-upgrade-python3-10
  • ubuntu-upgrade-python3-10-minimal
  • ubuntu-upgrade-python3-4
  • ubuntu-upgrade-python3-4-minimal
  • ubuntu-upgrade-python3-5
  • ubuntu-upgrade-python3-5-minimal
  • ubuntu-upgrade-python3-6
  • ubuntu-upgrade-python3-6-minimal
  • ubuntu-upgrade-python3-8
  • ubuntu-upgrade-python3-8-minimal
  • ubuntu-upgrade-python3-9
  • ubuntu-upgrade-python3-9-minimal

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;