Bug 2049007 (CVE-2022-0407) - CVE-2022-0407 vim: heap-based buffer overflow on read in yank_copy_line
Summary: CVE-2022-0407 vim: heap-based buffer overflow on read in yank_copy_line
Keywords:
Status: NEW
Alias: CVE-2022-0407
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 2049008
Blocks: 2048522
TreeView+ depends on / blocked
 
Reported: 2022-02-01 10:33 UTC by Marian Rehak
Modified: 2023-07-07 08:27 UTC (History)
14 users (show)

Fixed In Version: vim 8.2.4278
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in vim. The vulnerability occurs due to the read operation before the start of the line and leads to a heap buffer overflow. This flaw allows an attacker to input a specially crafted file, leading to a crash or code execution.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Marian Rehak 2022-02-01 10:33:43 UTC
Heap-buffer-overflow on read in yank_copy_line.

Reference:

https://huntr.dev/bounties/81822bf7-aafe-4d37-b836-1255d46e572c

Comment 1 Marian Rehak 2022-02-01 10:34:09 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2049008]

Comment 3 juneau 2022-02-01 17:42:04 UTC
Marking Services affected/wontreport.
Have already reported and filed trackers for CVE-2022-0408 and -0413 attached to same task.
Remediation is the same for all, and additional trackers add no value.


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