Bug 2165798 (CVE-2023-0512)

Summary: CVE-2023-0512 vim: divide by zero in adjust_skipcol() at move.ca
Product: [Other] Security Response Reporter: TEJ RATHI <trathi>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: adudiak, aprice, bdettelb, caswilli, darunesh, dffrench, dfreiber, dkuc, doconnor, drow, fjansen, gzaronik, hkataria, jburrell, jforrest, jkoehler, jmitchel, jsamir, jtanner, jwon, kaycoth, kholdawa, kshier, lcouzens, lphiri, mpierce, mskarbek, ngough, omaciel, rblanco, rgodfrey, stcannon, sthirugn, teagle, tfister, vkrizan, vkumar, vmugicag, yguenane, zdohnal
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: vim 9.0.1247 Doc Type: If docs needed, set a value
Doc Text:
A divide-by-zero flaw was found in Vim's adjust_skipcol() function in the move.c file. This flaw allows an attacker to trick a user into opening a specially crafted file, triggering a floating point exception error and causing an application to crash, eventually 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: 2167628, 2167629, 2179801    
Bug Blocks: 2165716    

Description TEJ RATHI 2023-01-31 05:39:10 UTC
Divide By Zero in GitHub repository vim/vim prior to 9.0.1247.

https://github.com/vim/vim/commit/870219c58c0804bdc55419b2e455c06ac715a835
https://huntr.dev/bounties/de83736a-1936-4872-830b-f1e9b0ad2a74

Comment 4 Dhananjay Arunesh 2023-03-20 06:46:11 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2179801]