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%
Priority
26/100 medium
how it is computed
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

Sources

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