Bug 2034720 (CVE-2021-4136)

Summary: CVE-2021-4136 vim: heap-based buffer overflow in eval_lambda() in src/eval.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, gparvin, jburrell, jwong, karsten, kaycoth, micjohns, njean, pahickey, stcannon, sthirugn, vkrizan, vkumar, vmugicag, zdohnal
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: vim 8.2.3847 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: 2034721, 2034780    
Bug Blocks: 2034722    

Description Guilherme de Almeida Suckevicz 2021-12-21 19:47:22 UTC
Vim is vulnerable to heap-based buffer overflow.

Reference:
https://huntr.dev/bounties/5c6b93c1-2d27-4e98-a931-147877b8c938

Upstream patch:
https://github.com/vim/vim/commit/605ec91e5a7330d61be313637e495fa02a6dc264

Comment 1 Guilherme de Almeida Suckevicz 2021-12-21 19:47:42 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2034721]