Bug 2004621 (CVE-2021-3778) - CVE-2021-3778 vim: heap-based buffer overflow in utf_ptr2char() in mbyte.c
Summary: CVE-2021-3778 vim: heap-based buffer overflow in utf_ptr2char() in mbyte.c
Keywords:
Status: NEW
Alias: CVE-2021-3778
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: 2004893 2007112 2007113 2007114 2004622 2004890 2004891 2004892 2004895 2004896 2004897 2004898 2007111
Blocks: 2004623
TreeView+ depends on / blocked
 
Reported: 2021-09-15 16:57 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-12-02 13:06 UTC (History)
17 users (show)

Fixed In Version: vim 8.2.3409
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in vim. A possible heap-based buffer overflow could allow an attacker to input a specially crafted file leading to a crash or code execution. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:4517 0 None None None 2021-11-09 19:04:17 UTC

Description Guilherme de Almeida Suckevicz 2021-09-15 16:57:37 UTC
vim is vulnerable to Heap-based Buffer Overflow.

Reference:
https://huntr.dev/bounties/d9c17308-2c99-4f9f-a706-f7f72c24c273

Upstream patch:
https://github.com/vim/vim/commit/65b605665997fad54ef39a93199e305af2fe4d7f

Comment 25 errata-xmlrpc 2021-11-09 19:04:15 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2021:4517 https://access.redhat.com/errata/RHSA-2021:4517


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