Bug 2029513 (CVE-2021-4069) - CVE-2021-4069 vim: use-after-free in ex_open() in src/ex_docmd.c
Summary: CVE-2021-4069 vim: use-after-free in ex_open() in src/ex_docmd.c
Keywords:
Status: NEW
Alias: CVE-2021-4069
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2029514 2029776 2029783
Blocks: 2029515
TreeView+ depends on / blocked
 
Reported: 2021-12-06 16:51 UTC by Guilherme de Almeida Suckevicz
Modified: 2022-02-22 06:37 UTC (History)
17 users (show)

Fixed In Version: vim 8.2.3741
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2021-12-06 16:51:02 UTC
Vim is vulnerable to use-after-free.

Reference:
https://huntr.dev/bounties/0efd6d23-2259-4081-9ff1-3ade26907d74

Upstream patch:
https://github.com/vim/vim/commit/e031fe90cf2e375ce861ff5e5e281e4ad229ebb9

Comment 1 Guilherme de Almeida Suckevicz 2021-12-06 16:51:17 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2029514]

Comment 2 lnacshon 2021-12-07 09:54:58 UTC
published PCO

Create a file with content 
)/\v/
o/\%')

execute vim -u NONE -X -Z -e -s -S file -c :qa!


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