PT-2023-9029

CVE-2023-24536

·

تاريخ النشر

2023-04-04

·

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

2026-10-30

الوصف من

CVSS 3.1
9.8
حرجة
المقاييسAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Golang (affected versions not specified)
Description The issue is related to the consumption of large amounts of CPU and memory when processing form inputs containing a large number of parts. This can be caused by several factors, including the undercounting of memory consumption by mime/multipart.Reader.ReadForm, increased pressure on the garbage collector from small allocations, and the allocation of short-lived buffers. An attacker can exploit this to cause a denial of service. The issue affects programs that use mime/multipart.Reader.ReadForm and form parsing in the net/http package with methods like FormFile, FormValue, ParseMultipartForm, and PostFormValue.
Recommendations To resolve the issue, update the mime/multipart package to a version that includes the fix for the issue. As a temporary workaround, consider setting environment variables GODEBUG=multipartmaxparts= and GODEBUG=multipartmaxheaders= to limit the size of parsed forms and the number of header fields, respectively. Restrict access to the mime/multipart.Reader.ReadForm function and the net/http package's form parsing methods to minimize the risk of exploitation. Avoid using the FormFile, FormValue, ParseMultipartForm, and PostFormValue methods in the net/http package until the issue is resolved.
قابلية الاستغلال
استغلال
إصلاح
التأثيرات
الباحثون
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
ALSA-2023:6346
ALSA-2023:6363
ALSA-2023:6402
ALSA-2023:6473
ALSA-2023:6474
ALSA-2023:6938
ALSA-2023:6939
ALT-PU-2023-1575
ALT-PU-2023-1598
ALT-PU-2023-4736
ALT-PU-2023-4785
ALT-PU-2023-5492
ALT-PU-2023-7055
AZL-26028
AZL-37340
AZL-37431
AZL-79062
AZL-98814
BIT-GOLANG-2023-24536
CESA-2023_3319
CESA-2023_6938
CESA-2023_6939
CLEANSTART-2024-DX47616
GO-2023-1705
MGASA-2023-0145
OESA-2023-1237
OESA-2024-1001
OESA-2024-1074
OESA-2025-1059
OESA-2025-1185
OESA-2025-1221
OESA-2025-1222
OPENSUSE-SU-2024:12841-1
OPENSUSE-SU-2024:12845-1
RHSA-2023:3318
RHSA-2023_3318
RHSA-2023:3319
RHSA-2023_3319
RHSA-2023:3445
RHSA-2023:3450
RHSA-2023:3536
RHSA-2023:3540
RHSA-2023:3612
RHSA-2023:4003
RHSA-2023:4093
RHSA-2023:4470
RHSA-2023:5964
RHSA-2023:6346
RHSA-2023_6346
RHSA-2023:6363
RHSA-2023_6363
RHSA-2023:6402
RHSA-2023_6402
RHSA-2023:6473
RHSA-2023_6473
RHSA-2023:6474
RHSA-2023_6474
RHSA-2023:6938
RHSA-2023_6938
RHSA-2023:6939
RHSA-2023_6939
SUSE-SU-2023:1791-1
SUSE-SU-2023:1792-1
SUSE-SU-2023:2105-1
SUSE-SU-2023:2105-2
SUSE-SU-2023:2127-1
USN-7109-1
USN-7111-1
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾