Skip to content
OpenAdvisories
High · 8.6 CVE-2013-4315 EUVD-2013-0008GHSA-vjjp-9r83-22rcPYSEC-2013-20

Django Directory Traversal via ssi template tag

Published Sep 16, 2013 · Updated Aug 6, 2024 · Assigned by redhat

Description

Directory traversal vulnerability in Django 1.4.x before 1.4.7, 1.5.x before 1.5.3, and 1.6.x before 1.6 beta 3 allows remote attackers to read arbitrary files via a file path in the ALLOWED_INCLUDE_ROOTS setting followed by a .. (dot dot) in a ssi template tag.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-django 1.5.3-1 —
Debian 13 python-django 1.5.3-1 —
Debian 12 python-django 1.5.3-1 —
Debian 7 python-django 1.4.5-1+deb7u3 DSA-2755-1
Debian 6.0 python-django 1.2.3-3+squeeze7 DSA-2755-1
ReleasePackageFixed inAdvisory
Red Hat OpenStack 3 Django14 +1 1.4.8-1.el6ost RHSA-2013:1521

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI django >= 1.4, < 1.4.7 1.4.7 GHSA-vjjp-9r83-22rc
PyPI django >= 1.5, < 1.5.3 1.5.3 GHSA-vjjp-9r83-22rc
PyPI django >= 1.4, < 1.4.7 · >= 1.5, < 1.5.3 1.4.7, 1.5.3 PYSEC-2013-20

Advisories 2

References