Bug 2250272 (CVE-2023-48235) - CVE-2023-48235 vim: overflow in ex address parsing
Summary: CVE-2023-48235 vim: overflow in ex address parsing
Keywords:
Status: NEW
Alias: CVE-2023-48235
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2250279
Blocks: 2250282
TreeView+ depends on / blocked
 
Reported: 2023-11-17 12:12 UTC by TEJ RATHI
Modified: 2024-03-27 16:38 UTC (History)
0 users

Fixed In Version: vim 9.0.2110
Doc Type: If docs needed, set a value
Doc Text:
A flaw as found in Vim, an open source command line text editor. When parsing relative ex addresses, one may unintentionally cause an overflow. Ironically, this happens in the existing overflow check because the line number becomes negative and LONG_MAX - lnum will cause the overflow. The impact is low because user interaction is required and a crash may not happen in all situations.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description TEJ RATHI 2023-11-17 12:12:55 UTC
Vim is an open source command line text editor. When parsing relative ex addresses one may unintentionally cause an
overflow. Ironically this happens in the existing overflow check, because the line number becomes negative and LONG_MAX - lnum will cause the overflow. Impact is low, user interaction is required and a crash may not even happen in all situations. There are no known workarounds for this vulnerability.

http://www.openwall.com/lists/oss-security/2023/11/16/1
https://github.com/vim/vim/commit/060623e4a3bc72b011e7cd92bedb3bfb64e06200
https://github.com/vim/vim/security/advisories/GHSA-6g74-hr6q-pr8g

Comment 1 TEJ RATHI 2023-11-17 12:13:25 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2250279]


Note You need to log in before you can comment on or make changes to this bug.