GHSA-pcjh-6r5h-r92r django-sendfile2 before 0.7.0 contains reflected file download vulnerability
Unknown
- Published
- Updated
- Exploit status
- No public exploit known
Description
Similar to CVE-2022-36359 for Django, django-sendfile2 did not protect against a reflected file download attack in version 0.6.1 and earlier. If the file name used by django-sendfile2 was derived from user input, then it would be possible to perform a such an attack. A new version of django-sendfile2 will be released. Either download django-sendfile2 0.7.0 as a workaround or sanitize user input yourself, using Django's patch as a template: https://github.com/django/django/commit/bd062445cffd3f6cc6dcd20d13e2abed818fa173
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi django-sendfile2(PyPI) | < 0.7.0; = 0.4.0; = 0.4.1; = 0.4.2 +4 more | 0.7.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi django-sendfile2(PyPI) | < 0.7.0 | 0.7.0 |
| pypi django-sendfile2(PyPI) | = 0.4.0 | No fix listed |
| pypi django-sendfile2(PyPI) | = 0.4.1 | No fix listed |
| pypi django-sendfile2(PyPI) | = 0.4.2 | No fix listed |
| pypi django-sendfile2(PyPI) | = 0.4.3 | No fix listed |
| pypi django-sendfile2(PyPI) | = 0.5.1 | No fix listed |
| pypi django-sendfile2(PyPI) | = 0.6.0 | No fix listed |
| pypi django-sendfile2(PyPI) | = 0.6.1 | No fix listed |
References
- github.com vendor-advisory
- github.com patch
- github.com product
- github.com
- github.com