Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. Django
  4. ›
  5. CVE-2013-4315

CVE-2013-4315: Django Directory Traversal via ssi template tag

May 17, 2022 (updated September 18, 2024)

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.

References

  • github.com/advisories/GHSA-vjjp-9r83-22rc
  • github.com/django/django
  • github.com/django/django/commit/87d2750b39f6f2d54b7047225521a44dcd37e896
  • github.com/django/django/commit/988b61c550d798f9a66d17ee0511fb7a9a7f33ca
  • github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2013-20.yaml
  • nvd.nist.gov/vuln/detail/CVE-2013-4315
  • www.djangoproject.com/weblog/2013/sep/10/security-releases-issued

Code Behaviors & Features

Detect and mitigate CVE-2013-4315 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.4 before 1.4.7, all versions starting from 1.5 before 1.5.3

Fixed versions

  • 1.4.7
  • 1.5.3

Solution

Upgrade to versions 1.4.7, 1.5.3 or above.

Impact 8.6 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

pypi/Django/CVE-2013-4315.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:07 +0000.