Rapid7 Vulnerability & Exploit Database

Alpine Linux: CVE-2023-46246: Integer Overflow or Wraparound

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

Alpine Linux: CVE-2023-46246: Integer Overflow or Wraparound

Severity
2
CVSS
(AV:L/AC:L/Au:N/C:N/I:N/A:P)
Published
10/27/2023
Created
03/22/2024
Added
03/21/2024
Modified
03/22/2024

Description

Vim is an improved version of the good old UNIX editor Vi. Heap-use-after-free in memory allocated in the function `ga_grow_inner` in in the file `src/alloc.c` at line 748, which is freed in the file `src/ex_docmd.c` in the function `do_cmdline` at line 1010 and then used again in `src/cmdhist.c` at line 759. When using the `:history` command, it's possible that the provided argument overflows the accepted value. Causing an Integer Overflow and potentially later an use-after-free. This vulnerability has been patched in version 9.0.2068.

Solution(s)

  • alpine-linux-upgrade-vim

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;