Bug 2102153 (CVE-2022-2182)

Summary: CVE-2022-2182 vim: heap-based buffer overflow through parse_cmd_address() in function utf_ptr2char
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX 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.5150 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-25 18:07:32 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: 2102154, 2121234, 2121235    
Bug Blocks: 2102155    

Description Marian Rehak 2022-06-29 12:08:30 UTC
Heap-based buffer overflow capable of crashing software, modify memory, and possible remote execution.

Reference:

https://github.com/vim/vim/commit/f7c7c3fad6d2135d558f3b36d0d1a943118aeb5e
https://huntr.dev/bounties/238d8650-3beb-4831-a8f7-6f0b597a6fb8

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

Affects: fedora-all [bug 2102154]