Bug 2044954 (CVE-2022-0128) - CVE-2022-0128 vim: a heap-based OOB read of size 1
Summary: CVE-2022-0128 vim: a heap-based OOB read of size 1
Keywords:
Status: NEW
Alias: CVE-2022-0128
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: 2045153 2044956
Blocks: 2044609
TreeView+ depends on / blocked
 
Reported: 2022-01-25 11:34 UTC by Marian Rehak
Modified: 2022-02-22 06:37 UTC (History)
16 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A heap-based out-of-bounds read flaw was found in vim. This issue allows an attacker to input a specially crafted file causing an application to crash, leading to a denial of service and possibly disclosing a small amount of memory.
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Marian Rehak 2022-01-25 11:34:08 UTC
A heap-based OOB read of size 1 occurs when a user tries to open a vim session file specified below. This happens regardless of any command line options that could be specified to restrict vim, such -Z and -m.

Reference:

https://huntr.dev/bounties/63f51299-008a-4112-b85b-1e904aadd4ba/
https://github.com/vim/vim/commit/d3a117814d6acbf0dca3eff1a7626843b9b3734a

Comment 1 Marian Rehak 2022-01-25 11:40:05 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2044956]

Comment 3 juneau 2022-01-25 15:57:23 UTC
Marked services affected/delegated. Affected code is present, however impact is moderate and actual occurrence of flaw is unlikely.


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