Amazon Linux 2 : vim (ALAS-2023-2266)

high Nessus Plugin ID 182631

Synopsis

The remote Amazon Linux 2 host is missing a security update.

Description

It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2-2023-2266 advisory.

vim 8.2.2348 is affected by null pointer dereference, allows local attackers to cause a denial of service (DoS) via the ex_buffer_all method. (CVE-2021-3236)

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.1857. (CVE-2023-4750)

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

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)

Tenable has extracted the preceding description block directly from the tested product security advisory.

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

Solution

Run 'yum update vim' to update your system.

See Also

https://alas.aws.amazon.com/AL2/ALAS-2023-2266.html

https://alas.aws.amazon.com/cve/html/CVE-2021-3236.html

https://alas.aws.amazon.com/cve/html/CVE-2023-4733.html

https://alas.aws.amazon.com/cve/html/CVE-2023-4734.html

https://alas.aws.amazon.com/cve/html/CVE-2023-4735.html

https://alas.aws.amazon.com/cve/html/CVE-2023-4738.html

https://alas.aws.amazon.com/cve/html/CVE-2023-4750.html

https://alas.aws.amazon.com/cve/html/CVE-2023-4751.html

https://alas.aws.amazon.com/cve/html/CVE-2023-4752.html

https://alas.aws.amazon.com/cve/html/CVE-2023-4781.html

https://alas.aws.amazon.com/faqs.html

Plugin Details

Severity: High

ID: 182631

File Name: al2_ALAS-2023-2266.nasl

Version: 1.2

Type: local

Agent: unix

Published: 10/5/2023

Updated: 12/11/2024

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, 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-4781

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:amazon:linux:vim-filesystem, p-cpe:/a:amazon:linux:vim-data, p-cpe:/a:amazon:linux:vim-x11, p-cpe:/a:amazon:linux:vim-common, p-cpe:/a:amazon:linux:xxd, p-cpe:/a:amazon:linux:vim-minimal, p-cpe:/a:amazon:linux:vim-enhanced, cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:vim-debuginfo

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 9/27/2023

Vulnerability Publication Date: 8/11/2023

Reference Information

CVE: CVE-2021-3236, CVE-2023-4733, CVE-2023-4734, CVE-2023-4735, CVE-2023-4738, CVE-2023-4750, CVE-2023-4751, CVE-2023-4752, CVE-2023-4781