WaratekVRT Sign in

CVE-2021-29921 Python

Affected softwarePython
Severity9.8 Critical CVSS 3.1 2 scores
Published6 May 2021
Updated8 Oct 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 5 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 6.8% chance in 30 days

Waratek protection

Outside Waratek scope

A Java vulnerability, but not one Waratek protects. It affects only Java on a user's desktop (applets, Web Start, JavaFX, the installer), sits in a product the Waratek agent can't be installed into, or is in a package we don't expect in business applications. The decision below says which.

  • Protection none
  • Action not pursued none
  • Review human Researcher
  • Record active
Decided by Manual classification of this CVE in the legacy dataset
Finding A manual classification set this CVE's status to Outside Waratek scope, but the CVE names a tracked product.

CVSS

9.8 CRITICAL v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 9.8 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H NVD Primary published
CVSS 2.0 7.5 none AV:N/AC:L/Au:N/C:P/I:P/A:P NVD Primary

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update April 2022 ↗ CPU 2022-Q2 Oracle Communications / BSF (Python) (1.11.0)
Oracle Communications / NSSF (Python) (1.8.0)
Oracle Critical Patch Update January 2022 ↗ CPU 2022-Q1 Oracle Communications / ATS Framework (Python) (1.8.0)
Oracle Critical Patch Update July 2021 ↗ CPU 2021-Q3 Oracle Java SE / Python interpreter and runtime (CPython) (Oracle GraalVM Enterprise Edition: 20.3.2, 21.1.0)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Communications ATS Framework (Python) 1.8.0 1.8.0
Oracle Communications BSF (Python) 1.11.0 1.11.0
Oracle Communications NSSF (Python) 1.8.0 1.8.0
Oracle Java SE Python interpreter and runtime (CPython) Oracle GraalVM Enterprise Edition: 20.3.2, 21.1.0 20.3.2.0 · 21.1.0.0

Products and versions

6 products, 8 version entries
SourceVendorProductSchemeAffected versions
nvd oracle communications cloud native core automated test suite generic 1.8.0
nvd oracle communications cloud native core binding support function generic 1.11.0
nvd oracle communications cloud native core network slice selection function generic 1.8.0
nvd oracle graalvm javase 20.3.2 · 21.1.0
nvd oracle zfs storage appliance kit generic 8.8
nvd python python generic ≥ 3.8.0 and < 3.8.12 · ≥ 3.9.0 and < 3.9.5

Earlier manual review

A reviewer classified this CVE in an older dataset. We kept the labels and products below, but not the reviewer's reasoning.

## Manual Classification Context **Labels:** MULTIPLE, NO AUTH REMOTE EXPLOIT, PYTHON INTERPRETER AND RUNTIME (CPYTHON), HTTP, ATS FRAMEWORK (PYTHON) **Products:** ORACLE GRAALVM ENTERPRISE EDITION, ORACLE JAVA SE, ORACLE COMMUNICATIONS CLOUD NATIVE CORE AUTOMATED TEST SUITE, ORACLE COMMUNICATIONS

References

URLTags
https://bugs.python.org/issue36384 Issue Tracking, Patch, Vendor Advisory
https://docs.python.org/3/library/ipaddress.html Vendor Advisory
https://github.com/python/cpython/blob/63298930fb531ba2bb4f23bc3b915dbf1e17e9e1/Misc/NEWS.d/3.8.0a4.rst Third Party Advisory
https://github.com/python/cpython/pull/12577 Patch, Third Party Advisory
https://github.com/python/cpython/pull/25099 Patch, Third Party Advisory
https://github.com/sickcodes Third Party Advisory
https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-014.md Exploit, Third Party Advisory
https://python-security.readthedocs.io/vuln/ipaddress-ipv4-leading-zeros.html Vendor Advisory
https://security.gentoo.org/glsa/202305-02
https://security.netapp.com/advisory/ntap-20210622-0003/ Third Party Advisory

Timeline

Published2021-05-06By the CVE Program.
NVD record modified2026-10-08NVD's own last-modified date for this record.