#VU9432 Integer overflow in Python - CVE-2017-1000158


| Updated: 2017-12-04

Vulnerability identifier: #VU9432

Vulnerability risk: High

CVSSv4.0: 8.1 [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: Network

Exploit availability: No

Vulnerable software:
Python
Universal components / Libraries / Scripting languages

Vendor: Python.org

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.

Mitigation
Install update from vendor's website.

Vulnerable software versions

Python: 2.7


External links
https://bugs.python.org/issue30657


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability