PT-2024-20530

CVE-2024-24752

·

تاريخ النشر

2024-02-01

·

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

2024-10-17

الوصف من

CVSS 3.1
6.5
متوسطة
المقاييسAV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Bref versions prior to 2.1.13
Description The issue arises when Bref is used with the Event-Driven Function runtime and the handler is a RequestHandlerInterface. In this scenario, the Lambda event is converted to a PSR7 object. During the conversion process, if the request is a MultiPart, each part is parsed, and for each part that contains a file, it is extracted and saved in /tmp with a random filename starting with bref upload . However, the temporary files are not deleted after the request has been processed, allowing an attacker to fill the Lambda instance disk by performing multiple MultiPart requests containing files.
Recommendations For versions prior to 2.1.13, update to version 2.1.13 or later to resolve the issue. As a temporary workaround, consider implementing a mechanism to delete the temporary files after the request has been processed and the response has been generated. Restrict access to the /tmp directory to minimize the risk of exploitation. Avoid using the RequestHandlerInterface handler with the Event-Driven Function runtime until the issue is resolved.
قابلية الاستغلال
استغلال
إصلاح
التأثيرات
الباحثون
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
GHSA-X4HH-FRX8-98R5
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾