Lucene search

K
ubuntucveUbuntu.comUB:CVE-2021-32052
HistoryMay 06, 2021 - 12:00 a.m.

CVE-2021-32052

2021-05-0600:00:00
ubuntu.com
ubuntu.com
11

6.1 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

4.3 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

0.002 Low

EPSS

Percentile

52.7%

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.

Bugs

Notes

Author Note
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.
OSVersionArchitecturePackageVersionFilename
ubuntu18.04noarchpython-django< 1:1.11.11-1ubuntu1.17UNKNOWN
ubuntu20.04noarchpython-django< 2:2.2.12-1ubuntu0.7UNKNOWN
ubuntu20.10noarchpython-django< 2:2.2.16-1ubuntu0.5UNKNOWN
ubuntu21.04noarchpython-django< 2:2.2.20-1ubuntu0.2UNKNOWN
ubuntu21.10noarchpython-django< 2:2.2.22-1UNKNOWN
ubuntu22.04noarchpython-django< 2:2.2.22-1UNKNOWN

6.1 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

4.3 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

0.002 Low

EPSS

Percentile

52.7%