Bug 2099979 (CVE-2022-1720)

Summary: CVE-2022-1720 vim: buffer over-read in grab_file_name() in findfile.c
Product: [Other] Security Response Reporter: TEJ RATHI <trathi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: fhrdina, gchamoul, karsten, zdohnal
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: vim 8.2.4956 Doc Type: If docs needed, set a value
Doc Text:
A heap buffer over-read vulnerability was found in Vim's grab_file_name() function of the src/findfile.c file. This flaw occurs because the function reads after the NULL terminates the line with "gf" in Visual block mode. This flaw allows an attacker to trick a user into opening a specially crafted file, triggering a heap buffer over-read vulnerability that causes an application to crash and corrupt memory.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-06-24 11:40:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2099980, 2099986, 2099987    
Bug Blocks: 2099378    

Comment 1 TEJ RATHI 2022-06-22 06:26:04 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2099980]

Comment 3 Product Security DevOps Team 2022-06-24 11:40:06 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-1720