Integer Overflow or Wraparound Affecting python package, versions *


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
2.12% (84th 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-RHEL7-PYTHON-1359628
  • published26 Jul 2021
  • disclosed13 Jun 2017

Introduced: 13 Jun 2017

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

How to fix?

There is no fixed version for RHEL:7 python.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python package and not the python package as distributed by RHEL. See How to fix? for RHEL:7 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