CVE-2023-31047

Publication date 3 May 2023

Last updated 26 August 2025


Ubuntu priority

Cvss 3 Severity Score

9.8 · Critical

Score breakdown

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.

Status

Package Ubuntu Release Status
python-django 23.04 lunar
Fixed 3:3.2.18-1ubuntu0.1
22.10 kinetic
Fixed 3:3.2.15-1ubuntu1.3
22.04 LTS jammy
Fixed 2:3.2.12-2ubuntu1.6
20.04 LTS focal
Fixed 2:2.2.12-1ubuntu0.17
18.04 LTS bionic
Fixed 1:1.11.11-1ubuntu1.21
16.04 LTS xenial
Fixed 1.8.7-1ubuntu5.15+esm7
14.04 LTS trusty
Fixed 1.6.11-0ubuntu1.3+esm6

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro 30-day free trial

Severity score breakdown

CVSS version: CVSS v3.0

Base score 9.8 · Critical

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References

Related Ubuntu Security Notices (USN)

Other references


Access our resources on patching vulnerabilities