PT-2018-3715 · Python+4 · Python+4

Shuoz

·

Published

2018-12-23

·

Updated

2024-07-11

·

CVE-2018-20406

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Python versions prior to 3.7.1
Description The issue is related to an integer overflow via a large LONG BINPUT value that is mishandled during a "resize to twice the size" attempt in the pickle.c module. This might cause memory exhaustion, but it is only relevant if the pickle format is used for serializing tens or hundreds of gigabytes of data. The issue can be exploited by a remote attacker to cause a denial of service.
Recommendations For versions prior to 3.7.1, update to version 3.7.1 or later to resolve the issue. As a temporary workaround, consider avoiding the use of the pickle format for serializing large amounts of data until a patch is applied. Restrict access to the pickle.c module to minimize the risk of exploitation. Avoid using the LONG BINPUT value in the affected module until the issue is resolved.

Exploit

Fix

Integer Overflow

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

Weakness Enumeration

Related Identifiers

ALT-PU-2019-1685
BDU:2021-03713
CVE-2018-20406
DLA-1663-1
DLA-2280-1
MGASA-2019-0135
OPENSUSE-SU-2019:0155-1
OPENSUSE-SU-2019_0155-1
OPENSUSE-SU-2020:0086-1
OPENSUSE-SU-2020_0086-1
OPENSUSE-SU-2024:11284-1
PSF-2018-6
RHSA-2019:3725
SUSE-SU-2019:0215-1
SUSE-SU-2019:0243-1
SUSE-SU-2019:0243-2
SUSE-SU-2019:14246-1
SUSE-SU-2019_0215-1
SUSE-SU-2019_0243-1
SUSE-SU-2019_0243-2
SUSE-SU-2019_14246-1
SUSE-SU-2020:0114-1
USN-4127-1
USN-4127-2
USN-6891-1

Affected Products

Alt Linux
Linuxmint
Python
Suse
Ubuntu