PT-2018-6736 · Python+2 · Python+2

Bt123

+1

·

Published

2018-03-01

·

Updated

2024-08-05

·

CVE-2017-18207

CVSS v3.1

6.5

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions: Python versions through 3.6.4
Description: The issue concerns the Wave read. read fmt chunk function in Lib/wave.py, which does not ensure a nonzero channel value. This allows attackers to cause a denial of service via a crafted wav format audio file, resulting in a divide-by-zero error and exception. The vendor disputes this issue, stating that Python applications need to be prepared to handle a wide variety of exceptions.
Recommendations: For Python versions through 3.6.4, consider adding exception handling to manage potential divide-by-zero errors when processing wav format audio files. As a temporary workaround, consider implementing checks to ensure nonzero channel values before performing operations that could lead to division by zero. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

DoS

Divide By Zero

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2018-1897
AZL-6824
CVE-2017-18207
MGASA-2018-0270
MGASA-2018-0495
OPENSUSE-SU-2018_2126-1
OPENSUSE-SU-2020:0086-1
OPENSUSE-SU-2020_0086-1
OPENSUSE-SU-2024:11202-1
OPENSUSE-SU-2024:11284-1
SUSE-SU-2018:0934-1
SUSE-SU-2018:1786-1
SUSE-SU-2018:2040-1
SUSE-SU-2018_0934-1
SUSE-SU-2018_1786-1
SUSE-SU-2018_2040-1
SUSE-SU-2019:14246-1
SUSE-SU-2019_14246-1
SUSE-SU-2020:0114-1
SUSE-SU-2020:0234-1
SUSE-SU-2020:0302-1

Affected Products

Alt Linux
Python
Suse