Bug 1421613 (CVE-2017-5953)

Summary: CVE-2017-5953 vim: Tree length values not validated properly when handling a spell file
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: dkholia, gchamoul, karsten, moshima.web, sardella, slawomir, zdohnal
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-23 07:47:46 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: 1421652    
Bug Blocks: 1421615    

Description Andrej Nemec 2017-02-13 09:17:18 UTC
It was found that vim does not properly validate values for tree length when handling a spell file, which may result in an integer overflow at a memory allocation site and a resultant buffer overflow.

Upstream bug:

https://groups.google.com/forum/#!topic/vim_dev/t-3RSdEnrHY

Upstream patch:

https://github.com/vim/vim/commit/399c297aa93afe2c0a39e2a1b3f972aebba44c9d

Comment 1 Andrej Nemec 2017-02-13 11:09:57 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 1421652]