CVE-2022-24840
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in django-s3file
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
1Exploited in Wild
-Decision
Descriptions
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.
django-s3file es una entrada ligera de subida de archivos para Django y Amazon S3 . En versiones anteriores a 5.5.1, era posible recorrer todo el bucket de AWS S3 y en la mayoría de los casos acceder o eliminar archivos. Si el ajuste "AWS_LOCATION" estaba configurado, el recorrido se limitaba sólo a esa ubicación. El problema fue detectado por el mantenedor. No se presentan informes de que la vulnerabilidad sea conocida o explotada por terceros, antes de la publicación del parche. La vulnerabilidad ha sido corregida en versión 5.5.1 y superiores. No se presenta ninguna mitigación viable. Debemos instar a todos los usuarios a actualizar inmediatamente a la versión parcheada
CVSS Scores
SSVC
- Decision:-
Timeline
- 2022-02-10 CVE Reserved
- 2022-06-06 CVE Published
- 2024-01-26 EPSS Updated
- 2024-08-03 CVE Updated
- 2024-08-03 First Exploit
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CAPEC
References (2)
URL | Tag | Source |
---|
URL | Date | SRC |
---|---|---|
https://github.com/codingjoe/django-s3file/security/advisories/GHSA-4w8f-hjm9-xwgf | 2024-08-03 |
URL | Date | SRC |
---|---|---|
https://github.com/codingjoe/django-s3file/commit/68ccd2c621a40eb66fdd6af2be9d5fcc9c373318 | 2022-06-17 |
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Django-s3file Project Search vendor "Django-s3file Project" | Django-s3file Search vendor "Django-s3file Project" for product "Django-s3file" | < 5.5.1 Search vendor "Django-s3file Project" for product "Django-s3file" and version " < 5.5.1" | - |
Affected
|