Bug 2091687 (CVE-2022-1927) - CVE-2022-1927 vim: buffer over-read in utf_ptr2char() in mbyte.c
Summary: CVE-2022-1927 vim: buffer over-read in utf_ptr2char() in mbyte.c
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2022-1927
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: 2091688 2093849 2093850 2095107 2095108
Blocks: 2091689
TreeView+ depends on / blocked
 
Reported: 2022-05-30 17:40 UTC by Guilherme de Almeida Suckevicz
Modified: 2022-11-15 05:03 UTC (History)
7 users (show)

Fixed In Version: vim 8.2.5037
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 buffer over-read vulnerability in the utf_ptr2char 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-09-01 01:55:49 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:5813 0 None None None 2022-08-03 12:53:31 UTC
Red Hat Product Errata RHSA-2022:5942 0 None None None 2022-08-09 10:28:00 UTC

Description Guilherme de Almeida Suckevicz 2022-05-30 17:40:11 UTC
Buffer Over-read in GitHub repository vim/vim prior to 8.2.

Reference:
https://huntr.dev/bounties/945107ef-0b27-41c7-a03c-db99def0e777

Upstream patch:
https://github.com/vim/vim/commit/4d97a565ae8be0d4debba04ebd2ac3e75a0c8010

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

Affects: fedora-all [bug 2091688]

Comment 5 errata-xmlrpc 2022-08-03 12:53:29 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2022:5813 https://access.redhat.com/errata/RHSA-2022:5813

Comment 6 errata-xmlrpc 2022-08-09 10:27:58 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2022:5942 https://access.redhat.com/errata/RHSA-2022:5942

Comment 7 Product Security DevOps Team 2022-09-01 01:55:47 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-1927


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