What’s Vulnerable › Vulnerabilities

CVE-2021-29921

Description

In Python before 3,9,5, the ipaddress library mishandles leading zero characters in the octets of an IP address string. This (in some situations) allows attackers to bypass access control that is based on IP addresses.

Affected products

How to fix

Upgrade to a fixed version: Python 3.8.12, 3.9.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-29921 or the next vulnerability affects your stack