CVE-2022-24840

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:django-s3file_project:django-s3file:*:*:*:*:*:*:*:*

History

17 Jun 2022, 15:50

Type Values Removed Values Added
References (CONFIRM) https://github.com/codingjoe/django-s3file/security/advisories/GHSA-4w8f-hjm9-xwgf - (CONFIRM) https://github.com/codingjoe/django-s3file/security/advisories/GHSA-4w8f-hjm9-xwgf - Exploit, Third Party Advisory
References (MISC) https://github.com/codingjoe/django-s3file/commit/68ccd2c621a40eb66fdd6af2be9d5fcc9c373318 - (MISC) https://github.com/codingjoe/django-s3file/commit/68ccd2c621a40eb66fdd6af2be9d5fcc9c373318 - Patch, Third Party Advisory
CPE cpe:2.3:a:django-s3file_project:django-s3file:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : 7.5
v3 : 9.8
First Time Django-s3file Project django-s3file
Django-s3file Project

09 Jun 2022, 04:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-06-09 04:15

Updated : 2023-12-10 14:22


NVD link : CVE-2022-24840

Mitre link : CVE-2022-24840

CVE.ORG link : CVE-2022-24840


JSON object : View

Products Affected

django-s3file_project

  • django-s3file
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')