BIT-django-2021-33203

See a problem?
Import Source
https://github.com/bitnami/vulndb/tree/main/data/django/BIT-django-2021-33203.json
JSON Data
https://api.osv.dev/v1/vulns/BIT-django-2021-33203
Aliases
Published
2024-03-06T10:54:44.570Z
Modified
2024-03-06T11:25:28.861Z
Summary
[none]
Details

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.

References

Affected packages

Bitnami / django

Package

Name
django
Purl
pkg:bitnami/django

Severity

  • 4.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N CVSS Calculator

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.2.24
Introduced
3.0.0
Fixed
3.1.12
Introduced
3.2.0
Fixed
3.2.4