Bug 2163613 (CVE-2022-47024)

Summary: CVE-2022-47024 vim: no check if the return value of XChangeGC() is NULL
Product: [Other] Security Response Reporter: Sandipan Roy <saroy>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: fhrdina, jburrell, zdohnal
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: vim 9.0.1292 Doc Type: If docs needed, set a value
Doc Text:
A NULL pointer dereference issue was found in Vim's gui_x11_create_blank_mouse function in gui_x11.c. This flaw allows attackers to cause a denial of service and other unspecified impacts.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-02-28 12:17:11 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: 2168580, 2168581, 2168582, 2168583    
Bug Blocks: 2163501    

Description Sandipan Roy 2023-01-24 04:34:15 UTC
A null pointer dereference issue was discovered in function gui_x11_create_blank_mouse in gui_x11.c in vim 8.1.2269 thru 9.0.0339 allows attackers to cause denial of service or other unspecified impacts.

https://github.com/vim/vim/commit/a63ad78ed31e36dbdf3a9cd28071dcdbefce7d19

Comment 1 Marian Rehak 2023-02-09 12:46:27 UTC
Created vim tracking bugs for this issue:

Affects: fedora-36 [bug 2168580]
Affects: fedora-37 [bug 2168581]

Comment 3 Fedora Update System 2023-02-18 01:19:58 UTC
FEDORA-FLATPAK-2023-aca09f139c has been pushed to the Fedora 37 Flatpaks stable repository.
If problem still persists, please make note of it in this bug report.

Comment 4 errata-xmlrpc 2023-02-28 08:19:07 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2023:0958 https://access.redhat.com/errata/RHSA-2023:0958

Comment 5 Product Security DevOps Team 2023-02-28 12:17:09 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-47024