Divide By Zero Affecting python-tk package, versions <2.7.17-7.32.2


Severity

Recommended
medium

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.09% (41st 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-PYTHONTK-2725968
  • published14 Apr 2022
  • disclosed24 Jan 2020

Introduced: 24 Jan 2020

CVE-2017-18207  (opens in a new tab)
CWE-369  (opens in a new tab)

How to fix?

Upgrade SLES:15.1 python-tk to version 2.7.17-7.32.2 or higher.

NVD Description

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

The Wave_read._read_fmt_chunk function in Lib/wave.py in Python through 3.6.4 does not ensure a nonzero channel value, which allows attackers to cause a denial of service (divide-by-zero and exception) via a crafted wav format audio file. NOTE: the vendor disputes this issue because Python applications "need to be prepared to handle a wide variety of exceptions.