Bug 2097374 (CVE-2022-2000) - CVE-2022-2000 vim: out-of-bounds write in function append_command
Summary: CVE-2022-2000 vim: out-of-bounds write in function append_command
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2022-2000
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: 2097375
Blocks: 2097376
TreeView+ depends on / blocked
 
Reported: 2022-06-15 14:26 UTC by Marian Rehak
Modified: 2022-06-22 12:11 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
An out-of-bounds write vulnerability was found in Vim's append_command() function of the src/ex_docmd.c file. This issue occurs when an error for a command goes over the end of IObuff. This flaw allows an attacker to trick a user into opening a specially crafted file, triggering a heap buffer overflow that causes an application to crash and corrupt memory.
Clone Of:
Environment:
Last Closed: 2022-06-20 15:07:18 UTC
Embargoed:


Attachments (Terms of Use)

Description Marian Rehak 2022-06-15 14:26:32 UTC
Out-of-bounds write in function append_command at ex_docmd.c:3447.

Reference:

https://huntr.dev/bounties/f61a64e2-d163-461b-a77e-46ab38e021f0
https://github.com/vim/vim/commit/44a3f3353e0407e9fffee138125a6927d1c9e7e5

Comment 1 Marian Rehak 2022-06-15 14:26:45 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2097375]

Comment 2 Product Security DevOps Team 2022-06-20 15:07:16 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-2000


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