Bug 2091679 (CVE-2022-1898)

Summary: CVE-2022-1898 vim: use-after-free in find_pattern_in_path() in search.c
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: gchamoul, karsten, michal.skrivanek, mperina, sbonazzo, zdohnal
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: vim 8.2.5024 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 use-after-free vulnerability in the find_pattern_in_path function. 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-06 11:46:56 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: 2091680    
Bug Blocks: 2091689    

Description Guilherme de Almeida Suckevicz 2022-05-30 17:35:18 UTC
Use After Free in GitHub repository vim/vim prior to 8.2.


Upstream patch:

Comment 1 Guilherme de Almeida Suckevicz 2022-05-30 17:35:30 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2091680]

Comment 2 Product Security DevOps Team 2022-06-06 11:46:54 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):