Bug 2054278 (CVE-2022-0572)

Summary: CVE-2022-0572 vim: heap overflow in ex_retab() may lead to crash
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: bdettelb, caswilli, dhalasz, fhrdina, 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.4359 Doc Type: If docs needed, set a value
Doc Text:
A heap-based buffer overflow flaw was found in vim's ex_retab() function of indent.c file. This flaw occurs when repeatedly using ":retab." This flaw allows an attacker to trick a user into opening a crafted file triggering a heap-overflow.
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:
Bug Depends On: 2054279, 2054600    
Bug Blocks: 2054281, 2054282    

Comment 1 Marian Rehak 2022-02-14 15:13:27 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2054279]

Comment 2 juneau 2022-02-14 16:37:04 UTC
Marking services affected/wontereport/low as this is yet another in a long line of vim issues that are very unlikely to affect services, and remediation for vim is already in play.