Bug 2076170 (CVE-2022-1381) - CVE-2022-1381 vim: global heap buffer overflow in skip_range
Summary: CVE-2022-1381 vim: global heap buffer overflow in skip_range
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2022-1381
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2076889
Blocks: 2076171
TreeView+ depends on / blocked
 
Reported: 2022-04-18 06:22 UTC by Sandipan Roy
Modified: 2022-09-19 19:32 UTC (History)
6 users (show)

Fixed In Version: vim 8.2.4763
Doc Type: If docs needed, set a value
Doc Text:
A global heap buffer overflow vulnerability was found in vim's skip_range() function of the src/ex_docmd.c file. This flaw occurs because vim uses an invalid pointer with "V:" in Ex mode. 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, leading to a denial of service.
Clone Of:
Environment:
Last Closed: 2022-04-20 10:27:28 UTC
Embargoed:


Attachments (Terms of Use)

Description Sandipan Roy 2022-04-18 06:22:49 UTC
global heap buffer overflow in skip_range in GitHub repository vim/vim prior to 8.2. This vulnerability is capable of crashing software, Bypass Protection Mechanism, Modify Memory, and possible remote execution

https://huntr.dev/bounties/55f9c0e8-c221-48b6-a00e-bdcaebaba4a4
https://github.com/vim/vim/commit/f50808ed135ab973296bca515ae4029b321afe47

Comment 2 TEJ RATHI 2022-04-20 07:38:32 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2076889]

Comment 3 Product Security DevOps Team 2022-04-20 10:27:25 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-1381


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