CVE-2021-29921Python
Critical 9.8 No auth needed
Follow: this CVE · Python · Python We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- —
- Auth required
- No
- Published
- May 6, 2021
- Updated
- Oct 8, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Python.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| python | python | ≥ 3.8.0 < 3.8.12 |
| python | python | ≥ 3.9.0 < 3.9.5 |
| oracle | communications_cloud_native_core_automated_test_suite | 1.8.0 |
| oracle | communications_cloud_native_core_binding_support_function | 1.11.0 |
| oracle | communications_cloud_native_core_network_slice_selection_function | 1.8.0 |
| oracle | graalvm | 20.3.2 |
| oracle | graalvm | 21.1.0 |
| oracle | zfs_storage_appliance_kit | 8.8 |
Official sources
References
Links published by the sources. Open them with care.
- bugs.python.org Issue Tracking Patch Vendor Advisory
- docs.python.org Vendor Advisory
- github.com Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Third Party Advisory
- github.com Exploit Third Party Advisory
- python-security.readthedocs.io Vendor Advisory
- security.gentoo.org
- security.netapp.com Third Party Advisory
- sick.codes Exploit Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- www.oracle.com
- www.oracle.com Patch Third Party Advisory
- lists.debian.org