Rapid7 Vulnerability & Exploit Database

USN-1616-1: Python 3.1 vulnerabilities

Free InsightVM Trial No credit card necessary
Watch Demo See how it all works
Back to Search

USN-1616-1: Python 3.1 vulnerabilities

Severity
7
CVSS
(AV:L/AC:M/Au:N/C:C/I:C/A:C)
Published
01/27/2009
Created
07/25/2018
Added
05/06/2013
Modified
07/09/2020

Description

Untrusted search path vulnerability in the PySys_SetArgv API function in Python 2.6 and earlier, and possibly later versions, prepends an empty string to sys.path when the argv[0] argument does not contain a path separator, which might allow local users to execute arbitrary code via a Trojan horse Python file in the current working directory.

Solution(s)

  • ubuntu-upgrade-python3-1
  • ubuntu-upgrade-python3-1-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

;