跳转到帖子

Amazon Linux 2023: CVE-2023-45290: Medium priority package update for golang

recommended_posts

发布于
  • Members

Amazon Linux 2023: CVE-2023-45290: Medium priority package update for golang

Severity
5
CVSS
(AV:N/AC:L/Au:N/C:N/I:N/A:P)
Published
03/05/2024
Created
02/14/2025
Added
02/14/2025
Modified
02/14/2025

Description

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. A flaw was discovered in Go's net/http standard library package. 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.

Solution(s)

  • amazon-linux-2023-upgrade-golang
  • amazon-linux-2023-upgrade-golang-bin
  • amazon-linux-2023-upgrade-golang-docs
  • amazon-linux-2023-upgrade-golang-misc
  • amazon-linux-2023-upgrade-golang-shared
  • amazon-linux-2023-upgrade-golang-src
  • amazon-linux-2023-upgrade-golang-tests

References

  • https://attackerkb.com/topics/cve-2023-45290
  • CVE - 2023-45290
  • https://alas.aws.amazon.com/AL2023/ALAS-2024-629.html
  • 查看数 705
  • 已创建
  • 最后回复

参与讨论

你可立刻发布并稍后注册。 如果你有帐户,立刻登录发布帖子。
注意:你的帖子需要版主批准后才能看到。

游客
回帖…