Bug 2044954 (CVE-2022-0128)

Summary: CVE-2022-0128 vim: a heap-based OOB read of size 1
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: bdettelb, caswilli, dhalasz, fjansen, gchamoul, jburrell, jwong, karsten, kaycoth, micjohns, sthirugn, vkrizan, vkumar, vmugicag, zdohnal
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A heap-based out-of-bounds read flaw was found in vim. This issue allows an attacker to input a specially crafted file causing an application to crash, leading to a denial of service and possibly disclosing a small amount of memory.
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: 2044956, 2045153    
Bug Blocks: 2044609    

Description Marian Rehak 2022-01-25 11:34:08 UTC
A heap-based OOB read of size 1 occurs when a user tries to open a vim session file specified below. This happens regardless of any command line options that could be specified to restrict vim, such -Z and -m.

Reference:

https://huntr.dev/bounties/63f51299-008a-4112-b85b-1e904aadd4ba/
https://github.com/vim/vim/commit/d3a117814d6acbf0dca3eff1a7626843b9b3734a

Comment 1 Marian Rehak 2022-01-25 11:40:05 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2044956]

Comment 3 juneau 2022-01-25 15:57:23 UTC
Marked services affected/delegated. Affected code is present, however impact is moderate and actual occurrence of flaw is unlikely.