CVE-2021-45452
MEDIUMCVSS 5.3/10EPSS 2.39%
Last modified
CVE-2021-45452 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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.. EPSS estimates a 2.39% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Djangoproject | Django | >= 2.2, < 2.2.26 |
| Djangoproject | Django | >= 3.2, < 3.2.11 |
| Djangoproject | Django | >= 4.0, < 4.0.1 |
| Fedoraproject | Fedora | 35 |
References
- https://docs.djangoproject.com/en/4.0/releases/security/Patch, Vendor Advisory
- https://security.netapp.com/advisory/ntap-20220121-0005/Third Party Advisory
- https://www.djangoproject.com/weblog/2022/jan/04/security-releases/Patch, Vendor Advisory
- https://docs.djangoproject.com/en/4.0/releases/security/Patch, Vendor Advisory
- https://security.netapp.com/advisory/ntap-20220121-0005/Third Party Advisory
- https://www.djangoproject.com/weblog/2022/jan/04/security-releases/Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-45452?
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.
How severe is CVE-2021-45452?
CVE-2021-45452 has a CVSS score of 5.3/10 (MEDIUM severity). The EPSS model estimates a 2.39% probability of exploitation in the next 30 days.
How do I fix CVE-2021-45452?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
Are you affected by CVE-2021-45452?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
