Bug 2116877 (CVE-2022-2571)

Summary: CVE-2022-2571 vim: Heap-based Buffer Overflow in vim
Product: [Other] Security Response Reporter: Sandipan Roy <saroy>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: gchamoul, jburrell, karsten, zdohnal
Target Milestone: ---Keywords: Reopened, Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 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 heap buffer overflow vulnerability. 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-09-02 11:32:48 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: 2116886, 2116887    
Bug Blocks: 2113802    

Description Sandipan Roy 2022-08-09 13:29:53 UTC
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0101.

https://github.com/vim/vim/commit/a6f9e300161f4cb54713da22f65b261595e8e614
https://huntr.dev/bounties/2e5a1dc4-2dfb-4e5f-8c70-e1ede21f3571

Comment 1 Sandipan Roy 2022-08-09 13:36:20 UTC
Created vim tracking bugs for this issue:

Affects: fedora-35 [bug 2116886]
Affects: fedora-36 [bug 2116887]

Comment 2 Zdenek Dohnal 2022-08-11 12:04:04 UTC
Fixed in https://bodhi.fedoraproject.org/updates/FEDORA-2022-2cd01e18e6 .

Comment 3 Zdenek Dohnal 2022-08-16 09:45:18 UTC
I'm sorry, I've messed up the tabs...

Comment 4 Product Security DevOps Team 2022-09-02 11:32:47 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-2571