Bug 2176457 (CVE-2023-1175) - CVE-2023-1175 vim: Incorrect Calculation of Buffer Size
Summary: CVE-2023-1175 vim: Incorrect Calculation of Buffer Size
Keywords:
Status: NEW
Alias: CVE-2023-1175
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2176458 Red Hat2177975 Red Hat2177976
Blocks: Embargoed2176460
TreeView+ depends on / blocked
 
Reported: 2023-03-08 12:59 UTC by Pedro Sampaio
Modified: 2023-03-17 04:26 UTC (History)
2 users (show)

Fixed In Version: vim 9.0.1378
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in Vim. There is an incorrect calculation of buffer size issue found in Vim's yank_copy_line() function of the register.c file. This flaw allows illegal memory access when using virtual editing as "startspaces" goes negative. An attacker can trick a user into opening a specially crafted file, triggering an issue that causes an application to crash leading to a denial of service, corrupting memory, and possibly executing code.
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Pedro Sampaio 2023-03-08 12:59:02 UTC
Incorrect Calculation of Buffer Size in GitHub repository vim/vim prior to 9.0.1378.

References:

https://github.com/vim/vim/commit/c99cbf8f289bdda5d4a77d7ec415850a520330ba
https://huntr.dev/bounties/7e93fc17-92eb-4ae7-b01a-93bb460b643e

Comment 1 Pedro Sampaio 2023-03-08 12:59:17 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2176458]


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