Your submission was sent successfully! Close

Thank you for contacting us. A member of our team will be in touch shortly. Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

CVE-2021-32052

Publication date 6 May 2021

Last updated 24 July 2024


Ubuntu priority

Cvss 3 Severity Score

6.1 · Medium

Score breakdown

In Django 2.2 before 2.2.22, 3.1 before 3.1.10, and 3.2 before 3.2.2 (with Python 3.9.5+), URLValidator does not prohibit newlines and tabs (unless the URLField form field is used). If an application uses values with newlines in an HTTP response, header injection can occur. Django itself is unaffected because HttpResponse prohibits newlines in HTTP headers.

Read the notes from the security team

Status

Package Ubuntu Release Status
python-django 22.04 LTS jammy
Fixed 2:2.2.22-1
21.10 impish
Fixed 2:2.2.22-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
Fixed 1:1.11.11-1ubuntu1.17
16.04 LTS xenial
Not affected
14.04 LTS trusty
Not affected

Notes


alexmurray

Requires Python 3.9.5 or greater which is only present in impish+


mdeslaur

Python 3.9.5 is now being backported to focal+, so this now needs to be fixed While this was originally marked as not-affected for bionic, a subsequent security update introduced the behaviour change in bionic which resulted in this CVE needing to be fixed.

Severity score breakdown

Parameter Value
Base score 6.1 · Medium
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Scope Changed
Confidentiality Low
Integrity impact Low
Availability impact None
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N