Feed
5.3MEDIUM

CVE-2021-45452Directory-traversal in Django

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

Exploited in the wild
Not in KEV
EPSS
2.6%
percentile 86%
Priority
25/100 medium
how it is computed
Fix
Named by a source
CVE published 5 Jan 2022

Reference

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

EPSS 2.6% (+3) · 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.26Fixed in2.2.26OSV (PYSEC-2022-3)
    • Affected>= 3.2, < 3.2.11Fixed in3.2.11OSV (PYSEC-2022-3)
    • Affected>= 4.0, < 4.0.1Fixed in4.0.1OSV (PYSEC-2022-3)

Confirmed facts

CVSS
5.3 MEDIUM (version 3.1)
Score from
GitHub Advisory Database (GHSA-jrh2-hc4r-7jwx)
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)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.

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

Also known as BIT-django-2021-45452, GHSA-jrh2-hc4r-7jwx, PYSEC-2022-3