Bug 2039687 (CVE-2021-4193)

Summary: CVE-2021-4193 vim: out-of-bound read in getvcol()
Product: [Other] Security Response Reporter: Cedric Buissart <cbuissar>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: bdettelb, caswilli, dhalasz, fhrdina, fjansen, gchamoul, jburrell, jnakfour, jwong, karsten, kaycoth, micjohns, sthirugn, tkasparek, vkrizan, vkumar, vmugicag, zdohnal
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: vim 8.2.3950 Doc Type: If docs needed, set a value
Doc Text:
It was found that vim was vulnerable to an out-of-bound read flaw in getvcol(). A specially crafted file could be used to, when opened in vim, disclose some of the process's internal memory.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-02-01 22:03:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2039694, 2039700, 2039702, 2039703, 2043462    
Bug Blocks: 2039688    

Description Cedric Buissart 2022-01-12 08:59:51 UTC
vim is vulnerable to Out-of-bounds Read

Upstream fix :
https://github.com/vim/vim/commit/94f3192b03ed27474db80b4d3a409e107140738b

Comment 1 Cedric Buissart 2022-01-12 09:09:32 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2039694]

Comment 5 errata-xmlrpc 2022-02-01 21:01:04 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 6 Product Security DevOps Team 2022-02-01 22:03:51 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-2021-4193