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.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-45446A vulnerability in Hitachi Vantara Pentaho Business Analyt…7.5
- CVE-2021-45447 Hitachi Vantara Pentaho Business Analytics Server versions …7.5
- CVE-2021-45448Pentaho Business Analytics Server versions before 9.2.0.2 a…6.5
- CVE-2021-45449Docker Desktop version 4.3.0 and 4.3.1 has a bug that may lo…5.5
- CVE-2021-45450In Mbed TLS before 2.28.0 and 3.x before 3.1.0, psa_cipher_g…7.5
- CVE-2021-45451In Mbed TLS before 3.1.0, psa_aead_generate_nonce allows pol…7.5
- CVE-2021-45454Ampere Altra before SRP 1.08b and Altra Max before SRP 2.05…7.5
- CVE-2021-45456Apache kylin checks the legitimacy of the project before exe…9.8
- CVE-2021-45457In Apache Kylin, Cross-origin requests with credentials are …7.5
- CVE-2021-45458Apache Kylin provides encryption classes PasswordPlaceholder…7.5
- CVE-2021-45459lib/cmd.js in the node-windows package before 1.0.0-beta.6 f…9.8
- CVE-2021-45460A vulnerability has been identified in SICAM PQ Analyzer (Al…8.1
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
