CVE-2021-28658

NameCVE-2021-28658
DescriptionIn Django 2.2 before 2.2.20, 3.0 before 3.0.14, and 3.1 before 3.1.8, MultiPartParser allowed directory traversal via uploaded files with suitably crafted file names. Built-in upload handlers were not affected by this vulnerability.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2622-1, DLA-3744-1, ELA-402-1
Debian Bugs986447

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python-django (PTS)jessie, jessie (lts)1.7.11-1+deb8u17fixed
stretch (security)1:1.10.7-2+deb9u17fixed
stretch (lts), stretch1:1.10.7-2+deb9u23fixed
buster, buster (lts)1:1.11.29-1+deb10u12fixed
buster (security)1:1.11.29-1+deb10u11fixed
bullseye (security), bullseye2:2.2.28-1~deb11u2fixed
bookworm (security), bookworm3:3.2.19-1+deb12u1fixed
sid, trixie3:4.2.16-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python-djangosourcejessie1.7.11-1+deb8u12ELA-402-1
python-djangosourcestretch1:1.10.7-2+deb9u12DLA-2622-1
python-djangosourcebuster1:1.11.29-1+deb10u11DLA-3744-1
python-djangosource(unstable)2:2.2.20-1986447

Notes

https://www.djangoproject.com/weblog/2021/apr/06/security-releases/
https://github.com/django/django/commit/d4d800ca1addc4141e03c5440a849bb64d1582cd (main)
https://github.com/django/django/commit/4036d62bda0e9e9f6172943794b744a454ca49c2 (2.2.20)

Search for package or bug name: Reporting problems