usn-4973-2
Vulnerability from osv_ubuntu
Published
2021-10-04 12:04
Modified
2026-04-22 07:36
Summary
python3.8 vulnerability
Details

USN-4973-1 fixed this vulnerability previously, but it was re-introduced in python3.8 in focal because of the SRU in LP: #1928057. This update fixes the problem.

Original advisory details:

It was discovered that the Python stdlib ipaddress API incorrectly handled octal strings. A remote attacker could possibly use this issue to perform a wide variety of attacks, including bypassing certain access restrictions.


{
  "affected": [
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2021-29921",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:20.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "idle-python3.8",
            "binary_version": "3.8.10-0ubuntu1~20.04.1"
          },
          {
            "binary_name": "libpython3.8",
            "binary_version": "3.8.10-0ubuntu1~20.04.1"
          },
          {
            "binary_name": "libpython3.8-minimal",
            "binary_version": "3.8.10-0ubuntu1~20.04.1"
          },
          {
            "binary_name": "libpython3.8-stdlib",
            "binary_version": "3.8.10-0ubuntu1~20.04.1"
          },
          {
            "binary_name": "libpython3.8-testsuite",
            "binary_version": "3.8.10-0ubuntu1~20.04.1"
          },
          {
            "binary_name": "python3.8",
            "binary_version": "3.8.10-0ubuntu1~20.04.1"
          },
          {
            "binary_name": "python3.8-examples",
            "binary_version": "3.8.10-0ubuntu1~20.04.1"
          },
          {
            "binary_name": "python3.8-full",
            "binary_version": "3.8.10-0ubuntu1~20.04.1"
          },
          {
            "binary_name": "python3.8-minimal",
            "binary_version": "3.8.10-0ubuntu1~20.04.1"
          },
          {
            "binary_name": "python3.8-venv",
            "binary_version": "3.8.10-0ubuntu1~20.04.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "python3.8",
        "purl": "pkg:deb/ubuntu/python3.8@3.8.10-0ubuntu1~20.04.1?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.8.10-0ubuntu1~20.04.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.8.0-1",
        "3.8.0-2",
        "3.8.0-3",
        "3.8.0-4",
        "3.8.0-5",
        "3.8.1-2ubuntu3",
        "3.8.2~rc1-1ubuntu1",
        "3.8.2-1",
        "3.8.2-1ubuntu1",
        "3.8.2-1ubuntu1.1",
        "3.8.2-1ubuntu1.2",
        "3.8.5-1~20.04",
        "3.8.5-1~20.04.2",
        "3.8.5-1~20.04.3",
        "3.8.10-0ubuntu1~20.04"
      ]
    }
  ],
  "aliases": [],
  "details": "USN-4973-1 fixed this vulnerability previously, but it was re-introduced\nin python3.8 in focal because of the SRU in LP: #1928057. This update fixes\nthe problem.\n\nOriginal advisory details:\n\n It was discovered that the Python stdlib ipaddress API incorrectly handled\n octal strings. A remote attacker could possibly use this issue to perform a\n wide variety of attacks, including bypassing certain access restrictions.\n",
  "id": "USN-4973-2",
  "modified": "2026-04-22T07:36:59Z",
  "published": "2021-10-04T12:04:34Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-4973-2"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2021-29921"
    },
    {
      "type": "REPORT",
      "url": "https://launchpad.net/bugs/1945240"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "summary": "python3.8 vulnerability",
  "upstream": [
    "UBUNTU-CVE-2021-29921"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…