Bug 2102159 (CVE-2022-2183)

Summary: CVE-2022-2183 vim: out-of-bounds read through get_lisp_indent() in function get_lisp_indent
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: gchamoul, karsten, zdohnal
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: vim 8.2.5151 Doc Type: If docs needed, set a value
Doc Text:
AV:L/AC:L/PR:N/UI:R/S:U/ C:H ==> C:N I:H ==> I:N A:H ==> A:L
Story Points: ---
Clone Of: Environment:
Last Closed: 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: 2102160, 2128098, 2128099    
Bug Blocks: 2102155    

Description Marian Rehak 2022-06-29 12:17:19 UTC
Out-of-bounds Read in function get_lisp_indent capable of crashing software, modify memory, and possible remote execution.

Reference:

https://github.com/vim/vim/commit/8eba2bd291b347e3008aa9e565652d51ad638cfa
https://huntr.dev/bounties/d74ca3f9-380d-4c0a-b61c-11113cc98975

Comment 1 Marian Rehak 2022-06-29 12:17:33 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2102160]