Path Traversal in Codingjoe Django-S3file

CVE-2022-24840

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.

Vulnerability class: Path Traversal (Directory Traversal)

EPSS: 0.020 (79.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2022-24840?
CVE-2022-24840 is a critical-severity vulnerability in Codingjoe Django-S3file, classified under Path Traversal. CVSS score: 9.1/10. Published 2022-06-09.
How severe is CVE-2022-24840?
Critical severity. CVSS v3 base score is 9.1 out of 10.