Bug 2049175 (CVE-2022-0392) - CVE-2022-0392 vim: Heap-based buffer overflow in getexmodeline() in ex_getln.c
Summary: CVE-2022-0392 vim: Heap-based buffer overflow in getexmodeline() in ex_getln.c
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2022-0392
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: 2049176 2049184 2049403 2049404
Blocks: 2048522
TreeView+ depends on / blocked
 
Reported: 2022-02-01 17:09 UTC by Guilherme de Almeida Suckevicz
Modified: 2022-09-19 19:57 UTC (History)
17 users (show)

Fixed In Version: vim 8.2.4282
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 bracketed paste in Ex 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 16:32:12 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:30 UTC

Description Guilherme de Almeida Suckevicz 2022-02-01 17:09:19 UTC
Heap-based buffer overflow in GitHub repository vim/vim prior to 8.2.

Reference:
https://huntr.dev/bounties/d00a2acd-1935-4195-9d5b-4115ef6b3126

Upstream patch:
https://github.com/vim/vim/commit/806d037671e133bd28a7864248763f643967973a

Comment 1 Guilherme de Almeida Suckevicz 2022-02-01 17:09:35 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2049176]

Comment 3 juneau 2022-02-01 17:41:57 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.

Comment 10 errata-xmlrpc 2022-03-15 10:21:27 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 11 Product Security DevOps Team 2022-03-15 16:32:09 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-0392


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