4.9

CVE-2021-33203: djangoproject django

Modified
AliasesGHSA-68w8-qjq3-2gfmBIT-django-2021-33203PYSEC-2021-98
Published 08-06-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-33203 is a medium (CVSS 4.9) vulnerability in djangoproject django. EPSS estimates a 2.74% chance of exploitation in the next 30 days, higher than 86.1% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 4.9, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
4.9/10
010
Medium · v3.1 (NVD)
EPSS score
2.74%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 18 · Related 12

Timeline

  1. 08-06-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

7 scores · 5 sources · 3 versions

EPSS trend

Probability

2.74%

Chance of exploitation in the next 30 days

Percentile

86%

Versus all other CVEs

30-day change

No change 0.00 pp

From 2.74% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Alpine1 product
  • py3-django< 3.1.13-r0
Debian1 product
  • python-django< 2:2.2.24-1
Djangoproject1 product
  • django< 2.2.24 | ≥ 3.0.0, < 3.1.12 | ≥ 3.2.0, < 3.2.4
Fedoraproject1 product
PyPI1 product
  • django< 2.2.24 | ≥ 3.0, < 3.1.12 | ≥ 3.2, < 3.2.4
Ubuntu1 product
  • python-django< 1.8.7-1ubuntu5.15+esm3 | < 1:1.11.11-1ubuntu1.14 | < 2:2.2.12-1ubuntu0.7

6 vendors · 6 products

References

23 links
Show all 23 references