跳转到帖子

Alpine Linux: CVE-2023-45675: Out-of-bounds Write

recommended_posts

发布于
  • Members

Alpine Linux: CVE-2023-45675: Out-of-bounds Write

Severity
7
CVSS
(AV:L/AC:M/Au:N/C:C/I:C/A:C)
Published
10/20/2023
Created
08/23/2024
Added
08/22/2024
Modified
10/02/2024

Description

stb_vorbis is a single file MIT licensed library for processing ogg vorbis files. A crafted file may trigger out of bounds write in `f->vendor[len] = (char)'\0';`. The root cause is that if the len read in `start_decoder` is `-1` and `len + 1` becomes 0 when passed to `setup_malloc`. The `setup_malloc` behaves differently when `f->alloc.alloc_buffer` is pre-allocated. Instead of returning `NULL` as in `malloc` case it shifts the pre-allocated buffer by zero and returns the currently available memory block. This issue may lead to code execution.

Solution(s)

  • alpine-linux-upgrade-stb

References

  • https://attackerkb.com/topics/cve-2023-45675
  • CVE - 2023-45675
  • https://security.alpinelinux.org/vuln/CVE-2023-45675
  • 查看数 705
  • 已创建
  • 最后回复

参与讨论

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

游客
回帖…