CVE-2020-14422
Incorrect Calculation and Use of Insufficiently Random Values in Python
Reported by mitre · Published June 18, 2020
Lib/ipaddress.py in Python through 3.8.3 improperly computes hash values in the IPv4Interface and IPv6Interface classes, which might allow a remote attacker to cause a denial of service 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. This is fixed in: v3.5.10, v3.5.10rc1; v3.6.12; v3.7.9; v3.8.4, v3.8.4rc1, v3.8.5, v3.8.6, v3.8.6rc1; v3.9.0, v3.9.0b4, v3.9.0b5, v3.9.0rc1, v3.9.0rc2.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python | dhi.docker.com | 3.9.0-beta4, 3.8.4-rc1, 3.7.9, 3.6.12, 3.5.10-rc1 |
| python-pip-wheel | Amazon Linux | 20.2.2-1.amzn2.0.4 |
| python3-pip | Amazon Linux | 20.2.2-1.amzn2.0.4 |
| python3 | Amazon Linux | 3.7.9-1.amzn2.0.1 |
| python-ipaddress | Amazon Linux | 1.0.16-2.amzn2.0.2 |
| python3.5 | Ubuntu:16.04:LTS | 3.5.2-2ubuntu0~16.04.11 |
| SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | Siemens | 3.1.5 |
| libpython | Bitnami | 3.8.4, 3.7.9, 3.6.12, 3.5.10 |
| python3.4 | Ubuntu:Pro:14.04:LTS | 3.4.3-1ubuntu1~14.04.7+esm7 |
| python | python | 3.8.4, 3.7.9, 3.6.12, 3.5.10 |
| python3.7 | Ubuntu:Pro:18.04:LTS | 3.7.5-2ubuntu1~18.04.2+esm3 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| amazon:2 | python-pip-wheel | 0 |
| amazon:2 | python3-pip | 0 |
| amazon:2 | python3 | 0 |
| amazon:2 | python-ipaddress | 0 |
| n/a | n/a | * |
| amazon:2 | python3-test | 0 |
| amazon:2 | python3-debug | 0 |
| amazon:2 | python3-tkinter | 0 |
| amazon:2 | python3-libs | 0 |
| amazon:2 | python3-devel | 0 |
| alpine | python3 | 0, 0, 0 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | 3.1.0 |
| amazon:2 | python2-pip | 0 |
| amazon:2 | python3-tools | 0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
Timeline
- Jun 18, 2020 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Dec 16, 2025 PoC Published
- Mar 6, 2026 Distribution Patch (10 in total, the first dated here)
- Mar 6, 2026 Security Advisory (22 in total, the first dated here)
- Sep 5, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-14422
vulnetix vdb fixes CVE-2020-14422
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-14422/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- openSUSE-SU-2020:0931 vendor-advisory
- openSUSE-SU-2020:0940 vendor-advisory
- [debian-lts-announce] 20200715 [SECURITY] [DLA 2280-1] python3.5 security update mailing-list
- FEDORA-2020-b513391ca8 vendor-advisory
- FEDORA-2020-705c6ea5be vendor-advisory
- openSUSE-SU-2020:0989 vendor-advisory
- openSUSE-SU-2020:1002 vendor-advisory
- FEDORA-2020-dfb11916cc vendor-advisory
- USN-4428-1 vendor-advisory
- FEDORA-2020-c3b07cc5c9 vendor-advisory
- FEDORA-2020-bb919e575e vendor-advisory
- GLSA-202008-01 vendor-advisory
- FEDORA-2020-1ddd5273d6 vendor-advisory
- FEDORA-2020-87c0a0a52d vendor-advisory
- FEDORA-2020-efb908b6a8 vendor-advisory
- FEDORA-2020-d808fdd597 vendor-advisory
- FEDORA-2020-982b2950db vendor-advisory
- FEDORA-2020-c539babb0a vendor-advisory
…and 5 more