Bug 2088240 (CVE-2022-1735)

Summary: CVE-2022-1735 vim: changing text in visual mode may cause invalid memory access that lead to a heap buffer overflow
Product: [Other] Security Response Reporter: Sandipan Roy <saroy>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: gchamoul, karsten, michal.skrivanek, mkaplan, mperina, sbonazzo, zdohnal
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: vim 8.2.4969 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in vim. The vulnerability occurs due to Illegal memory access and leads to a heap buffer overflow vulnerability. This flaw allows an attacker to input a specially crafted file, leading to a crash or code execution.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-06-07 07:20:29 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: 2093887, 2093888    
Bug Blocks: 2087598, 2089470    

Description Sandipan Roy 2022-05-19 04:16:59 UTC
Classic Buffer Overflow in GitHub repository vim/vim prior to 8.2.4969.

https://github.com/vim/vim/commit/7ce5b2b590256ce53d6af28c1d203fb3bc1d2d97
https://huntr.dev/bounties/c9f85608-ff11-48e4-933d-53d1759d44d9

Comment 1 Sandipan Roy 2022-06-06 09:52:19 UTC
Created vim tracking bugs for this issue:

Affects: fedora-34 [bug 2093888]
Affects: fedora-35 [bug 2093887]

Comment 2 Product Security DevOps Team 2022-06-07 07:20:27 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-1735

Comment 3 TEJ RATHI 2022-06-13 05:11:39 UTC
*** Bug 2089468 has been marked as a duplicate of this bug. ***

Comment 4 TEJ RATHI 2022-06-13 05:41:33 UTC
*** Bug 2089470 has been marked as a duplicate of this bug. ***