CWE
22
Advisory Published
CVE Published
Updated

CVE-2021-28658: Path Traversal

First published: Tue Mar 30 2021(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Djangoproject Django>=2.2<2.2.20
Djangoproject Django>=3.0<3.0.14
Djangoproject Django>=3.1<3.1.8
Debian Debian Linux=9.0
Fedoraproject Fedora=34

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2021-28658?

    CVE-2021-28658 is a vulnerability in Django versions 2.2 before 2.2.20, 3.0 before 3.0.14, and 3.1 before 3.1.8 that allows directory traversal via uploaded files with suitably crafted file names.

  • How does CVE-2021-28658 impact Django?

    CVE-2021-28658 impacts Django by allowing malicious users to perform directory traversal by exploiting the vulnerability in the MultiPartParser.

  • What software versions are affected by CVE-2021-28658?

    The versions of Django affected by CVE-2021-28658 are 2.2 before 2.2.20, 3.0 before 3.0.14, and 3.1 before 3.1.8.

  • How severe is the vulnerability CVE-2021-28658?

    The severity of CVE-2021-28658 is medium, with a severity score of 5.3.

  • How can I fix CVE-2021-28658?

    To fix CVE-2021-28658, you should update Django to versions 2.2.20, 3.0.14, or 3.1.8.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203