Bug 2091676 (CVE-2022-1851) - CVE-2022-1851 vim: out-of-bounds read in gchar_cursor() in misc1.c
Summary: CVE-2022-1851 vim: out-of-bounds read in gchar_cursor() in misc1.c
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2022-1851
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: 2091677
Blocks: 2091689
TreeView+ depends on / blocked
 
Reported: 2022-05-30 17:32 UTC by Guilherme de Almeida Suckevicz
Modified: 2022-06-09 13:47 UTC (History)
6 users (show)

Fixed In Version: vim 8.2.5013
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in vim. The vulnerability occurs due to Illegal memory access and leads to an out-of-bounds read vulnerability in the gchar_cursor function. This flaw allows an attacker to input a specially crafted file, leading to a crash or code execution.
Clone Of:
Environment:
Last Closed: 2022-06-06 11:17:13 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2022-05-30 17:32:15 UTC
Out-of-bounds Read in GitHub repository vim/vim prior to 8.2.

Reference:
https://huntr.dev/bounties/f8af901a-9a46-440d-942a-8f815b59394d

Upstream patch:
https://github.com/vim/vim/commit/78d52883e10d71f23ab72a3d8b9733b00da8c9ad

Comment 1 Guilherme de Almeida Suckevicz 2022-05-30 17:32:30 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2091677]

Comment 2 Product Security DevOps Team 2022-06-06 11:17:11 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-1851


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