Integer Overflow or Wraparound Affecting python-gdbm package, versions <2.7.17-7.32.2


Severity

Recommended
0.0
high
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
1.37% (86th 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-SLES150-PYTHONGDBM-2726185
  • published14 Apr 2022
  • disclosed24 Jan 2020

Introduced: 24 Jan 2020

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

How to fix?

Upgrade SLES:15.0 python-gdbm to version 2.7.17-7.32.2 or higher.

NVD Description

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

version 3.1