Name | CVE-2023-31047 |
Description | In Django 3.2 before 3.2.19, 4.x before 4.1.9, and 4.2 before 4.2.1, it was possible to bypass validation when using one form field to upload multiple files. This multiple upload has never been supported by forms.FileField or forms.ImageField (only the last uploaded file was validated). However, Django's "Uploading multiple files" documentation suggested otherwise. |
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-3415-1, ELA-914-1 |
Debian Bugs | 1035467 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
python-django (PTS) | jessie, jessie (lts) | 1.7.11-1+deb8u17 | vulnerable |
stretch (security) | 1:1.10.7-2+deb9u17 | vulnerable | |
stretch (lts), stretch | 1:1.10.7-2+deb9u23 | fixed | |
buster, buster (lts) | 1:1.11.29-1+deb10u12 | fixed | |
buster (security) | 1:1.11.29-1+deb10u11 | fixed | |
bullseye (security), bullseye | 2:2.2.28-1~deb11u2 | fixed | |
bookworm (security), bookworm | 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+deb9u20 | ELA-914-1 | ||
python-django | source | buster | 1:1.11.29-1+deb10u8 | DLA-3415-1 | ||
python-django | source | bullseye | 2:2.2.28-1~deb11u2 | |||
python-django | source | (unstable) | 3:3.2.19-1 | 1035467 |
https://www.djangoproject.com/weblog/2023/may/03/security-releases/
https://github.com/django/django/commit/fb4c55d9ec4bb812a7fb91fa20510d91645e411b (main)
https://github.com/django/django/commit/eed53d0011622e70b936e203005f0e6f4ac48965 (3.2.19)
https://www.openwall.com/lists/oss-security/2023/05/03/1
[jessie] - python-django <ignored> (Minor issue; invasive patch)