Advisory

PYSEC-2022-208

Also known as: CVE-2022-24840, GHSA-4w8f-hjm9-xwgf

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2022-06-09 04:15 UTC
Modified
2023-11-08 04:08 UTC

Affected packages and fixes

django-s3file

PyPI · All systems

Affected

  • introduced 0, fixed 5.5.1 (ecosystem)

Fixed versions

5.5.1

Fix

  • Fixed version 5.5.1
    pip install --upgrade django-s3file==5.5.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences