Skip to main content
← All vulnerabilities
CVE-2021-28658PYSEC-2021-6BIT-DJANGO-2021-28658GHSA-XGXC-V2QG-CHMH

In Django 2.2 before 2.2.20, 3.0 before 3.0.14, and 3.1 before 3.1.8, MultiPartParser allowed directory traversal via uploaded files with su

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.2.20, 3.0.14, 3.1.8
None on Exploit-DB, Metasploit or GitHub

Summary

In Django 2.2 before 2.2.20, 3.0 before 3.0.14, and 3.1 before 3.1.8, MultiPartParser allowed directory traversal via uploaded files with suitably crafted file names. Built-in upload handlers were not affected by this vulnerability.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • djangoPyPI

    From 2.2 · fixed in 2.2.20; From 3.0 · fixed in 3.0.14; From 3.1 · fixed in 3.1.8

  • djangoPyPI

    From 2.2a1 · fixed in 2.2.20

  • djangoPyPI

    From 3.0a1 · fixed in 3.0.14

  • djangoPyPI

    From 3.1a1 · fixed in 3.1.8

References 6

docs.djangoproject.com

groups.google.com

djangoproject.com

lists.debian.org

lists.fedoraproject.org

security.netapp.com