Bug 2048353 (CVE-2022-0368)

Summary: CVE-2022-0368 vim: Out-of-bounds Read in vim
Product: [Other] Security Response Reporter: Avinash Hanwate <ahanwate>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: fdeutsch, fhrdina, gchamoul, gparvin, karsten, michal.skrivanek, mperina, njean, pahickey, stcannon, zdohnal
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: vim 8.2.4266 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 a heap buffer overflow. This flaw allows an attacker to input a specially crafted file, leading to a crash or code execution.
Story Points: ---
Clone Of: Environment:
Last Closed: 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: 2048403, 2048404, 2048405    
Bug Blocks: 2048354    

Description Avinash Hanwate 2022-01-31 04:09:11 UTC
Out-of-bounds Read in GitHub repository vim/vim prior to 8.2.

https://huntr.dev/bounties/bca9ce1f-400a-4bf9-9207-3f3187cb3fa9
https://github.com/vim/vim/commit/8d02ce1ed75d008c34a5c9aaa51b67cbb9d33baa

Comment 2 Sandipan Roy 2022-01-31 07:12:21 UTC
Created vim tracking bugs for this issue:

Affects: fedora-34 [bug 2048403]
Affects: fedora-35 [bug 2048404]