Denial of service in Python



| Updated: 2025-06-03
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2020-14422
CWE-ID CWE-400
Exploitation vector Network
Public exploit N/A
Vulnerable software
Python
Universal components / Libraries / Scripting languages

Vendor Python.org

Security Bulletin

This security bulletin contains information about 1 vulnerabilities.

Updated 15.07.2020

Added fixed version.

1) Resource exhaustion

EUVDB-ID: #VU29544

Risk: Medium

CVSSv4.0: 4.6 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2020-14422

CWE-ID: CWE-400 - Resource exhaustion

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to application improperly computes hash values in the IPv4Interface and IPv6Interface classes within the Lib/ipaddress.py in Python. A remote attacker can trigger resource exhaustion and perform a denial of service (DoS) attack if an application is affected by the performance of a dictionary containing IPv4Interface or IPv6Interface objects, and this attacker can cause many dictionary entries to be created.

Mitigation

Install update from vendor's website.

Vulnerable software versions

Python: 3.8.0 - 3.8.3

CPE2.3 External links

https://lists.opensuse.org/opensuse-security-announce/2020-07/msg00003.html
https://bugs.python.org/issue41004
https://github.com/python/cpython/pull/20956


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###