Name | CVE-2021-31542 |
Description | In Django 2.2 before 2.2.21, 3.1 before 3.1.9, and 3.2 before 3.2.1, MultiPartParser, UploadedFile, and FieldFile allowed directory traversal via uploaded files with suitably crafted file names. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-2651-1, DLA-3744-1 |
Debian Bugs | 988053 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
python-django (PTS) | bullseye (security), bullseye | 2:2.2.28-1~deb11u2 | fixed |
bookworm, bookworm (security) | 3:3.2.19-1+deb12u1 | fixed | |
trixie | 3:4.2.16-1 | fixed | |
sid | 3:4.2.17-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
python-django | source | stretch | 1:1.10.7-2+deb9u13 | DLA-2651-1 | ||
python-django | source | buster | 1:1.11.29-1+deb10u11 | DLA-3744-1 | ||
python-django | source | (unstable) | 2:2.2.21-1 | 988053 |
https://www.djangoproject.com/weblog/2021/may/04/security-releases/
https://github.com/django/django/commit/0b79eb36915d178aef5c6a7bbce71b1e76d376d3 (main)
https://github.com/django/django/commit/04ac1624bdc2fa737188401757cf95ced122d26d (2.2.21)