Bug 2083026 (CVE-2022-1619) - CVE-2022-1619 vim: heap-buffer-overflow in cmdline_erase_chars of ex_getln.c
Summary: CVE-2022-1619 vim: heap-buffer-overflow in cmdline_erase_chars of ex_getln.c
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2022-1619
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2083470 2111905
Blocks: 2083030
TreeView+ depends on / blocked
 
Reported: 2022-05-09 06:25 UTC by TEJ RATHI
Modified: 2022-11-24 07:30 UTC (History)
6 users (show)

Fixed In Version: vim 8.2.4899
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in vim, which is vulnerable to a heap-buffer-overflow in cmdline_erase_chars of the ex_getln.c function. This flaw allows a specially crafted file to crash software, modify memory or execute code when opened in vim.
Clone Of:
Environment:
Last Closed: 2022-08-10 11:46:29 UTC
Embargoed:


Attachments (Terms of Use)

Description TEJ RATHI 2022-05-09 06:25:51 UTC
Heap-based Buffer Overflow in function cmdline_erase_chars in vim/vim prior to 8.2. 

https://huntr.dev/bounties/b3200483-624e-4c76-a070-e246f62a7450
https://github.com/vim/vim/commit/ef02f16609ff0a26ffc6e20263523424980898fe

Comment 1 Marian Rehak 2022-05-10 07:48:10 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2083470]

Comment 2 Marian Rehak 2022-05-26 11:58:32 UTC
Victim has to run an untrusted file IN SCRIPT MODE. Changing severity to Low.


Note You need to log in before you can comment on or make changes to this bug.