Bug 2035928 (CVE-2021-4166)

Summary: CVE-2021-4166 vim: out-of-bounds read in do_arg_all() in src/arglist.c
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: bdettelb, caswilli, dhalasz, fjansen, gchamoul, jary, jburrell, jwong, karsten, kaycoth, micjohns, saroy, sthirugn, tcarlin, vkrizan, vkumar, vmugicag, zdohnal
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: vim 8.2.3884 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in vim. A possible heap-based buffer overflow could allow 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: 2035929, 2035976, 2035977, 2037021, 2037022    
Bug Blocks: 2035932    

Description Guilherme de Almeida Suckevicz 2021-12-28 16:39:25 UTC
Vim is vulnerable to out-of-bounds read.

Reference:
https://huntr.dev/bounties/229df5dd-5507-44e9-832c-c70364bdf035

Upstream patch:
https://github.com/vim/vim/commit/6f98371532fcff911b462d51bc64f2ce8a6ae682

Comment 1 Guilherme de Almeida Suckevicz 2021-12-28 16:39:42 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2035929]