Bug 2091679 (CVE-2022-1898) - CVE-2022-1898 vim: use-after-free in find_pattern_in_path() in search.c
Summary: CVE-2022-1898 vim: use-after-free in find_pattern_in_path() in search.c
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2022-1898
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: 2091680
Blocks: 2091689
TreeView+ depends on / blocked
 
Reported: 2022-05-30 17:35 UTC by Guilherme de Almeida Suckevicz
Modified: 2022-06-09 13:43 UTC (History)
6 users (show)

Fixed In Version: vim 8.2.5024
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in vim. The vulnerability occurs due to Illegal memory access and leads to a use-after-free vulnerability in the find_pattern_in_path function. This flaw allows an attacker to input a specially crafted file, leading to a crash or code execution.
Clone Of:
Environment:
Last Closed: 2022-06-06 11:46:56 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2022-05-30 17:35:18 UTC
Use After Free in GitHub repository vim/vim prior to 8.2.

Reference:
https://huntr.dev/bounties/45aad635-c2f1-47ca-a4f9-db5b25979cea

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

Comment 1 Guilherme de Almeida Suckevicz 2022-05-30 17:35:30 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2091680]

Comment 2 Product Security DevOps Team 2022-06-06 11:46: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-1898


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