Bug 2050053 (CVE-2022-0361) - CVE-2022-0361 vim: Illegal memory access when copying lines in visual mode leads to heap buffer overflow
Summary: CVE-2022-0361 vim: Illegal memory access when copying lines in visual mode le...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2022-0361
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2050054 2050059 2050060 2050061
Blocks: 2050055
TreeView+ depends on / blocked
 
Reported: 2022-02-03 06:21 UTC by Dhananjay Arunesh
Modified: 2022-09-19 19:58 UTC (History)
4 users (show)

Fixed In Version: vim 8.2.4286
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in vim. The vulnerability occurs due to illegal memory access when copying lines in visual mode 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: 2022-03-15 17:01:24 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:0894 0 None None None 2022-03-15 10:21:38 UTC

Description Dhananjay Arunesh 2022-02-03 06:21:11 UTC
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.

References:
https://huntr.dev/bounties/a055618c-0311-409c-a78a-99477121965b
https://github.com/vim/vim/commit/dc5490e2cbc8c16022a23b449b48c1bd0083f366

Comment 1 Dhananjay Arunesh 2022-02-03 06:21:50 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2050054]

Comment 4 errata-xmlrpc 2022-03-15 10:21:36 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2022:0894 https://access.redhat.com/errata/RHSA-2022:0894

Comment 5 Product Security DevOps Team 2022-03-15 17:01:22 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-0361


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