Feed
5.3MEDIUM
CVE-2021-28658Directory Traversal in Django
A medium-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 3.4% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 3.4%
- percentile 90%
- Fix
- Named by a source
- CVE published 6 Apr 2021
Reference
None of the "Needs attention" rules apply right now.
EPSS 3.4% (+3) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)
Immediate actions
- django (PyPI): upgrade to 2.2.20 / 3.0.14 / 3.1.8 or later on your release line.
Who should check
django (PyPI) pkg:pypi/django
- Affected>= 2.2a1, < 2.2.20Fixed in2.2.20OSV (GHSA-xgxc-v2qg-chmh)
- Affected>= 3.0a1, < 3.0.14Fixed in3.0.14OSV (GHSA-xgxc-v2qg-chmh)
- Affected>= 3.1a1, < 3.1.8Fixed in3.1.8OSV (GHSA-xgxc-v2qg-chmh)
- Affected>= 2.2, < 2.2.20Fixed in2.2.20OSV (PYSEC-2021-6)
- Affected>= 3.0, < 3.0.14Fixed in3.0.14OSV (PYSEC-2021-6)
- Affected>= 3.1, < 3.1.8Fixed in3.1.8OSV (PYSEC-2021-6)
Confirmed facts
- CVSS
- 5.3 MEDIUM (version 3.1)
- Score from
- GitHub Advisory Database (GHSA-xgxc-v2qg-chmh)
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-22
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)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.
Update history
No events recorded. Our history starts on 1 Jan 2025.
References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2021-28658
- otherhttps://docs.djangoproject.com/en/3.1/releases/security
- advisoryhttps://github.com/advisories/GHSA-xgxc-v2qg-chmh
- otherhttps://github.com/django/django
- otherhttps://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2021-6.yaml
- otherhttps://groups.google.com/g/django-announce/c/ePr5j-ngdPU
- otherhttps://lists.debian.org/debian-lts-announce/2021/04/msg00008.html
- otherhttps://lists.fedoraproject.org/archives/list/[email protected]/message/ZVKYPHR3TKR2ESWXBPOJEKRO2OSJRZUE
- otherhttps://pypi.org/project/Django
- otherhttps://security.netapp.com/advisory/ntap-20210528-0001
- otherhttps://www.djangoproject.com/weblog/2021/apr/06/security-releases
- otherhttps://www.djangoproject.com/weblog/2021/apr/06/security-releases/
- otherhttps://docs.djangoproject.com/en/3.1/releases/security/
- otherhttps://lists.fedoraproject.org/archives/list/[email protected]/message/ZVKYPHR3TKR2ESWXBPOJEKRO2OSJRZUE/
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- GHSA-xgxc-v2qg-chmh (GitHub Advisory Database), CC BY 4.0.
- PYSEC-2021-6 (PyPA Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 46 min ago · osv 45 min ago · nvd 45 min ago · epss 45 min ago · JSON · ask via MCP: explain_vulnerability
Also known as BIT-django-2021-28658, GHSA-xgxc-v2qg-chmh, PYSEC-2021-6