Feed
7.5HIGH

CVE-2021-31542Path Traversal in Django

A high-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 4.7% chance of exploitation in the next 30 days. A fixed version is named.

Exploited in the wild
Not in KEV
EPSS
4.7%
percentile 93%
Priority
28/100 medium
how it is computed
Fix
Named by a source
CVE published 5 May 2021

Reference

None of the "Needs attention" rules apply right now.

EPSS 4.7% (+5) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)

Immediate actions

Who should check

  • django (PyPI) pkg:pypi/django

    • Affected>= 2.2, < 2.2.21Fixed in2.2.21OSV (PYSEC-2021-7)
    • Affected>= 3.0, < 3.1.9Fixed in3.1.9OSV (GHSA-rxjp-mfm9-w4wr)
    • Affected>= 3.2, < 3.2.1Fixed in3.2.1OSV (PYSEC-2021-7)
    • Affected>= 3.1, < 3.1.9Fixed in3.1.9OSV (PYSEC-2021-7)

Confirmed facts

CVSS
7.5 HIGH (version 3.1)
Score from
GitHub Advisory Database (GHSA-rxjp-mfm9-w4wr)
Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
none
Weakness
CWE-22, CWE-434

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.21, 3.1 before 3.1.9, and 3.2 before 3.2.1, MultiPartParser, UploadedFile, and FieldFile allowed directory traversal via uploaded files with suitably crafted file names.

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 34 min ago · osv 34 min ago · nvd 3 min ago · epss 34 min ago · JSON · ask via MCP: explain_vulnerability

Also known as BIT-django-2021-31542, GHSA-rxjp-mfm9-w4wr, PYSEC-2021-7