Bug 2049007 (CVE-2022-0407)

Summary: CVE-2022-0407 vim: heap-based buffer overflow on read in yank_copy_line
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: caswilli, 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: vim 8.2.4278 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in vim. The vulnerability occurs due to the read operation before the start of the line 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: 2049008    
Bug Blocks: 2048522    

Description Marian Rehak 2022-02-01 10:33:43 UTC
Heap-buffer-overflow on read in yank_copy_line.

Reference:

https://huntr.dev/bounties/81822bf7-aafe-4d37-b836-1255d46e572c

Comment 1 Marian Rehak 2022-02-01 10:34:09 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2049008]

Comment 3 juneau 2022-02-01 17:42:04 UTC
Marking Services affected/wontreport.
Have already reported and filed trackers for CVE-2022-0408 and -0413 attached to same task.
Remediation is the same for all, and additional trackers add no value.