Bug 1027053 - (CVE-2017-6350) VUL-1: CVE-2017-6350: vim: An integer overflow at an unserialize_uep memory allocation site wouldoccur for vim before patch 8....
(CVE-2017-6350)
VUL-1: CVE-2017-6350: vim: An integer overflow at an unserialize_uep memory a...
Status: RESOLVED FIXED
Classification: Novell Products
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents
unspecified
Other Other
: P4 - Low : Normal
: ---
Assigned To: Ismail Dönmez
Security Team bot
https://smash.suse.de/issue/180956/
CVSSv2:SUSE:CVE-2017-6350:4.1:(AV:L/A...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-02-27 10:56 UTC by Marcus Meissner
Modified: 2019-06-14 06:41 UTC (History)
2 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus Meissner 2017-02-27 10:56:31 UTC
CVE-2017-6350

An integer overflow at an unserialize_uep memory allocation site would
occur for vim before patch 8.0.0378, if it does not properly validate
values for tree length when reading a corrupted undo file, which may
lead to resultant buffer overflows.


    MISC:https://github.com/vim/vim/commit/0c8485f0e4931463c0f7986e1ea84a7d79f10c75
    MISC:https://groups.google.com/forum/#!topic/vim_dev/L_dOHOOiQ5Q
    MISC:https://groups.google.com/forum/#!topic/vim_dev/QPZc0CY9j3Y
Comment 1 Marcus Meissner 2017-02-27 11:00:01 UTC
the array usage code in sle11 ga vim has the same pattern, just "newarray" instead of "array" and other variables also named differently.
Comment 2 Swamp Workflow Management 2017-02-27 23:01:45 UTC
bugbot adjusting priority
Comment 3 Marcus Meissner 2017-06-13 14:35:55 UTC
this was not included in the last vim szubmissions. can you check if it applies and submit
Comment 4 Ismail Dönmez 2017-06-21 13:03:25 UTC
Fix submitted for SLE12, SLE11 and below doesn't have undo serialization hence not affected.
Comment 7 Swamp Workflow Management 2017-06-29 01:09:51 UTC
SUSE-SU-2017:1712-1: An update that solves three vulnerabilities and has one errata is now available.

Category: security (moderate)
Bug References: 1018870,1024724,1027053,1027057
CVE References: CVE-2017-5953,CVE-2017-6349,CVE-2017-6350
Sources used:
SUSE Linux Enterprise Server for Raspberry Pi 12-SP2 (src):    vim-7.4.326-16.1
SUSE Linux Enterprise Server 12-SP2 (src):    vim-7.4.326-16.1
SUSE Linux Enterprise Desktop 12-SP2 (src):    vim-7.4.326-16.1
OpenStack Cloud Magnum Orchestration 7 (src):    vim-7.4.326-16.1
Comment 8 Swamp Workflow Management 2017-07-06 22:16:05 UTC
openSUSE-SU-2017:1811-1: An update that solves three vulnerabilities and has one errata is now available.

Category: security (moderate)
Bug References: 1018870,1024724,1027053,1027057
CVE References: CVE-2017-5953,CVE-2017-6349,CVE-2017-6350
Sources used:
openSUSE Leap 42.2 (src):    vim-7.4.326-10.3.1
Comment 9 Ismail Dönmez 2017-08-02 10:47:48 UTC
Fixed.