Bug 2050182 (CVE-2022-0443) - CVE-2022-0443 vim: heap-use-after-free in enter_buffer() of src/buffer.c
Summary: CVE-2022-0443 vim: heap-use-after-free in enter_buffer() of src/buffer.c
Keywords:
Status: NEW
Alias: CVE-2022-0443
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 2050183 2050213
Blocks: 2048522
TreeView+ depends on / blocked
 
Reported: 2022-02-03 12:29 UTC by TEJ RATHI
Modified: 2023-07-07 08:28 UTC (History)
16 users (show)

Fixed In Version: vim 8.2.4286
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in vim. The vulnerability occurs due to using freed memory which results in a use-after-free vulnerability. This flaw allows an attacker to input a specially crafted file, leading to a crash or code execution.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description TEJ RATHI 2022-02-03 12:29:38 UTC
Use After Free in Conda vim prior to 8.2.

Reproducer:
https://huntr.dev/bounties/b987c8cb-bbbe-4601-8a6c-54ff907c6b51

Upstream Patch:
https://github.com/vim/vim/commit/9b4a80a66544f2782040b641498754bcb5b8d461

Comment 1 TEJ RATHI 2022-02-03 12:30:05 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2050183]

Comment 2 juneau 2022-02-03 12:52:09 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.


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