PT-2023-9597

CVE-2023-29159

·

تاريخ النشر

2023-05-17

·

تاريخ التحديث

2025-01-09

الوصف من

CVSS 2.0
7.8
عالية
المقاييسAV:N/AC:L/Au:N/C:C/I:N/A:N
Name of the Vulnerable Software and Affected Versions Starlette versions 0.13.5 through 0.27.0
Description The issue is related to a directory traversal vulnerability in Starlette, which allows a remote unauthenticated attacker to view files in a web service built using Starlette. This is due to the incorrect limitation of the path name to a restricted directory. The vulnerability can be exploited to breach confidentiality and obtain files that should not be publicly accessible.
Recommendations For Starlette versions 0.13.5 through 0.27.0, consider disabling the StaticFiles directory or restricting access to it until a patch is available. As a temporary workaround, avoid using the os.path.commonprefix() function and instead use os.path.commonpath() to prevent path traversal attacks. Update to a version of Starlette that uses os.path.commonpath() to fix the issue.
قابلية الاستغلال
استغلال
إصلاح
التأثيرات
الباحثون
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
GHSA-QJ8W-RV5X-2V9H
GHSA-V5GW-MW7F-84PX
PYSEC-2023-83
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾