CVE-2020-14422

NameCVE-2020-14422
DescriptionLib/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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2280-1, DLA-3424-1, ELA-239-1, ELA-859-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python-ipaddress (PTS)stretch (lts), stretch1.0.17-1+deb9u1fixed
buster1.0.17-1vulnerable
buster (security)1.0.17-1+deb10u1fixed
bullseye1.0.23-1vulnerable
python2.7 (PTS)jessie, jessie (lts)2.7.9-2-ds1-1+deb8u12fixed
stretch (security)2.7.13-2+deb9u6fixed
stretch (lts), stretch2.7.13-2+deb9u9fixed
buster2.7.16-2+deb10u1fixed
buster (security)2.7.16-2+deb10u4fixed
bullseye2.7.18-8+deb11u1fixed
python3.4 (PTS)jessie, jessie (lts)3.4.2-1+deb8u17fixed
python3.5 (PTS)stretch (security)3.5.3-1+deb9u5fixed
stretch (lts), stretch3.5.3-1+deb9u9fixed
python3.7 (PTS)buster3.7.3-2+deb10u3fixed
buster (security)3.7.3-2+deb10u7fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python-ipaddresssourcestretch1.0.17-1+deb9u1ELA-859-1
python-ipaddresssourcebuster1.0.17-1+deb10u1DLA-3424-1
python-ipaddresssource(unstable)(unfixed)
python2.7source(unstable)(not affected)
python3.4sourcejessie3.4.2-1+deb8u8ELA-239-1
python3.4source(unstable)(unfixed)
python3.5sourcestretch3.5.3-1+deb9u2DLA-2280-1
python3.5source(unstable)(unfixed)
python3.7sourcebuster3.7.3-2+deb10u2
python3.7source(unstable)(unfixed)
python3.8source(unstable)3.8.4~rc1-1

Notes

[jessie] - python3.4 <postponed> (Minor issue, DoS with constraints)
- python2.7 <not-affected> (ipaddress module introduced in 3.3)
[bullseye] - python-ipaddress <no-dsa> (Minor issue)
https://bugs.python.org/issue41004
https://github.com/python/cpython/pull/20956
https://github.com/python/cpython/pull/21033
https://github.com/python/cpython/commit/b30ee26e366bf509b7538d79bfec6c6d38d53f28 (master)
https://github.com/python/cpython/commit/9a646aa82dfa62d70ca2a99ada901ee6cf9f82bd (3.9-branch)
https://github.com/python/cpython/commit/dc8ce8ead182de46584cc1ed8a8c51d48240cbd5 (v3.8.4rc1)
https://github.com/python/cpython/commit/b98e7790c77a4378ec4b1c71b84138cb930b69b7 (3.7-branch)
https://github.com/python/cpython/commit/cfc7ff8d05f7a949a88b8a8dd506fb5c1c30d3e9 (3.6-branch)

Search for package or bug name: Reporting problems