Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
codingjoe django-s3file
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

django-s3file是用于 Django 和 Amazon S3 的轻量级文件上传输入。 django-s3file 5.5.1之前版本存在路径遍历漏洞,该漏洞源于django-s3file可以遍历整个 AWS S3 存储桶,并且在大多数情况下可以访问或删除文件。

CVSS 9.1 · Critical EPSS 2.04% · P80
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-24840

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in django-s3file
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
django-s3file 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
django-s3file是用于 Django 和 Amazon S3 的轻量级文件上传输入。 django-s3file 5.5.1之前版本存在路径遍历漏洞,该漏洞源于django-s3file可以遍历整个 AWS S3 存储桶,并且在大多数情况下可以访问或删除文件。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
codingjoe django-s3file < 5.5.1 -

II. Public POCs for CVE-2022-24840

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-24840

登录查看更多情报信息。

Patches & Fixes for CVE-2022-24840 (1)

Vendor Advisories for CVE-2022-24840 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2022-24840

No comments yet


Leave a comment