Bug 2176413 (CVE-2023-1264)

Summary: CVE-2023-1264 vim: NULL pointer dereference issue in utfc_ptr2len
Product: [Other] Security Response Reporter: Mauro Matteo Cascella <mcascell>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: zdohnal
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: vim 9.0.1392 Doc Type: If docs needed, set a value
Doc Text:
A NULL pointer dereference vulnerability was discovered in vim's utfc_ptr2len() function in the mbyte.c file. This issue is due to using a NULL pointer with the nested :open command. This flaw allows an attacker to trick a user into opening a specially crafted file, triggering an issue that causes an application to crash, leading to a denial of service.
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: 2177970, 2179905, 2179906    
Bug Blocks: 2176414    

Description Mauro Matteo Cascella 2023-03-08 10:48:23 UTC
A NULL pointer dereference issue was found in utfc_ptr2len in vim prior to 9.0.1392.

Security Advisory:
https://huntr.dev/bounties/b2989095-88f3-413a-9a39-c1c58a6e6815

Upstream fix:
https://github.com/vim/vim/commit/7ac5023a5f1a37baafbe1043645f97ba3443d9f6

Comment 1 TEJ RATHI 2023-03-14 05:32:33 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2177970]