Integer Overflow or Wraparound Affecting libpython3_6m1_0 package, versions <3.6.10-3.42.2


Severity

Recommended
medium

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
5.79% (93rd 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-SLES151-LIBPYTHON36M10-2723618
  • published14 Apr 2022
  • disclosed16 Jan 2020

Introduced: 16 Jan 2020

CVE-2018-20406  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade SLES:15.1 libpython3_6m1_0 to version 3.6.10-3.42.2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libpython3_6m1_0 package and not the libpython3_6m1_0 package as distributed by SLES. See How to fix? for SLES:15.1 relevant fixed versions and status.

Modules/_pickle.c in Python before 3.7.1 has an integer overflow via a large LONG_BINPUT value that is mishandled during a "resize to twice the size" attempt. This issue might cause memory exhaustion, but is only relevant if the pickle format is used for serializing tens or hundreds of gigabytes of data. This issue is fixed in: v3.4.10, v3.4.10rc1; v3.5.10, v3.5.10rc1, v3.5.7, v3.5.7rc1, v3.5.8, v3.5.8rc1, v3.5.8rc2, v3.5.9; v3.6.10, v3.6.10rc1, v3.6.11, v3.6.11rc1, v3.6.12, v3.6.7, v3.6.7rc1, v3.6.7rc2, v3.6.8, v3.6.8rc1, v3.6.9, v3.6.9rc1; v3.7.1, v3.7.1rc1, v3.7.1rc2, v3.7.2, v3.7.2rc1, v3.7.3, v3.7.3rc1, v3.7.4, v3.7.4rc1, v3.7.4rc2, v3.7.5, v3.7.5rc1, v3.7.6, v3.7.6rc1, v3.7.7, v3.7.7rc1, v3.7.8, v3.7.8rc1, v3.7.9.

References