CVE Vulnerabilities

CVE-2017-18207

Divide By Zero

Published: Mar 01, 2018 | Modified: Nov 21, 2024
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
Ubuntu
LOW
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product divides a value by zero.

Affected Software

NameVendorStart VersionEnd Version
PythonPython*3.6.4 (including)
Python2.7Ubuntuartful*
Python2.7Ubuntubionic*
Python2.7Ubuntudisco*
Python2.7Ubuntueoan*
Python2.7Ubuntuesm-apps/focal*
Python2.7Ubuntuesm-apps/jammy*
Python2.7Ubuntuesm-infra-legacy/trusty*
Python2.7Ubuntuesm-infra/bionic*
Python2.7Ubuntuesm-infra/xenial*
Python2.7Ubuntufocal*
Python2.7Ubuntugroovy*
Python2.7Ubuntuhirsute*
Python2.7Ubuntuimpish*
Python2.7Ubuntujammy*
Python2.7Ubuntukinetic*
Python2.7Ubuntuprecise/esm*
Python2.7Ubuntutrusty*
Python2.7Ubuntutrusty/esm*
Python2.7Ubuntuxenial*
Python3.4Ubuntuesm-infra-legacy/trusty*
Python3.4Ubuntutrusty*
Python3.4Ubuntutrusty/esm*
Python3.5Ubuntuesm-infra-legacy/trusty*
Python3.5Ubuntuesm-infra/xenial*
Python3.5Ubuntutrusty*
Python3.5Ubuntutrusty/esm*
Python3.5Ubuntuxenial*
Python3.6Ubuntuartful*
Python3.6Ubuntubionic*
Python3.6Ubuntuesm-infra/bionic*
Python3.7Ubuntuartful*
Python3.7Ubuntubionic*
Python3.7Ubuntudisco*
Python3.7Ubuntueoan*
Python3.7Ubuntuesm-apps/bionic*

References