Bug 2064064 (CVE-2022-0943)

Summary: CVE-2022-0943 vim: Heap-based Buffer Overflow occurs in vim
Product: [Other] Security Response Reporter: Patrick Del Bello <pdelbell>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: fhrdina, gchamoul, karsten, michal.skrivanek, mperina, sbonazzo, zdohnal
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: vim 8.2.4563 Doc Type: If docs needed, set a value
Doc Text:
A heap buffer overflow flaw was found in vim's suggest_try_change() function of the spellsuggest.c file. This flaw allows an attacker to trick a user into opening a crafted file, triggering a heap-overflow and causing an application to crash, which leads to a denial of service.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-07-01 08:12:38 UTC 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: 2066747, Red Hat2066749, Red Hat2071967    
Bug Blocks: Embargoed2064065    

Description Patrick Del Bello 2022-03-15 00:46:07 UTC
Heap-based Buffer Overflow occurs in vim in GitHub repository vim/vim prior to 8.2.

https://github.com/vim/vim/commit/5c68617d395f9d7b824f68475b24ce3e38d653a3

Comment 2 TEJ RATHI 2022-03-22 12:02:32 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2066747]

Comment 4 errata-xmlrpc 2022-06-28 14:58:19 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2022:5242 https://access.redhat.com/errata/RHSA-2022:5242

Comment 5 Product Security DevOps Team 2022-07-01 08:12:36 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-0943