Bug 2099586 (CVE-2022-2129)

Summary: CVE-2022-2129 vim: out of bounds write in vim_regsub_both()
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.5126 Doc Type: If docs needed, set a value
Doc Text:
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: 2099588, 2109684, 2109685    
Bug Blocks: 2099560    

Description Marian Rehak 2022-06-21 09:44:41 UTC
Out-of-bounds write in function vim_regsub_both at regexp.c:1973

Reference:

https://huntr.dev/bounties/3aaf06e7-9ae1-454d-b8ca-8709c98e5352
https://github.com/vim/vim/commit/d6211a52ab9f53b82f884561ed43d2fe4d24ff7d

Comment 1 Marian Rehak 2022-06-21 09:49:59 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2099588]