SUSE SLES12 Security Update : vim (SUSE-SU-2023:4560-1)

high Nessus Plugin ID 186251

Language:

Synopsis

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

Description

The remote SUSE Linux SLES12 / SLES_SAP12 host has packages installed that are affected by multiple vulnerabilities as referenced in the SUSE-SU-2023:4560-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)

- 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 gvim, vim, vim-data and / or vim-data-common packages.

See Also

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?c6d1906a

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

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

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

Version: 1.1

Type: local

Agent: unix

Published: 11/25/2023

Updated: 12/8/2023

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, 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:gvim, p-cpe:/a:novell:suse_linux:vim-data, p-cpe:/a:novell:suse_linux:vim-data-common, cpe:/o:novell:suse_linux:12, p-cpe:/a:novell:suse_linux:vim

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: 10/2/2023

Reference Information

CVE: CVE-2023-46246, CVE-2023-5344, CVE-2023-5441, CVE-2023-5535

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

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

SuSE: SUSE-SU-2023:4560-1