{"id":"GHSA-6r3c-8xf3-ggrr","aliases":[],"url":"https://o3.security/vulnerability/GHSA-6r3c-8xf3-ggrr","summary":"Directory traversal outside of SENDFILE_ROOT in django-sendfile2","details":"django-sendfile2 currently relies on the backend to correctly limit file paths to `SENDFILE_ROOT`. This is not the case for the `simple` and `development` backends, it is also not necessarily the case for any of the other backends either (it's just an assumption that was made by the original author).\n\nThis will be fixed in 0.6.0 which is to be released the same day as this advisory is made public.\n\nWhen upgrading, you will need to make sure `SENDFILE_ROOT` is set in your settings module if it wasn't already.","published":"2020-06-24T17:15:26Z","modified":"2024-12-02T05:47:45.852551Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"django-sendfile2","fixedVersion":"0.6.0"}],"fix":{"url":"https://github.com/moggers87/django-sendfile2/commit/f870c52398a55b9b5189932dd8caa24efb4bc1e1","label":"moggers87/django-sendfile2@f870c52"},"references":[{"type":"WEB","url":"https://github.com/moggers87/django-sendfile2/security/advisories/GHSA-6r3c-8xf3-ggrr"},{"type":"WEB","url":"https://github.com/moggers87/django-sendfile2/commit/f870c52398a55b9b5189932dd8caa24efb4bc1e1"},{"type":"PACKAGE","url":"https://github.com/moggers87/django-sendfile2"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2024-12-02T05:47:45.852551Z"}}