{"schemaVersion":3,"id":"CVE-2013-4315","aliases":["MGASA-2013-0283","GHSA-vjjp-9r83-22rc","PYSEC-2013-20","DEBIAN-CVE-2013-4315","DSA-2755-1"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2013-09-16T19:00:00.000Z","modified":"2024-08-06T16:38:01.925Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5,"severity":"medium","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":8.7,"severity":"high","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":8.6,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","exploitability":10,"impact":6.7,"computed":true}]},"epss":{"probability":0.03208,"percentile":0.87988,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.03208},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03208,"percentile":0.87988}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03208,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03208,"percentile":0.87988}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"debian","product":"python-django","name":"python-django","label":"python-django","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/python-django","purlType":"deb","versions":[{"text":"< 1.5.3-1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.2.3-3+squeeze7","noFixRecorded":false,"fixedIn":null},{"text":"< 1.4.5-1+deb7u3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.5.3-1 | < 1.2.3-3+squeeze7 | < 1.4.5-1+deb7u3","eol":null,"hubHref":null},{"vendor":"djangoproject","product":"django","name":"django","label":"django","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.4","noFixRecorded":false,"fixedIn":null},{"text":"1.4.1","noFixRecorded":false,"fixedIn":null},{"text":"1.4.2","noFixRecorded":false,"fixedIn":null},{"text":"1.4.4","noFixRecorded":false,"fixedIn":null},{"text":"1.4.5","noFixRecorded":false,"fixedIn":null},{"text":"1.4.6","noFixRecorded":false,"fixedIn":null},{"text":"1.5","noFixRecorded":false,"fixedIn":null},{"text":"1.5:alpha","noFixRecorded":false,"fixedIn":null},{"text":"1.5:beta","noFixRecorded":false,"fixedIn":null},{"text":"1.5.1","noFixRecorded":false,"fixedIn":null},{"text":"1.6:beta1","noFixRecorded":false,"fixedIn":null},{"text":"1.6:beta2","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.4 | 1.4.1 | 1.4.2 | 1.4.4 | 1.4.5 | 1.4.6 | 1.5 | 1.5:alpha | 1.5:beta | 1.5.1 | 1.6:beta1 | 1.6:beta2","eol":{"isEol":true,"eolDate":"2015-10-01T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"1.4","label":"1.4","eolFrom":"2015-10-01T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"1.4.22"},"product":{"name":"django","label":"Django","category":"framework"}},"hubHref":"/vendor/djangoproject/django"},{"vendor":"mageia","product":"python-django","name":"python-django","label":"python-django","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/python-django","purlType":"rpm","versions":[{"text":"< 1.3.7-1.2.mga2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.3.7-1.2.mga2","eol":null,"hubHref":null},{"vendor":"PyPI","product":"django","name":"django","label":"django","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/django","purlType":"pypi","versions":[{"text":"≥ 1.4, < 1.4.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.5, < 1.5.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.4, < 1.4.7 | ≥ 1.5, < 1.5.3","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":true,"count":1},"references":[{"url":"http://lists.opensuse.org/opensuse-updates/2013-10/msg00015.html","label":"lists.opensuse.org/opensuse-updates/2013-10/msg00015.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","WEB"]},{"url":"http://secunia.com/advisories/54772","label":"secunia.com/advisories/54772","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Vendor Advisory","Advisory"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1521.html","label":"rhn.redhat.com/errata/RHSA-2013-1521.html","hostname":"rhn.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","WEB","Advisory"]},{"url":"https://www.djangoproject.com/weblog/2013/sep/10/security-releases-issued/","label":"www.djangoproject.com/weblog/2013/sep/10/security-releases-issued/","hostname":"www.djangoproject.com","tags":["X Refsource CONFIRM","Patch","Vendor Advisory","WEB","ARTICLE"]},{"url":"http://secunia.com/advisories/54828","label":"secunia.com/advisories/54828","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Vendor Advisory","Advisory"]},{"url":"http://www.debian.org/security/2013/dsa-2755","label":"www.debian.org/security/2013/dsa-2755","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","WEB","Advisory"]},{"url":"https://advisories.mageia.org/MGASA-2013-0283.html","label":"advisories.mageia.org/MGASA-2013-0283.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=11217","label":"bugs.mageia.org/show_bug.cgi?id=11217","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-4315","label":"nvd.nist.gov/vuln/detail/CVE-2013-4315","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/django/django/commit/87d2750b39f6f2d54b7047225521a44dcd37e896","label":"github.com/django/django/commit/87d2750b39f6f2d54b7047225521a44dcd37e896","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/django/django/commit/988b61c550d798f9a66d17ee0511fb7a9a7f33ca","label":"github.com/django/django/commit/988b61c550d798f9a66d17ee0511fb7a9a7f33ca","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/django/django","label":"github.com/django/django","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2013-20.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2013-20.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://www.djangoproject.com/weblog/2013/sep/10/security-releases-issued","label":"www.djangoproject.com/weblog/2013/sep/10/security-releases-issued","hostname":"www.djangoproject.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-vjjp-9r83-22rc","label":"github.com/advisories/GHSA-vjjp-9r83-22rc","hostname":"github.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2013-4315","label":"security-tracker.debian.org/tracker/CVE-2013-4315","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["MGASA-2013-0284","RHSA-2013:1521"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2013-09-16T19:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-06T16:38:01.925Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":21,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T21:43:26.263Z","stale":false,"partial":false}}