{
    "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2021-29921",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "n/a",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "n/a"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "n/a"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "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."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "n/a"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "url": "https://github.com/sickcodes",
                "refsource": "MISC",
                "name": "https://github.com/sickcodes"
            },
            {
                "url": "https://docs.python.org/3/library/ipaddress.html",
                "refsource": "MISC",
                "name": "https://docs.python.org/3/library/ipaddress.html"
            },
            {
                "url": "https://github.com/python/cpython/blob/63298930fb531ba2bb4f23bc3b915dbf1e17e9e1/Misc/NEWS.d/3.8.0a4.rst",
                "refsource": "MISC",
                "name": "https://github.com/python/cpython/blob/63298930fb531ba2bb4f23bc3b915dbf1e17e9e1/Misc/NEWS.d/3.8.0a4.rst"
            },
            {
                "refsource": "MISC",
                "name": "https://sick.codes/sick-2021-014",
                "url": "https://sick.codes/sick-2021-014"
            },
            {
                "url": "https://www.oracle.com//security-alerts/cpujul2021.html",
                "refsource": "MISC",
                "name": "https://www.oracle.com//security-alerts/cpujul2021.html"
            },
            {
                "refsource": "MISC",
                "name": "https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-014.md",
                "url": "https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-014.md"
            },
            {
                "refsource": "MISC",
                "name": "https://python-security.readthedocs.io/vuln/ipaddress-ipv4-leading-zeros.html",
                "url": "https://python-security.readthedocs.io/vuln/ipaddress-ipv4-leading-zeros.html"
            },
            {
                "refsource": "MISC",
                "name": "https://bugs.python.org/issue36384",
                "url": "https://bugs.python.org/issue36384"
            },
            {
                "refsource": "MISC",
                "name": "https://github.com/python/cpython/pull/12577",
                "url": "https://github.com/python/cpython/pull/12577"
            },
            {
                "refsource": "MISC",
                "name": "https://github.com/python/cpython/pull/25099",
                "url": "https://github.com/python/cpython/pull/25099"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://security.netapp.com/advisory/ntap-20210622-0003/",
                "url": "https://security.netapp.com/advisory/ntap-20210622-0003/"
            },
            {
                "url": "https://www.oracle.com/security-alerts/cpuoct2021.html",
                "refsource": "MISC",
                "name": "https://www.oracle.com/security-alerts/cpuoct2021.html"
            },
            {
                "url": "https://www.oracle.com/security-alerts/cpujan2022.html",
                "refsource": "MISC",
                "name": "https://www.oracle.com/security-alerts/cpujan2022.html"
            },
            {
                "url": "https://www.oracle.com/security-alerts/cpuapr2022.html",
                "refsource": "MISC",
                "name": "https://www.oracle.com/security-alerts/cpuapr2022.html"
            },
            {
                "url": "https://www.oracle.com/security-alerts/cpujul2022.html",
                "refsource": "MISC",
                "name": "https://www.oracle.com/security-alerts/cpujul2022.html"
            },
            {
                "refsource": "GENTOO",
                "name": "GLSA-202305-02",
                "url": "https://security.gentoo.org/glsa/202305-02"
            }
        ]
    }
}