CVE-2021-32052

NameCVE-2021-32052
DescriptionIn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub advisories/code/issues, web search, more)
Debian Bugs988136

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python-django (PTS)buster, buster (security)1:1.11.29-1~deb10u1vulnerable
bullseye2:2.2.26-1~deb11u1fixed
bookworm, sid3:3.2.15-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python-djangosource(unstable)2:2.2.22-1unimportant988136

Notes

https://www.djangoproject.com/weblog/2021/may/06/security-releases/
Only an issue in combination with python3.9 3.9.5+

Search for package or bug name: Reporting problems