Arbitrary File Upload Affecting django package, versions [,3.2.19)[4.1a1,4.1.9)[4.2a1,4.2.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.38% (74th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary File Upload vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-DJANGO-5496950
  • published4 May 2023
  • disclosed3 May 2023
  • creditMoataz Al-Sharida, nawaik

Introduced: 3 May 2023

CVE-2023-31047  (opens in a new tab)
CWE-434  (opens in a new tab)

How to fix?

Upgrade django to version 3.2.19, 4.1.9, 4.2.1 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary File Upload by bypassing of validation of all but the last file when uploading multiple files using a single forms.FileField or forms.ImageField.

CVSS Scores

version 3.1