Bug 2103133 (CVE-2022-2257)

Summary: CVE-2022-2257 vim: an out-of-bound read in function msg_outtrans_special
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: gchamoul, karsten, zdohnal
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: vim 9.0.0009 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in vim, which is vulnerable to an out-of-bounds read in the msg_outtrans_special function. This flaw allows a specially crafted file to crash software or execute code when opened in vim.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-07-28 12:34:23 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: 2103134, 2111515    
Bug Blocks: 2103135    

Description Marian Rehak 2022-07-01 14:07:30 UTC
Out-of-bound read in function msg_outtrans_special at message.c:1716.

Reference:

https://github.com/vim/vim/commit/083692d598139228e101b8c521aaef7bcf256e9a
https://huntr.dev/bounties/ca581f80-03ba-472a-b820-78f7fd05fe89

Comment 1 Marian Rehak 2022-07-01 14:07:46 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2103134]