Skip to main content
← All vulnerabilities
CVE-2021-45452GHSA-JRH2-HC4R-7JWXBIT-DJANGO-2021-45452PYSEC-2022-3

Storage.save in Django 2.2 before 2.2.26, 3.2 before 3.2.11, and 4.0 before 4.0.1 allows directory traversal if crafted filenames are direct

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.2.26, 3.2.11, 4.0.1
None on Exploit-DB, Metasploit or GitHub

Summary

Storage.save in Django 2.2 before 2.2.26, 3.2 before 3.2.11, and 4.0 before 4.0.1 allows directory traversal if crafted filenames are directly passed to it.

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.26

  • djangoPyPI

    From 3.2 · fixed in 3.2.11

  • djangoPyPI

    From 4.0 · fixed in 4.0.1

  • djangoPyPI

    From 2.2 · fixed in 2.2.26; From 3.2 · fixed in 3.2.11; From 4.0 · fixed in 4.0.1

References 5

groups.google.com

docs.djangoproject.com

djangoproject.com

security.netapp.com

lists.fedoraproject.org