CVE-2021-33571

Publication date 2 June 2021

Last updated 24 July 2024


Ubuntu priority

Cvss 3 Severity Score

7.5 · High

Score breakdown

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+..) .

Read the notes from the security team

Status

Package Ubuntu Release Status
python-django 22.04 LTS jammy
Fixed 2:2.2.24-1
21.10 impish
Fixed 2:2.2.24-1
21.04 hirsute
Fixed 2:2.2.20-1ubuntu0.2
20.10 groovy
Fixed 2:2.2.16-1ubuntu0.5
20.04 LTS focal
Fixed 2:2.2.12-1ubuntu0.7
18.04 LTS bionic
Not affected
16.04 LTS xenial
Not affected
14.04 LTS trusty
Not affected

Notes


mdeslaur

Python earlier than 3.8.0 is not vulnerable to CVE-2021-29921, so django in bionic and earlier do not require fixes

Severity score breakdown

Parameter Value
Base score 7.5 · High
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Scope Unchanged
Confidentiality None
Integrity impact High
Availability impact None
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

References

Related Ubuntu Security Notices (USN)

Other references