Vulnerability CVE-2021-32052: Information
Description
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.
Severity: MEDIUM (6.1) Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Fixed packages
Package name | Branch | Fixed in version | Version from repository | Errata ID | Task # | State |
---|---|---|---|---|---|---|
python3-module-django | sisyphus | 2.2.24-alt1 | 4.2.13-alt1 | ALT-PU-2021-2228-1 | 278798 | Fixed |
python3-module-django | p10 | 2.2.24-alt1 | 3.2.25-alt1 | ALT-PU-2021-2228-1 | 278798 | Fixed |
python3-module-django | p9 | 2.2.25-alt1 | 2.2.25-alt1 | ALT-PU-2021-3619-1 | 292358 | Fixed |
python3-module-django | p9_e2k | 2.2.25-alt1 | 2.2.25-alt1 | ALT-PU-2022-3862-1 | - | Fixed |
python3-module-django | c10f1 | 2.2.24-alt1 | 3.2.25-alt1 | ALT-PU-2021-2228-1 | 278798 | Fixed |
References to Advisories, Solutions, and Tools
Hyperlink | Resource |
---|---|
https://docs.djangoproject.com/en/3.2/releases/security/ |
|
http://www.openwall.com/lists/oss-security/2021/05/06/1 |
|
https://www.djangoproject.com/weblog/2021/may/06/security-releases/ |
|
https://security.netapp.com/advisory/ntap-20210611-0002/ |
|
https://groups.google.com/forum/#%21forum/django-announce | |
FEDORA-2021-01044b8a59 |