Bug 2070437 (CVE-2022-1160) - CVE-2022-1160 vim: heap buffer overflow in get_one_sourceline
Summary: CVE-2022-1160 vim: heap buffer overflow in get_one_sourceline
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2022-1160
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: 2070438
Blocks: 2070439
TreeView+ depends on / blocked
 
Reported: 2022-03-31 08:07 UTC by Borja Tarraso
Modified: 2022-04-01 16:29 UTC (History)
6 users (show)

Fixed In Version: vim 8.2.4647
Doc Type: ---
Doc Text:
A heap buffer overflow flaw was found in vim's get_one_sourceline() function of scriptfile.c file. This flaw occurs when "source" can read past the end of the copied line. This flaw allows an attacker to trick a user into opening a crafted file, triggering a heap-overflow and causing an application to crash, which leads to a denial of service.
Clone Of:
Environment:
Last Closed: 2022-04-01 14:56:22 UTC
Embargoed:


Attachments (Terms of Use)

Description Borja Tarraso 2022-03-31 08:07:21 UTC
A heap buffer overflow in get_one_sourceline in GitHub repository vim/vim prior to 8.2.

The issue has been fixed here: https://github.com/vim/vim/commit/2bdad6126778f907c0b98002bfebf0e611a3f5db

Comment 1 Borja Tarraso 2022-03-31 08:07:36 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2070438]

Comment 3 Product Security DevOps Team 2022-04-01 14:56:20 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-1160


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