Bug 1789499 (CVE-2019-20079) - CVE-2019-20079 vim: Use after free in window.c
Summary: CVE-2019-20079 vim: Use after free in window.c
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2019-20079
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: 1789500
Blocks: 1789501
TreeView+ depends on / blocked
 
Reported: 2020-01-09 17:52 UTC by Pedro Sampaio
Modified: 2021-02-16 20:47 UTC (History)
3 users (show)

Fixed In Version: vim 8.1.2136
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-13 20:09:42 UTC
Embargoed:


Attachments (Terms of Use)

Description Pedro Sampaio 2020-01-09 17:52:40 UTC
The autocmd feature in window.c in Vim before 8.1.2136 accesses freed memory.

Upstream patch:

https://github.com/vim/vim/commit/ec66c41d84e574baf8009dbc0bd088d2bc5b2421
https://github.com/vim/vim/compare/v8.1.2135...v8.1.2136

Comment 1 Pedro Sampaio 2020-01-09 17:53:02 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 1789500]

Comment 2 Riccardo Schirone 2020-01-13 16:49:48 UTC
Upstream issue:

https://github.com/vim/vim/issues/5041

Comment 3 Riccardo Schirone 2020-01-13 17:15:09 UTC
The following commit introduces the vulnerability:
https://github.com/vim/vim/commit/a27e1dcddc9e3914ab34b164f71c51b72903b00b

This commit was first introduced in upstream version v8.1.2121.

Comment 4 Riccardo Schirone 2020-01-13 17:19:13 UTC
Statement:

The versions of vim as shipped in Red Hat Enterprise Linux 5, 6, 7, and 8 are not affected by this flaw because the vulnerability was introduced in a newer version of the component.

Comment 5 Product Security DevOps Team 2020-01-13 20:09:42 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-2019-20079


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