Integer overflow - CVE-2017-5953

 

Integer overflow - CVE-2017-5953

Published: February 10, 2017 / Updated: August 4, 2020


Vulnerability identifier: #VU33442
CSH Severity: High
CVSS v4: 9.3 [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]
CVE-ID: CVE-2017-5953
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

Arch Linux
Amazon Linux AMI
Gentoo Linux
Debian Linux
SUSE OpenStack Cloud
SUSE OpenStack Cloud Crowbar
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
Ubuntu
Fedora
Dell EMC PowerProtect Data Protection
Dell Data Protection Central
EMC Cloud Tiering Appliance
vim (Debian package)
vim-gui-common (Ubuntu package)
vim-common (Ubuntu package)
vim (Ubuntu package)
vim-runtime (Ubuntu package)
vim
vim-data-common
gvim
gvim-debuginfo
vim-debuginfo
vim-debugsource
vim-data
EMC ViPR SRM
Dell EMC Storage Monitoring and Reporting (SMR)
Dell Secure Connect Gateway
RecoverPoint for VMs

How to mitigate CVE-2017-5953

Install update from vendor's website.

vim (Debian package) - update to 2:7.4.488-7+deb8u2
vim-gui-common (Ubuntu package) - addressed in versions 2:7.4.1689-3ubuntu1.3, 2:8.0.1453-1ubuntu1.1, 2:8.0.1766-1ubuntu1.1, 2:8.1.0320-1ubuntu3.1
vim-common (Ubuntu package) - addressed in versions 2:7.4.1689-3ubuntu1.3, 2:8.0.1453-1ubuntu1.1, 2:8.0.1766-1ubuntu1.1, 2:8.1.0320-1ubuntu3.1
vim (Ubuntu package) - addressed in versions 2:7.4.1689-3ubuntu1.3, 2:8.0.1453-1ubuntu1.1, 2:8.0.1766-1ubuntu1.1, 2:8.1.0320-1ubuntu3.1
vim-runtime (Ubuntu package) - addressed in versions 2:7.4.1689-3ubuntu1.3, 2:8.0.1453-1ubuntu1.1, 2:8.0.1766-1ubuntu1.1, 2:8.1.0320-1ubuntu3.1
vim - addressed in versions 8.0.324-1.fc24, 8.0.324-1.fc25
vim-data-common - update to 9.0.0814-17.9.1
gvim - update to 9.0.0814-17.9.1
gvim-debuginfo - update to 9.0.0814-17.9.1
vim - update to 9.0.0814-17.9.1
vim-debuginfo - update to 9.0.0814-17.9.1
vim-debugsource - update to 9.0.0814-17.9.1
vim-data - update to 9.0.0814-17.9.1
EMC ViPR SRM - update to 4.9.0.0
Dell EMC Storage Monitoring and Reporting (SMR) - update to 4.9.0.0
Dell Secure Connect Gateway - update to 5.14.00.16
RecoverPoint for VMs - update to 6.0.SP1.P1
EMC Cloud Tiering Appliance - update to 13.1.0.2.29

External References

Related Security Bulletins