CVE-2021-28658: Path Traversal

Published Mar 30, 2021
·
Updated

'MultiPartParser' allowed directory-traversal via uploaded files with suitably crafted file names.

Other sources

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.

MITRE

Affected Software

11 affected componentsFixes available
redhat/python-django<2.2
2.2
redhat/python-django<3.0
3.0
redhat/python-django<3.2
3.2
pip/Django>=3.1a1<3.1.8
3.1.8
pip/Django>=3.0a1<3.0.14
3.0.14
pip/Django>=2.2a1<2.2.20
2.2.20
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

Event History

Apr 6, 2021
CVE Published
via MITRE·02:51 PM
Data Sourced
via MITRE·02:51 PM
Description
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeaknessAffected Software
Apr 8, 2021
Advisory Published
via GitHub·06:11 PM

Frequently Asked Questions

1

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.

2

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.

3

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.

4

How severe is the vulnerability CVE-2021-28658?

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

5

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203