SUSE SLED15 / SLES15 / openSUSE 15 Security Update : vim (SUSE-SU-2023:4557-1)

high Nessus Plugin ID 186259

Language:

Synopsis

The remote SUSE host is missing one or more security updates.

Description

The remote SUSE Linux SLED15 / SLED_SAP15 / SLES15 / SLES_SAP15 / openSUSE 15 host has packages installed that are affected by multiple vulnerabilities as referenced in the SUSE-SU-2023:4557-1 advisory.

- Vim is an improved version of the good old UNIX editor Vi. Heap-use-after-free in memory allocated in the function `ga_grow_inner` in in the file `src/alloc.c` at line 748, which is freed in the file `src/ex_docmd.c` in the function `do_cmdline` at line 1010 and then used again in `src/cmdhist.c` at line 759. When using the `:history` command, it's possible that the provided argument overflows the accepted value. Causing an Integer Overflow and potentially later an use-after-free. This vulnerability has been patched in version 9.0.2068. (CVE-2023-46246)

- Use After Free in GitHub repository vim/vim prior to 9.0.1840. (CVE-2023-4733)

- Integer Overflow or Wraparound in GitHub repository vim/vim prior to 9.0.1846. (CVE-2023-4734)

- Out-of-bounds Write in GitHub repository vim/vim prior to 9.0.1847. (CVE-2023-4735)

- Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1848. (CVE-2023-4738)

- Use After Free in GitHub repository vim/vim prior to 9.0.1858. (CVE-2023-4752)

- Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1873. (CVE-2023-4781)

- Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1969. (CVE-2023-5344)

- NULL Pointer Dereference in GitHub repository vim/vim prior to 20d161ace307e28690229b68584f2d84556f8960.
(CVE-2023-5441)

- Use After Free in GitHub repository vim/vim prior to v9.0.2010. (CVE-2023-5535)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://bugzilla.suse.com/1214922

https://bugzilla.suse.com/1214924

https://bugzilla.suse.com/1214925

https://bugzilla.suse.com/1215004

https://bugzilla.suse.com/1215006

https://bugzilla.suse.com/1215033

https://bugzilla.suse.com/1215940

https://bugzilla.suse.com/1216001

https://bugzilla.suse.com/1216167

https://bugzilla.suse.com/1216696

http://www.nessus.org/u?022d89c5

https://www.suse.com/security/cve/CVE-2023-46246

https://www.suse.com/security/cve/CVE-2023-4733

https://www.suse.com/security/cve/CVE-2023-4734

https://www.suse.com/security/cve/CVE-2023-4735

https://www.suse.com/security/cve/CVE-2023-4738

https://www.suse.com/security/cve/CVE-2023-4752

https://www.suse.com/security/cve/CVE-2023-4781

https://www.suse.com/security/cve/CVE-2023-5344

https://www.suse.com/security/cve/CVE-2023-5441

https://www.suse.com/security/cve/CVE-2023-5535

Plugin Details

Severity: High

ID: 186259

File Name: suse_SU-2023-4557-1.nasl

Version: 1.1

Type: local

Agent: unix

Published: 11/25/2023

Updated: 12/8/2023

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 5.6

Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2023-5535

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:novell:suse_linux:vim-data, p-cpe:/a:novell:suse_linux:gvim, p-cpe:/a:novell:suse_linux:vim, p-cpe:/a:novell:suse_linux:vim-data-common, p-cpe:/a:novell:suse_linux:vim-small, cpe:/o:novell:suse_linux:15

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/SuSE/release, Host/SuSE/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 11/24/2023

Vulnerability Publication Date: 9/2/2023

Reference Information

CVE: 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

IAVA: 2023-A-0579-S, 2023-A-0598-S

IAVB: 2023-B-0066-S, 2023-B-0074-S, 2023-B-0084-S

SuSE: SUSE-SU-2023:4557-1