Vulnerability CVE-2021-33571: Information

Description

In Django 2.2 before 2.2.24, 3.x before 3.1.12, and 3.2 before 3.2.4, URLValidator, validate_ipv4_address, and validate_ipv46_address do not prohibit leading zero characters in octal literals. This may allow a bypass of access control that is based on IP addresses. (validate_ipv4_address and validate_ipv46_address are unaffected with Python 3.9.5+..) .

Severity: HIGH (7.5) Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Published: June 8, 2021
Modified: Dec. 8, 2023
Error type identifier: CWE-918

Fixed packages

Package name
Branch
Fixed in version
Version from repository
Errata ID
Task #
State
python3-module-djangosisyphus2.2.24-alt14.2.13-alt1ALT-PU-2021-2228-1278798Fixed
python3-module-djangop102.2.24-alt13.2.25-alt1ALT-PU-2021-2228-1278798Fixed
python3-module-djangop92.2.25-alt12.2.25-alt1ALT-PU-2021-3619-1292358Fixed
python3-module-djangop9_e2k2.2.25-alt12.2.25-alt1ALT-PU-2022-3862-1-Fixed
python3-module-djangoc10f12.2.24-alt13.2.25-alt1ALT-PU-2021-2228-1278798Fixed
python3-module-djangop112.2.24-alt14.2.13-alt1ALT-PU-2021-2228-1278798Fixed

References to Advisories, Solutions, and Tools

    1. Configuration 1

      cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
      Start including
      3.2
      End excliding
      3.2.4

      cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
      Start including
      3.0
      End excliding
      3.1.12

      cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
      Start including
      2.2
      End excliding
      2.2.24

      Configuration 2

      cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*