CVE-2022-24840

Critical

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.

SeverityCritical
CVSS9.1
Exploit probability—
ProductDjango-s3file
PublishedJun 9, 2022
First seenJun 9, 2022

How to fix

Update
  • django-s3file_project django-s3file5.5.1 or later
  • django-s3file5.5.1 or later

Affected products

ProductAffected versionsFixed in
django-s3file_project django-s3filev < 5.5.15.5.1
django-s3filePyPIv < 5.5.15.5.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.