Integer Overflow or Wraparound Affecting python3.5 package, versions <3.5.2-2ubuntu0~16.04.4


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
2.62% (85th 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 IDSNYK-UBUNTU1604-PYTHON35-304686
  • published17 Nov 2017
  • disclosed17 Nov 2017

Introduced: 17 Nov 2017

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

How to fix?

Upgrade Ubuntu:16.04 python3.5 to version 3.5.2-2ubuntu0~16.04.4 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python3.5 package and not the python3.5 package as distributed by Ubuntu. See How to fix? for Ubuntu:16.04 relevant fixed versions and status.

CPython (aka Python) up to 2.7.13 is vulnerable to an integer overflow in the PyString_DecodeEscape function in stringobject.c, resulting in heap-based buffer overflow (and possible arbitrary code execution)

CVSS Base Scores

version 3.1