summaryrefslogtreecommitdiff
blob: f5a9db52fff52bde11124177135e94e1394f37b6 (plain)
1
CVE-2020-14422: The __hash__() methods of  ipaddress.IPv4Interface and ipaddress.IPv6Interface incorrectly generated constant hash values of 32 and 128 respectively. This resulted in always causing hash collisions. The fix uses hash() to generate hash values for the tuple of (address, mask length, network address).