Skip to main content
← All vulnerabilities
CVE-2022-24840GHSA-4W8F-HJM9-XWGFPYSEC-2022-208

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in django-s3file

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.5.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • codingjoe django-s3file

    fixed in 5.5.1

  • django-s3filePyPI

    fixed in 5.5.1

References 2

GitHub · codingjoe/django-s3file