Vulnerability Description
django-s3file is a lightweight file upload input for Django and Amazon S3 . In versions prior to 5.5.1 it was possible to traverse the entire AWS S3 bucket and in most cases to access or delete files. If the `AWS_LOCATION` setting was set, traversal was limited to that location only. The issue was discovered by the maintainer. There were no reports of the vulnerability being known to or exploited by a third party, prior to the release of the patch. The vulnerability has been fixed in version 5.5.1 and above. There is no feasible workaround. We must urge all users to immediately updated to a patched version.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Django-S3File Project | Django-S3File | < 5.5.1 |
Related Weaknesses (CWE)
References
- https://github.com/codingjoe/django-s3file/commit/68ccd2c621a40eb66fdd6af2be9d5fPatchThird Party Advisory
- https://github.com/codingjoe/django-s3file/security/advisories/GHSA-4w8f-hjm9-xwExploitThird Party Advisory
- https://github.com/codingjoe/django-s3file/commit/68ccd2c621a40eb66fdd6af2be9d5fPatchThird Party Advisory
- https://github.com/codingjoe/django-s3file/security/advisories/GHSA-4w8f-hjm9-xwExploitThird Party Advisory
FAQ
What is CVE-2022-24840?
CVE-2022-24840 is a vulnerability with a CVSS score of 9.1 (CRITICAL). django-s3file is a lightweight file upload input for Django and Amazon S3 . In versions prior to 5.5.1 it was possible to traverse the entire AWS S3 bucket and in most cases to access or delete files....
How severe is CVE-2022-24840?
CVE-2022-24840 has been rated CRITICAL with a CVSS base score of 9.1/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2022-24840?
Check the references section above for vendor advisories and patch information. Affected products include: Django-S3File Project Django-S3File.