Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2021-31542 Details

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.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

URLSource(s)Tag(s)
https://docs.djangoproject.com/en/3.2/releases/security/ CVEPatchVendor Advisory
https://github.com/django/django/commit/04ac1624bdc2fa737188401757cf95ced122d26d CVE
https://github.com/django/django/commit/25d84d64122c15050a0ee739e859f22ddab5ac48 CVE
https://github.com/django/django/commit/c98f446c188596d4ba6de71d1b77b4a6c5c2a007 CVE
https://groups.google.com/forum/#%21forum/django-announce CVE

see all 22 references

Weakness Enumeration

CWE-IDCWE NameSource
CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')[email protected]

Affected Products

ProductVersions
djangoproject django
>= 2.2, < 2.2.21
>= 3.1, < 3.1.9
>= 3.2, < 3.2.1

CPE

  • cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.
debian debian linux
9.0

CPE

  • cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.
fedoraproject fedora
34
35

CPE

  • cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.

Change History

13 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2021-31542
NVD Published Date:
May 5, 2021
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]
CVE-2021-31542 Details - Not Deferred