Integer Overflow or Wraparound Affecting python package, versions [,2.7.14rc1)[3.0a1,3.4.8rc1)[3.5a1,3.5.5rc1)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
7.94% (95th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-PYTHON-2317677
  • published14 Dec 2021
  • disclosed17 Nov 2017
  • creditUnknown

Introduced: 17 Nov 2017

CVE-2017-1000158  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade python to version 2.7.14rc1, 3.4.8rc1, 3.5.5rc1 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound via the PyString_DecodeEscape function in stringobject.c, resulting in heap-based buffer overflow (and possible arbitrary code execution)

CVSS Base Scores

version 3.1