SUSE 5181 Published by

A vim security update has been released for openSUSE Leap 15.5 and SUSE Linux Enterprise.



SUSE-SU-2023:4557-1: important: Security update for vim


# Security update for vim

Announcement ID: SUSE-SU-2023:4557-1
Rating: important
References:

* bsc#1214922
* bsc#1214924
* bsc#1214925
* bsc#1215004
* bsc#1215006
* bsc#1215033
* bsc#1215940
* bsc#1216001
* bsc#1216167
* bsc#1216696

Cross-References:

* CVE-2023-46246
* CVE-2023-4733
* CVE-2023-4734
* CVE-2023-4735
* CVE-2023-4738
* CVE-2023-4752
* CVE-2023-4781
* CVE-2023-5344
* CVE-2023-5441
* CVE-2023-5535

CVSS scores:

* CVE-2023-46246 ( SUSE ): 4.0 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
* CVE-2023-46246 ( NVD ): 4.0 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
* CVE-2023-4733 ( SUSE ): 8.2 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
* CVE-2023-4733 ( NVD ): 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
* CVE-2023-4733 ( NVD ): 7.3 CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
* CVE-2023-4734 ( SUSE ): 3.3 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
* CVE-2023-4734 ( NVD ): 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
* CVE-2023-4734 ( NVD ): 7.8 CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
* CVE-2023-4735 ( SUSE ): 3.3 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
* CVE-2023-4735 ( NVD ): 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
* CVE-2023-4735 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 ( NVD ): 6.2 CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
* CVE-2023-5535 ( SUSE ): 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
* CVE-2023-5535 ( NVD ): 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
* CVE-2023-5535 ( NVD ): 7.8 CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected Products:

* Basesystem Module 15-SP5
* Desktop Applications Module 15-SP5
* openSUSE Leap 15.5
* SUSE Linux Enterprise Desktop 15 SP5
* SUSE Linux Enterprise High Performance Computing 15 SP5
* SUSE Linux Enterprise Micro 5.5
* SUSE Linux Enterprise Real Time 15 SP5
* SUSE Linux Enterprise Server 15 SP5
* SUSE Linux Enterprise Server for SAP Applications 15 SP5

An update that solves 10 vulnerabilities can now be installed.

## Description:

This update for vim fixes the following issues:

Updated to version 9.0 with patch level 2103, fixes the following security
problems

* CVE-2023-5344: vim: Heap-based Buffer Overflow in vim prior to 9.0.1969
(bsc#1215940)
* CVE-2023-5441: vim: segfault in exmode when redrawing (bsc#1216001)
* CVE-2023-5535: vim: use-after-free from buf_contents_changed() (bsc#1216167)
* CVE-2023-46246: vim: Integer Overflow in :history command (bsc#1216696)
* CVE-2023-4738: vim: heap-buffer-overflow in vim_regsub_both (bsc#1214922)
* CVE-2023-4735: vim: OOB Write ops.c (bsc#1214924)
* CVE-2023-4734: vim: segmentation fault in function f_fullcommand
(bsc#1214925)
* CVE-2023-4733: vim: use-after-free in function buflist_altfpos (bsc#1215004)
* CVE-2023-4752: vim: Heap Use After Free in function ins_compl_get_exp
(bsc#1215006)
* CVE-2023-4781: vim: heap-buffer-overflow in function vim_regsub_both
(bsc#1215033)

## Patch Instructions:

To install this SUSE update use the SUSE recommended installation methods like
YaST online_update or "zypper patch".
Alternatively you can run the command listed for your product:

* openSUSE Leap 15.5
zypper in -t patch SUSE-2023-4557=1 openSUSE-SLE-15.5-2023-4557=1

* SUSE Linux Enterprise Micro 5.5
zypper in -t patch SUSE-SLE-Micro-5.5-2023-4557=1

* Basesystem Module 15-SP5
zypper in -t patch SUSE-SLE-Module-Basesystem-15-SP5-2023-4557=1

* Desktop Applications Module 15-SP5
zypper in -t patch SUSE-SLE-Module-Desktop-Applications-15-SP5-2023-4557=1

## Package List:

* openSUSE Leap 15.5 (aarch64 ppc64le s390x x86_64 i586)
* vim-9.0.2103-150500.20.6.1
* gvim-debuginfo-9.0.2103-150500.20.6.1
* vim-small-9.0.2103-150500.20.6.1
* gvim-9.0.2103-150500.20.6.1
* vim-debugsource-9.0.2103-150500.20.6.1
* vim-small-debuginfo-9.0.2103-150500.20.6.1
* vim-debuginfo-9.0.2103-150500.20.6.1
* openSUSE Leap 15.5 (noarch)
* vim-data-9.0.2103-150500.20.6.1
* vim-data-common-9.0.2103-150500.20.6.1
* SUSE Linux Enterprise Micro 5.5 (noarch)
* vim-data-common-9.0.2103-150500.20.6.1
* SUSE Linux Enterprise Micro 5.5 (aarch64 s390x x86_64)
* vim-debugsource-9.0.2103-150500.20.6.1
* vim-small-debuginfo-9.0.2103-150500.20.6.1
* vim-small-9.0.2103-150500.20.6.1
* vim-debuginfo-9.0.2103-150500.20.6.1
* Basesystem Module 15-SP5 (aarch64 ppc64le s390x x86_64)
* vim-9.0.2103-150500.20.6.1
* vim-small-9.0.2103-150500.20.6.1
* vim-debugsource-9.0.2103-150500.20.6.1
* vim-small-debuginfo-9.0.2103-150500.20.6.1
* vim-debuginfo-9.0.2103-150500.20.6.1
* Basesystem Module 15-SP5 (noarch)
* vim-data-9.0.2103-150500.20.6.1
* vim-data-common-9.0.2103-150500.20.6.1
* Desktop Applications Module 15-SP5 (aarch64 ppc64le s390x x86_64)
* vim-debugsource-9.0.2103-150500.20.6.1
* gvim-debuginfo-9.0.2103-150500.20.6.1
* vim-debuginfo-9.0.2103-150500.20.6.1
* gvim-9.0.2103-150500.20.6.1

## References:

* https://www.suse.com/security/cve/CVE-2023-46246.html
* https://www.suse.com/security/cve/CVE-2023-4733.html
* https://www.suse.com/security/cve/CVE-2023-4734.html
* https://www.suse.com/security/cve/CVE-2023-4735.html
* https://www.suse.com/security/cve/CVE-2023-4738.html
* https://www.suse.com/security/cve/CVE-2023-4752.html
* https://www.suse.com/security/cve/CVE-2023-4781.html
* https://www.suse.com/security/cve/CVE-2023-5344.html
* https://www.suse.com/security/cve/CVE-2023-5441.html
* https://www.suse.com/security/cve/CVE-2023-5535.html
* https://bugzilla.suse.com/show_bug.cgi?id=1214922
* https://bugzilla.suse.com/show_bug.cgi?id=1214924
* https://bugzilla.suse.com/show_bug.cgi?id=1214925
* https://bugzilla.suse.com/show_bug.cgi?id=1215004
* https://bugzilla.suse.com/show_bug.cgi?id=1215006
* https://bugzilla.suse.com/show_bug.cgi?id=1215033
* https://bugzilla.suse.com/show_bug.cgi?id=1215940
* https://bugzilla.suse.com/show_bug.cgi?id=1216001
* https://bugzilla.suse.com/show_bug.cgi?id=1216167
* https://bugzilla.suse.com/show_bug.cgi?id=1216696