Search for vulnerabilities
Vulnerability details: VCID-y2w8-eze9-aaar
Vulnerability ID VCID-y2w8-eze9-aaar
Aliases CVE-2021-29921
Summary 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.
Status Published
Exploitability 0.5
Weighted Severity 8.8
Risk 4.4
Affected and Fixed Packages Package Details
Weaknesses (1)
System Score Found at
generic_textual Medium http://people.canonical.com/~ubuntu-security/cve/2021/CVE-2021-29921.html
rhas Moderate https://access.redhat.com/errata/RHSA-2021:3254
rhas Moderate https://access.redhat.com/errata/RHSA-2021:4160
rhas Moderate https://access.redhat.com/errata/RHSA-2021:4162
cvssv3 9.1 https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-29921.json
epss 0.00800 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.00800 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.00800 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.00800 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.00800 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.00800 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.00800 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.00800 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.00800 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.00800 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.00800 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.00905 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.00905 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.00905 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.00905 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01822 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01822 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01822 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01822 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01822 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01822 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01822 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01822 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01822 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01822 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01822 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01822 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01822 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01822 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01822 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01822 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01822 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01822 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01822 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01822 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01822 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01822 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01822 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01822 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01822 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01822 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01822 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01822 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01822 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01822 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01822 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01822 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01822 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01822 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01822 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01822 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01822 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01822 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01822 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01822 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01822 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01822 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01887 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01887 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01887 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01887 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01887 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01887 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01887 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01887 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01887 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01887 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01887 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01887 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01887 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01887 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01887 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01887 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01887 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01887 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01887 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.01887 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.03049 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.03049 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.03049 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.03049 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.03049 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
epss 0.08036 https://api.first.org/data/v1/epss?cve=CVE-2021-29921
rhbs medium https://bugzilla.redhat.com/show_bug.cgi?id=1957458
generic_textual Medium https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29921
generic_textual Medium https://docs.python.org/3/library/ipaddress.html
cvssv3.1 8.6 https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
generic_textual Medium https://github.com/python/cpython/blob/63298930fb531ba2bb4f23bc3b915dbf1e17e9e1/Misc/NEWS.d/3.8.0a4.rst
generic_textual Medium https://github.com/python/cpython/pull/12577
generic_textual Medium https://github.com/python/cpython/pull/25099
generic_textual Medium https://github.com/sickcodes
generic_textual Medium https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-014.md
cvssv2 7.5 https://nvd.nist.gov/vuln/detail/CVE-2021-29921
cvssv3 9.8 https://nvd.nist.gov/vuln/detail/CVE-2021-29921
cvssv3.1 9.8 https://nvd.nist.gov/vuln/detail/CVE-2021-29921
generic_textual Medium https://python-security.readthedocs.io/vuln/ipaddress-ipv4-leading-zeros.html
archlinux Medium https://security.archlinux.org/AVG-1913
cvssv3.1 9.8 https://security.gentoo.org/glsa/202305-02
generic_textual CRITICAL https://security.gentoo.org/glsa/202305-02
generic_textual Medium https://sick.codes/sick-2021-014
generic_textual Medium https://ubuntu.com/security/notices/USN-4973-1
generic_textual Medium https://ubuntu.com/security/notices/USN-4973-2
cvssv3.1 5.3 https://www.oracle.com/security-alerts/cpuapr2022.html
generic_textual MODERATE https://www.oracle.com/security-alerts/cpuapr2022.html
cvssv3.1 6.6 https://www.oracle.com/security-alerts/cpujan2022.html
generic_textual MODERATE https://www.oracle.com/security-alerts/cpujan2022.html
cvssv3.1 5.3 https://www.oracle.com//security-alerts/cpujul2021.html
generic_textual MODERATE https://www.oracle.com//security-alerts/cpujul2021.html
cvssv3.1 7.5 https://www.oracle.com/security-alerts/cpujul2022.html
generic_textual HIGH https://www.oracle.com/security-alerts/cpujul2022.html
cvssv3.1 8.2 https://www.oracle.com/security-alerts/cpuoct2021.html
generic_textual HIGH https://www.oracle.com/security-alerts/cpuoct2021.html
Reference id Reference type URL
http://people.canonical.com/~ubuntu-security/cve/2021/CVE-2021-29921.html
https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-29921.json
https://api.first.org/data/v1/epss?cve=CVE-2021-29921
https://bugs.python.org/issue36384
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29921
https://docs.python.org/3/library/ipaddress.html
https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
https://github.com/python/cpython/blob/63298930fb531ba2bb4f23bc3b915dbf1e17e9e1/Misc/NEWS.d/3.8.0a4.rst
https://github.com/python/cpython/pull/12577
https://github.com/python/cpython/pull/25099
https://github.com/sickcodes
https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-014.md
https://python-security.readthedocs.io/vuln/ipaddress-ipv4-leading-zeros.html
https://security.gentoo.org/glsa/202305-02
https://security.netapp.com/advisory/ntap-20210622-0003/
https://sick.codes/sick-2021-014
https://ubuntu.com/security/notices/USN-4973-1
https://ubuntu.com/security/notices/USN-4973-2
https://www.oracle.com/security-alerts/cpuapr2022.html
https://www.oracle.com/security-alerts/cpujan2022.html
https://www.oracle.com//security-alerts/cpujul2021.html
https://www.oracle.com/security-alerts/cpujul2022.html
https://www.oracle.com/security-alerts/cpuoct2021.html
1957458 https://bugzilla.redhat.com/show_bug.cgi?id=1957458
989195 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=989195
AVG-1913 https://security.archlinux.org/AVG-1913
cpe:2.3:a:oracle:communications_cloud_native_core_automated_test_suite:1.8.0:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:oracle:communications_cloud_native_core_automated_test_suite:1.8.0:*:*:*:*:*:*:*
cpe:2.3:a:oracle:communications_cloud_native_core_binding_support_function:1.11.0:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:oracle:communications_cloud_native_core_binding_support_function:1.11.0:*:*:*:*:*:*:*
cpe:2.3:a:oracle:communications_cloud_native_core_network_slice_selection_function:1.8.0:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:oracle:communications_cloud_native_core_network_slice_selection_function:1.8.0:*:*:*:*:*:*:*
cpe:2.3:a:oracle:graalvm:20.3.2:*:*:*:enterprise:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:oracle:graalvm:20.3.2:*:*:*:enterprise:*:*:*
cpe:2.3:a:oracle:graalvm:21.1.0:*:*:*:enterprise:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:oracle:graalvm:21.1.0:*:*:*:enterprise:*:*:*
cpe:2.3:a:oracle:zfs_storage_appliance_kit:8.8:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:oracle:zfs_storage_appliance_kit:8.8:*:*:*:*:*:*:*
cpe:2.3:a:python:python:*:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
CVE-2021-29921 https://nvd.nist.gov/vuln/detail/CVE-2021-29921
RHSA-2021:3254 https://access.redhat.com/errata/RHSA-2021:3254
RHSA-2021:4160 https://access.redhat.com/errata/RHSA-2021:4160
RHSA-2021:4162 https://access.redhat.com/errata/RHSA-2021:4162
USN-4973-1 https://usn.ubuntu.com/4973-1/
USN-4973-2 https://usn.ubuntu.com/4973-2/
USN-6891-1 https://usn.ubuntu.com/6891-1/
No exploits are available.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N Found at https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-29921.json
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H Found at https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P Found at https://nvd.nist.gov/vuln/detail/CVE-2021-29921
Exploitability (E) Access Vector (AV) Access Complexity (AC) Authentication (Au) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

high

functional

unproven

proof_of_concept

not_defined

local

adjacent_network

network

high

medium

low

multiple

single

none

none

partial

complete

none

partial

complete

none

partial

complete

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Found at https://nvd.nist.gov/vuln/detail/CVE-2021-29921
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Found at https://nvd.nist.gov/vuln/detail/CVE-2021-29921
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Found at https://security.gentoo.org/glsa/202305-02
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N Found at https://www.oracle.com/security-alerts/cpuapr2022.html
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H Found at https://www.oracle.com/security-alerts/cpujan2022.html
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N Found at https://www.oracle.com//security-alerts/cpujul2021.html
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N Found at https://www.oracle.com/security-alerts/cpujul2022.html
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N Found at https://www.oracle.com/security-alerts/cpuoct2021.html
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Exploit Prediction Scoring System (EPSS)
Percentile 0.82106
EPSS Score 0.00800
Published At Nov. 1, 2024, midnight
Date Actor Action Source VulnerableCode Version
There are no relevant records.