{"id":"GHSA-vjjp-9r83-22rc","summary":"Django Directory Traversal via ssi template tag","details":"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.","aliases":["CVE-2013-4315","PYSEC-2013-20"],"modified":"2024-09-18T19:09:03.440288Z","published":"2022-05-17T04:56:46Z","database_specific":{"github_reviewed_at":"2023-08-28T23:57:36Z","severity":"HIGH","nvd_published_at":"2013-09-16T19:14:00Z","cwe_ids":["CWE-22"],"github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2013-4315"},{"type":"WEB","url":"https://github.com/django/django/commit/87d2750b39f6f2d54b7047225521a44dcd37e896"},{"type":"WEB","url":"https://github.com/django/django/commit/988b61c550d798f9a66d17ee0511fb7a9a7f33ca"},{"type":"PACKAGE","url":"https://github.com/django/django"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2013-20.yaml"},{"type":"WEB","url":"https://www.djangoproject.com/weblog/2013/sep/10/security-releases-issued"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-updates/2013-10/msg00015.html"},{"type":"WEB","url":"http://rhn.redhat.com/errata/RHSA-2013-1521.html"},{"type":"WEB","url":"http://www.debian.org/security/2013/dsa-2755"}],"affected":[{"package":{"name":"django","ecosystem":"PyPI","purl":"pkg:pypi/django"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4"},{"fixed":"1.4.7"}]}],"versions":["1.4","1.4.1","1.4.2","1.4.3","1.4.4","1.4.5","1.4.6"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-vjjp-9r83-22rc/GHSA-vjjp-9r83-22rc.json"}},{"package":{"name":"django","ecosystem":"PyPI","purl":"pkg:pypi/django"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.5"},{"fixed":"1.5.3"}]}],"versions":["1.5","1.5.1","1.5.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-vjjp-9r83-22rc/GHSA-vjjp-9r83-22rc.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}]}