PT-2024-2138
CVE-2023-45290
·
تاريخ النشر
2024-03-05
·
تاريخ التحديث
2026-09-23
الوصف من
CVSS 2.0
7.8
عاليةالمقاييسAV:N/AC:L/Au:N/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions
Go versions prior to the fixed version
Description
The issue is related to parsing multipart forms, where limits on the total size of the parsed form were not applied to the memory consumed while reading a single form line. This allows a maliciously crafted input containing very long lines to cause allocation of arbitrarily large amounts of memory, potentially leading to memory exhaustion. The
ParseMultipartForm function now correctly limits the maximum size of form lines with the fix.Recommendations
For Go versions prior to the fixed version, consider updating to a version that includes the fix for the
ParseMultipartForm function to correctly limit the maximum size of form lines. As a temporary workaround, consider restricting the use of the Request.ParseMultipartForm, Request.FormValue, Request.PostFormValue, or Request.FormFile functions to minimize the risk of exploitation. Avoid using these functions with untrusted input until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability, but updating to the latest version may help mitigate the risk. وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾