Feed
4.9MEDIUM

CVE-2021-33203Path Traversal in Django

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

Exploited in the wild
Not in KEV
EPSS
2.5%
percentile 85%
Priority
20/100 low
how it is computed
Fix
Named by a source
CVE published 8 Jun 2021

Reference

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

EPSS 2.5% (+2) · Network attack vector (+10) · No user interaction (+5)

Immediate actions

Who should check

  • django (PyPI) pkg:pypi/django

    • Affected< 2.2.24Fixed in2.2.24OSV (PYSEC-2021-98)
    • Affected>= 3.0, < 3.1.12Fixed in3.1.12OSV (PYSEC-2021-98)
    • Affected>= 3.2, < 3.2.4Fixed in3.2.4OSV (PYSEC-2021-98)

Confirmed facts

CVSS
4.9 MEDIUM (version 3.1)
Score from
GitHub Advisory Database (GHSA-68w8-qjq3-2gfm)
Attack vector
network
Attack complexity
low
Privileges required
high
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)Django before 2.2.24, 3.x before 3.1.12, and 3.2.x before 3.2.4 has a potential directory traversal via django.contrib.admindocs. Staff members could use the TemplateDetailView view to check the existence of arbitrary files. Additionally, if (and only if) the default admindocs templates have been customized by application developers to also show file contents, then not only the existence but also the file contents would have been exposed. In other words, there is directory traversal outside of the template root directories.

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

Also known as BIT-django-2021-33203, GHSA-68w8-qjq3-2gfm, PYSEC-2021-98