VYPR
Moderate severityNVD Advisory· Published May 6, 2021· Updated Aug 3, 2024

CVE-2021-32052

CVE-2021-32052

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
DjangoPyPI
>= 2.2, < 2.2.222.2.22
DjangoPyPI
>= 3.1, < 3.1.103.1.10
DjangoPyPI
>= 3.2, < 3.2.23.2.2

Affected products

8

Patches

Vulnerability mechanics

References

16

News mentions

0

No linked articles in our index yet.