CVE-2021-33203
python-django - security update
4.9
MEDIUM
CVSS 3.1
EPSS 0.14%
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.
How to fix CVE-2021-33203
To remediate CVE-2021-33203, upgrade the affected package to a fixed version below.
- —upgrade to 2.2.24 or later
- —upgrade to 2:2.2.24-1 or later
- —upgrade to 1:1.10.7-2+deb9u14 or later
- —upgrade to 2.2.24 or later
- —upgrade to 2.2.24 or later
Is CVE-2021-33203 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (5)
- from 0, < 2.2.24, >= 3.0.0, < 3.1.12, >= 3.2.0, < 3.2.4
- from 0, < 2:2.2.24-1
- from 0, < 1:1.10.7-2+deb9u14
- from 0, < 2.2.24
- from 0, < 2.2.24, >= 3.0, < 3.1.12, >= 3.2, < 3.2.4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | MEDIUM4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |