Bug 2083029 (CVE-2022-1620)

Summary: CVE-2022-1620 vim: NULL Pointer Dereference in vim_regexec_string() of regexp.c
Product: [Other] Security Response Reporter: TEJ RATHI <trathi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: gchamoul, karsten, michal.skrivanek, mperina, sbonazzo, zdohnal
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: vim 8.2.4901 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in vim, which is vulnerable to a NULL pointer dereference in vim_regexec_string() of the regexp.c function. This flaw allows a specially crafted file to crash software when opened in vim.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-10 11:46:45 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: 2083471, 2111906    
Bug Blocks: 2083030    

Description TEJ RATHI 2022-05-09 06:31:15 UTC
NULL Pointer Dereference in function vim_regexec_string at regexp.c in vim/vim prior to 8.2, allows attackers to cause a denial of service (application crash) via a crafted input.

https://huntr.dev/bounties/7a4c59f3-fcc0-4496-995d-5ca6acd2da51
https://github.com/vim/vim/commit/8e4b76da1d7e987d43ca960dfbc372d1c617466f

Comment 1 Marian Rehak 2022-05-10 07:48:14 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2083471]