Tóm tắt nhanh
- CVE-2023-45290 là lỗ hổng mức TRUNG BÌNH (CVSS 6.5) ảnh hưởng stdlib.
- Xác suất bị khai thác trong 30 ngày tới (EPSS): 1.2%, cao hơn 67.3% các lỗ hổng khác.
- Cách xử lý: cập nhật lên 1.22.1, 1.21.8 hoặc mới hơn.
| Gói / sản phẩm | Phiên bản bị ảnh hưởng | Phiên bản đã vá |
|---|
| stdlib Go | ≥ 1.22.0-0, < 1.22.1< 1.21.8
| 1.22.11.21.8
|
Mô tả
When parsing a multipart form (either explicitly with Request.ParseMultipartForm or implicitly with Request.FormValue, Request.PostFormValue, or Request.FormFile), limits on the total size of the parsed form were not applied to the memory consumed while reading a single form line. This permits a maliciously crafted input containing very long lines to cause allocation of arbitrarily large amounts of memory, potentially leading to memory exhaustion.
With fix, the ParseMultipartForm function now correctly limits the maximum size of form lines.
Mô tả của NVD
When parsing a multipart form (either explicitly with Request.ParseMultipartForm or implicitly with Request.FormValue, Request.PostFormValue, or Request.FormFile), limits on the total size of the parsed form were not applied to the memory consumed while reading a single form line. This permits a maliciously crafted input containing very long lines to cause allocation of arbitrarily large amounts of memory, potentially leading to memory exhaustion. With fix, the ParseMultipartForm function now correctly limits the maximum size of form lines.
Bạn đang dùng một trong các sản phẩm này? Quét site để biết có đang lộ phiên bản có lỗ hổng không.
Quét site miễn phí