Upstream information

CVE-2021-32052 at MITRE

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.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having moderate severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 4.3
Vector AV:N/AC:M/Au:N/C:N/I:P/A:N
Access Vector Network
Access Complexity Medium
Authentication None
Confidentiality Impact None
Integrity Impact Partial
Availability Impact None
CVSS v3 Scores
  National Vulnerability Database SUSE
Base Score 6.1 5.4
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Attack Vector Network Network
Attack Complexity Low Low
Privileges Required None None
User Interaction Required Required
Scope Changed Unchanged
Confidentiality Impact Low Low
Integrity Impact Low Low
Availability Impact None None
CVSSv3 Version 3.1 3.1
SUSE Bugzilla entry: 1185713 [RESOLVED / FIXED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
SUSE Package Hub 15 SP3
  • python3-Django >= 2.2.28-bp153.2.3.1
Patchnames:
openSUSE-2023-5
openSUSE Leap 15.3
  • python3-Django >= 2.2.28-bp153.2.3.1
Patchnames:
openSUSE-2023-5
openSUSE Tumbleweed
  • python310-Django >= 4.2.11-2.1
  • python310-Django4 >= 4.2.14-1.1
  • python311-Django >= 4.2.11-2.1
  • python311-Django4 >= 4.2.14-1.1
  • python312-Django >= 4.2.11-2.1
  • python312-Django4 >= 4.2.14-1.1
  • python36-Django >= 3.2.7-2.3
  • python38-Django >= 3.2.7-2.3
  • python39-Django >= 3.2.7-2.3
Patchnames:
openSUSE-Tumbleweed-2024-11205
openSUSE-Tumbleweed-2024-13887
openSUSE-Tumbleweed-2024-14208


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Linux Enterprise Module for Package Hub 15 SP6 python-Django Already fixed
openSUSE Leap 15.6 python-Django Already fixed
Products past their end of life and not receiving proactive updates anymore.
HPE Helion OpenStack 8 python-Django Ignore
SUSE OpenStack Cloud 7 python-Django Ignore
SUSE OpenStack Cloud 8 python-Django Ignore
SUSE OpenStack Cloud 9 python-Django1 Ignore
SUSE OpenStack Cloud Crowbar 8 python-Django Ignore
SUSE OpenStack Cloud Crowbar 9 python-Django1 Ignore
SUSE Package Hub 15 SP3 python-Django Released


SUSE Timeline for this CVE

CVE page created: Thu May 6 11:18:58 2021
CVE page last modified: Tue Sep 3 19:20:35 2024