Vulnerability · Published May 6, 2021 · Assigned by mitre

CVE-2021-32052

Medium 6.1

In plain English

A medium-severity security flaw in the python-django package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.2% (higher than 88% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)6.1Medium
Exploit odds (30 days)3.2%top 11.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12python-django2:2.2.22-1DEBIAN-CVE-2021-32052
Debian:13python-django2:2.2.22-1DEBIAN-CVE-2021-32052
Debian:14python-django2:2.2.22-1DEBIAN-CVE-2021-32052
PyPIdjango2.2.22GHSA-qm57-vhq3-3fwf
PyPIdjango2.2.22, 3.1.10, 3.2.2PYSEC-2021-8
PyPIdjango3.1.10GHSA-qm57-vhq3-3fwf
PyPIdjango3.2.2GHSA-qm57-vhq3-3fwf

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References