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.

INFO

Published Date :

May 6, 2021, 1:15 p.m.

Last Modified :

May 3, 2023, 11:15 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2021-29921 has a 3 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2021-29921 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Oracle zfs_storage_appliance_kit
2 Oracle communications_cloud_native_core_network_slice_selection_function
3 Oracle communications_cloud_native_core_automated_test_suite
4 Oracle graalvm
5 Oracle communications_cloud_native_core_binding_support_function
1 Python python

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

ipv4mix creates various mixed representations of a specified IPv4 address. It outputs the IP in different formats, including decimal, hexadecimal, octal, and their combinations, providing a versatile view of the address.

Dockerfile Go

Updated: 3 months ago
0 stars 0 fork 0 watcher
Born at : Aug. 16, 2024, 8:04 p.m. This repo has been linked 4 different CVEs too.

This tool is used for backdoor,shellcode generation,Information retrieval and POC arrangement for various architecture devices

iot security exploit linux python reverse-shell poc cve

Python Shell

Updated: 2 months, 2 weeks ago
175 stars 27 fork 27 watcher
Born at : April 26, 2022, 6:32 a.m. This repo has been linked 4 different CVEs too.

分类和整理自己看过的所有文章,方便知识体系的建立和查漏补缺

Updated: 2 months, 2 weeks ago
156 stars 21 fork 21 watcher
Born at : Feb. 10, 2021, 6:15 p.m. This repo has been linked 6 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-29921 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-29921 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    May. 03, 2023

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/202305-02 [No Types Assigned]
  • CVE Modified by [email protected]

    Jul. 25, 2022

    Action Type Old Value New Value
    Added Reference https://www.oracle.com/security-alerts/cpujul2022.html [No Types Assigned]
  • CWE Remap by [email protected]

    Jul. 12, 2022

    Action Type Old Value New Value
    Changed CWE CWE-20 NVD-CWE-Other
  • Modified Analysis by [email protected]

    May. 12, 2022

    Action Type Old Value New Value
    Changed Reference Type https://www.oracle.com/security-alerts/cpuapr2022.html No Types Assigned https://www.oracle.com/security-alerts/cpuapr2022.html Patch, Third Party Advisory
    Changed CPE Configuration OR *cpe:2.3:a:oracle:communications_cloud_native_core_automated_test_suite:1.8.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:graalvm:20.3.2:*:*:*:enterprise:*:*:* *cpe:2.3:a:oracle:graalvm:21.1.0:*:*:*:enterprise:*:*:* *cpe:2.3:a:oracle:zfs_storage_appliance_kit:8.8:*:*:*:*:*:*:* OR *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:*:*:*:*:*:*:* *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:*:*:* *cpe:2.3:a:oracle:graalvm:21.1.0:*:*:*:enterprise:*:*:* *cpe:2.3:a:oracle:zfs_storage_appliance_kit:8.8:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Apr. 20, 2022

    Action Type Old Value New Value
    Added Reference https://www.oracle.com/security-alerts/cpuapr2022.html [No Types Assigned]
  • Modified Analysis by [email protected]

    Mar. 01, 2022

    Action Type Old Value New Value
    Changed Reference Type https://www.oracle.com//security-alerts/cpujul2021.html Third Party Advisory https://www.oracle.com//security-alerts/cpujul2021.html Patch, Third Party Advisory
    Changed Reference Type https://www.oracle.com/security-alerts/cpujan2022.html No Types Assigned https://www.oracle.com/security-alerts/cpujan2022.html Patch, Third Party Advisory
    Changed Reference Type https://www.oracle.com/security-alerts/cpuoct2021.html Third Party Advisory https://www.oracle.com/security-alerts/cpuoct2021.html Patch, Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:oracle:communications_cloud_native_core_automated_test_suite:1.8.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:graalvm:20.3.2:*:*:*:enterprise:*:*:* *cpe:2.3:a:oracle:graalvm:21.1.0:*:*:*:enterprise:*:*:* *cpe:2.3:a:oracle:zfs_storage_appliance_kit:8.8:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Feb. 07, 2022

    Action Type Old Value New Value
    Added Reference https://www.oracle.com/security-alerts/cpujan2022.html [No Types Assigned]
  • Modified Analysis by [email protected]

    Nov. 29, 2021

    Action Type Old Value New Value
    Changed Reference Type https://security.netapp.com/advisory/ntap-20210622-0003/ No Types Assigned https://security.netapp.com/advisory/ntap-20210622-0003/ Third Party Advisory
    Changed Reference Type https://www.oracle.com//security-alerts/cpujul2021.html No Types Assigned https://www.oracle.com//security-alerts/cpujul2021.html Third Party Advisory
    Changed Reference Type https://www.oracle.com/security-alerts/cpuoct2021.html No Types Assigned https://www.oracle.com/security-alerts/cpuoct2021.html Third Party Advisory
    Changed CPE Configuration OR *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions from (including) 3.8.0 up to (excluding) 3.9.5 OR *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions from (including) 3.8.0 up to (excluding) 3.8.12 *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions from (including) 3.9.0 up to (excluding) 3.9.5
  • CVE Modified by [email protected]

    Oct. 20, 2021

    Action Type Old Value New Value
    Added Reference https://www.oracle.com/security-alerts/cpuoct2021.html [No Types Assigned]
  • CVE Modified by [email protected]

    Jul. 20, 2021

    Action Type Old Value New Value
    Added Reference https://www.oracle.com//security-alerts/cpujul2021.html [No Types Assigned]
  • CVE Modified by [email protected]

    Jun. 22, 2021

    Action Type Old Value New Value
    Added Reference https://security.netapp.com/advisory/ntap-20210622-0003/ [No Types Assigned]
  • Modified Analysis by [email protected]

    Jun. 01, 2021

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    May. 24, 2021

    Action Type Old Value New Value
    Changed Description Improper input validation of octal strings in Python stdlib ipaddress 3.10 and below allows unauthenticated remote attackers to perform indeterminate SSRF, RFI, and LFI attacks on many programs that rely on Python stdlib ipaddress. IP address octects are left stripped instead of evaluated as valid IP addresses. 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.
  • Reanalysis by [email protected]

    May. 21, 2021

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions from (including) 3.8.0 up to (including) 3.10.0 OR *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions from (including) 3.8.0 up to (excluding) 3.9.5
  • Initial Analysis by [email protected]

    May. 14, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://bugs.python.org/issue36384 No Types Assigned https://bugs.python.org/issue36384 Issue Tracking, Patch, Vendor Advisory
    Changed Reference Type https://docs.python.org/3/library/ipaddress.html No Types Assigned https://docs.python.org/3/library/ipaddress.html Vendor Advisory
    Changed Reference Type https://github.com/python/cpython/blob/63298930fb531ba2bb4f23bc3b915dbf1e17e9e1/Misc/NEWS.d/3.8.0a4.rst No Types Assigned https://github.com/python/cpython/blob/63298930fb531ba2bb4f23bc3b915dbf1e17e9e1/Misc/NEWS.d/3.8.0a4.rst Third Party Advisory
    Changed Reference Type https://github.com/python/cpython/pull/12577 No Types Assigned https://github.com/python/cpython/pull/12577 Patch, Third Party Advisory
    Changed Reference Type https://github.com/python/cpython/pull/25099 No Types Assigned https://github.com/python/cpython/pull/25099 Patch, Third Party Advisory
    Changed Reference Type https://github.com/sickcodes No Types Assigned https://github.com/sickcodes Third Party Advisory
    Changed Reference Type https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-014.md No Types Assigned https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-014.md Exploit, Third Party Advisory
    Changed Reference Type https://python-security.readthedocs.io/vuln/ipaddress-ipv4-leading-zeros.html No Types Assigned https://python-security.readthedocs.io/vuln/ipaddress-ipv4-leading-zeros.html Vendor Advisory
    Changed Reference Type https://sick.codes/sick-2021-014 No Types Assigned https://sick.codes/sick-2021-014 Exploit, Third Party Advisory
    Added CWE NIST CWE-20
    Added CPE Configuration OR *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions from (including) 3.8.0 up to (including) 3.10.0
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-29921 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-29921 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.80 }} 0.06%

score

0.79771

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability