Shellfeed logo Shellfeed

CVE-2023-31047 · CRITICAL (CVSS 9.8)

Summary: 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.

Details

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.

Severity

CRITICAL (CVSS 9.8) — vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

  • PyPI django [3.2a1 – 3.2.19]
  • PyPI django [4.0a1 – 4.1.9]
  • PyPI django [4.2a1 – 4.2.1]
  • GIT github.com/django/django [3591e1c1acbd7c13174275367c3fdf012cb0413b – fc42edd2e63e89a80e7ca81486291f74359ef8be] [ef62a3a68c9d558486145a42c0d71ea9a76add9e – dceb634ba42d3a182ea653dce31a529017f75a95] [97aa3b7f08f51669e118f3af5ca91026e39664c3 – e829b0a239cffdeab5781df450a6b0e0026faa2d]

References