
Cloud Vulnerability DB
A community-led vulnerabilities database
The vulnerability (GHSA-6r3c-8xf3-ggrr) affects django-sendfile2 versions prior to 0.6.0, discovered and disclosed in June 2020. The issue involves a directory traversal vulnerability where the package relied on backends to correctly limit file paths to SENDFILE_ROOT, which was not properly implemented in the simple and development backends, potentially affecting other backends as well (GitHub Advisory).
The vulnerability stems from insufficient path validation in django-sendfile2's file handling mechanism. The package failed to properly validate and sanitize file paths against the SENDFILE_ROOT directory, potentially allowing access to files outside the intended directory structure. The issue was assigned a Moderate severity rating and is categorized as CWE-22 (Path Traversal) (GitHub Advisory).
If exploited, this vulnerability could allow attackers to access files outside the intended SENDFILE_ROOT directory, potentially exposing sensitive system files or information that should not be accessible through the application (GitHub Advisory).
The vulnerability affects the simple and development backends primarily, but could potentially impact other backends as well. The issue can be triggered through path manipulation attempts to access files outside the SENDFILE_ROOT directory (GitHub Advisory).
The vulnerability was patched in version 0.6.0 of django-sendfile2. Users should upgrade to this version or later and ensure that SENDFILE_ROOT is properly set in their settings module. The fix includes proper path validation and sanitization to prevent directory traversal attempts (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."