p PatchFirst

CVE-2022-24840

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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 9.1 · Critical · EPSS 2.1% · Fix available

Published
Updated

Stack: python

Affected products and versions

  • django-s3file

    Versions
    • < 5.5.1: Affected

    No fix published

  • django-s3file PyPI

    Versions
    • 0.1.0
    • 0.1.1
    • 0.1.10
    • 0.1.11
    • 0.1.12
    • 0.1.13
    • 0.1.14
    • 0.1.15
    • 0.1.16
    • 0.1.17
    • 0.1.18
    • 0.1.19
    • 0.1.2
    • 0.1.20
    • 0.1.21
    • 0.1.22
    • 0.1.23
    • 0.1.3
    • 0.1.4
    • 0.1.5
    • 0.1.6
    • 0.1.7
    • 0.1.8
    • 0.1.9
    • 0.2.0
    • 0.3.0
    • 0.3.1
    • 0.3.2
    • 0.3.3
    • 0.3.4
    • 0.3.5
    • 0.3.6
    • 0.3.7
    • 0.4.0
    • 0.4.1
    • 0.5.0
    • 0.5.1
    • 0.5.2
    • 0.5.3
    • 0.5.4
    • 0.6.0
    • 0.6.1
    • 0.6.2
    • 1.0.0
    • 1.0.1
    • 1.0.2
    • 1.1.0
    • 1.2.0
    • 1.2.1
    • 2.0.0
    • 3.0.0
    • 3.0.1
    • 3.0.2
    • 3.0.3
    • 3.0.4
    • 3.0.5
    • 4.0.0
    • 4.0.1
    • 4.0.2
    • 4.1.0
    • 4.2.0
    • 5.0.0
    • 5.0.1
    • 5.0.2
    • 5.0.4
    • 5.0.5
    • 5.0.6
    • 5.1.0
    • 5.1.1
    • 5.1.2
    • 5.1.3
    • 5.2.0
    • 5.3.0
    • 5.4.0
    • 5.5.0
    Affected ranges
    • ECOSYSTEM: < 5.5.1

    Update to 5.5.1

  • django-s3file PyPI

    Versions
    • 0.1.0
    • 0.1.1
    • 0.1.10
    • 0.1.11
    • 0.1.12
    • 0.1.13
    • 0.1.14
    • 0.1.15
    • 0.1.16
    • 0.1.17
    • 0.1.18
    • 0.1.19
    • 0.1.2
    • 0.1.20
    • 0.1.21
    • 0.1.22
    • 0.1.23
    • 0.1.3
    • 0.1.4
    • 0.1.5
    • 0.1.6
    • 0.1.7
    • 0.1.8
    • 0.1.9
    • 0.2.0
    • 0.3.0
    • 0.3.1
    • 0.3.2
    • 0.3.3
    • 0.3.4
    • 0.3.5
    • 0.3.6
    • 0.3.7
    • 0.4.0
    • 0.4.1
    • 0.5.0
    • 0.5.1
    • 0.5.2
    • 0.5.3
    • 0.5.4
    • 0.6.0
    • 0.6.1
    • 0.6.2
    • 1.0.0
    • 1.0.1
    • 1.0.2
    • 1.1.0
    • 1.2.0
    • 1.2.1
    • 2.0.0
    • 3.0.0
    • 3.0.1
    • 3.0.2
    • 3.0.3
    • 3.0.4
    • 3.0.5
    • 4.0.0
    • 4.0.1
    • 4.0.2
    • 4.1.0
    • 4.2.0
    • 5.0.0
    • 5.0.1
    • 5.0.2
    • 5.0.4
    • 5.0.5
    • 5.0.6
    • 5.1.0
    • 5.1.1
    • 5.1.2
    • 5.1.3
    • 5.2.0
    • 5.3.0
    • 5.4.0
    • 5.5.0
    Affected ranges
    • GIT: < 68ccd2c621a40eb66fdd6af2be9d5fcc9c373318
    • ECOSYSTEM: < 5.5.1

    Update to 5.5.1

Original sources

Check your server →