#VU33442 Integer overflow - CVE-2017-5953
Published: February 10, 2017 / Updated: August 4, 2020
Vulnerability identifier: #VU33442
Vulnerability risk: High
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2017-5953
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerable software:
Software vendor:
Description
The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.
vim before patch 8.0.0322 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.
Remediation
Install update from vendor's website.
External links
- http://www.debian.org/security/2017/dsa-3786
- http://www.securityfocus.com/bid/96217
- https://github.com/vim/vim/commit/399c297aa93afe2c0a39e2a1b3f972aebba44c9d
- https://groups.google.com/forum/#!topic/vim_dev/t-3RSdEnrHY
- https://security.gentoo.org/glsa/201706-26
- https://usn.ubuntu.com/4016-1/
- https://usn.ubuntu.com/4309-1/