Integer overflow in Python - CVE-2017-1000158

 

Integer overflow in Python - CVE-2017-1000158

Published: November 28, 2017 / Updated: December 4, 2017


Vulnerability identifier: #VU9432
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2017-1000158
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Python.org
Affected software:
Python

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The weakness exists due to an integer overflow in the PyString_DecodeEscape function in stringobject.c. A remote attacker can trigger heap-based buffer overflow and execute arbitrary code with elevated privileges.

Successful exploitation of the vulnerability may result in system compromise.

How to mitigate CVE-2017-1000158

Install update from vendor's website.

Sources