Bug 2021292 (CVE-2021-3928)

Summary: CVE-2021-3928 vim: stack-based buffer overflow in spell_iswordp() in spell.c
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: bdettelb, caswilli, fjansen, gchamoul, gghezzo, gparvin, jburrell, jnakfour, jramanat, jwong, karsten, kaycoth, pahickey, psegedy, stcannon, vkumar, vmugicag, zdohnal
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: vim 8.2.3582 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in vim. A possible stack-based buffer overflow could allow an attacker to input a specially crafted file leading to a crash or code execution. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-10 11:23:41 UTC 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: 2021293, 2021426    
Bug Blocks: 2021294    

Description Guilherme de Almeida Suckevicz 2021-11-08 18:16:59 UTC
vim is vulnerable to stack-based buffer overflow.

Reference:
https://huntr.dev/bounties/29c3ebd2-d601-481c-bf96-76975369d0cd

Upstream patch:
https://github.com/vim/vim/commit/15d9890eee53afc61eb0a03b878a19cb5672f732

Comment 1 Guilherme de Almeida Suckevicz 2021-11-08 18:17:16 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2021293]