Bug 2046479 (CVE-2022-0359) - CVE-2022-0359 vim: Heap-based buffer overflow in init_ccline() in ex_getln.c
Summary: CVE-2022-0359 vim: Heap-based buffer overflow in init_ccline() in ex_getln.c
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2022-0359
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: 2046480 2046529 2046607 2046608 2046609
Blocks: 2046438
TreeView+ depends on / blocked
 
Reported: 2022-01-26 19:03 UTC by Guilherme de Almeida Suckevicz
Modified: 2022-09-19 19:58 UTC (History)
17 users (show)

Fixed In Version: vim 8.2.4227
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in vim. The vulnerability occurs due to Illegal memory access with large 'tabstop' in Ex mode, which can lead 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 16:01:57 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:13 UTC

Description Guilherme de Almeida Suckevicz 2022-01-26 19:03:32 UTC
Heap-based Buffer Overflow in Conda vim prior to 8.2.

Reference:
https://huntr.dev/bounties/a3192d90-4f82-4a67-b7a6-37046cc88def

Upstream patch:
https://github.com/vim/vim/commit/85b6747abc15a7a81086db31289cf1b8b17e6cb1

Comment 1 Guilherme de Almeida Suckevicz 2022-01-26 19:03:46 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2046480]

Comment 2 juneau 2022-01-26 21:29:09 UTC
Marking services affected/delegated for Yet Another Vim Flaw that is low/moderate in severity and unlikely to occur.

Comment 7 errata-xmlrpc 2022-03-15 10:21:10 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 8 Product Security DevOps Team 2022-03-15 16:01:54 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-0359


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