Amazon Linux AMI update for vim



Published: 2023-12-05
Risk High
Patch available YES
Number of vulnerabilities 4
CVE-ID CVE-2023-46246
CVE-2023-5344
CVE-2023-5441
CVE-2023-5535
CWE-ID CWE-190
CWE-122
CWE-476
CWE-416
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Amazon Linux AMI
Operating systems & Components / Operating system

vim
Operating systems & Components / Operating system package or component

Vendor Amazon Web Services

Security Bulletin

This security bulletin contains information about 4 vulnerabilities.

1) Integer overflow

EUVDB-ID: #VU83514

Risk: Low

CVSSv3.1: 3.8 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C]

CVE-ID: CVE-2023-46246

CWE-ID: CWE-190 - Integer overflow

Exploit availability: No

Description

The vulnerability allows a remote attacker to crash the application.

The vulnerability exists due to integer overflow. A remote attacker can trick the victim to open a specially crafted file and perform a denial of service (DoS) attack.

Mitigation

Update the affected packages:

i686:
    vim-enhanced-9.0.1712-1.84.amzn1.i686
    vim-debuginfo-9.0.1712-1.84.amzn1.i686
    vim-minimal-9.0.1712-1.84.amzn1.i686
    vim-common-9.0.1712-1.84.amzn1.i686
    xxd-9.0.1712-1.84.amzn1.i686

noarch:
    vim-filesystem-9.0.1712-1.84.amzn1.noarch
    vim-data-9.0.1712-1.84.amzn1.noarch

src:
    vim-9.0.1712-1.84.amzn1.src

x86_64:
    vim-debuginfo-9.0.1712-1.84.amzn1.x86_64
    vim-common-9.0.1712-1.84.amzn1.x86_64
    vim-minimal-9.0.1712-1.84.amzn1.x86_64
    vim-enhanced-9.0.1712-1.84.amzn1.x86_64
    xxd-9.0.1712-1.84.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

vim: before 9.0.1712-1.84

CPE2.3 External links

http://alas.aws.amazon.com/ALAS-2023-1893.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Heap-based buffer overflow

EUVDB-ID: #VU81486

Risk: High

CVSSv3.1: 7.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2023-5344

CWE-ID: CWE-122 - Heap-based Buffer Overflow

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error within the trunc_string() function in message.c. A remote attacker can trick the victim to open a specially crafted file, trigger a heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Update the affected packages:

i686:
    vim-enhanced-9.0.1712-1.84.amzn1.i686
    vim-debuginfo-9.0.1712-1.84.amzn1.i686
    vim-minimal-9.0.1712-1.84.amzn1.i686
    vim-common-9.0.1712-1.84.amzn1.i686
    xxd-9.0.1712-1.84.amzn1.i686

noarch:
    vim-filesystem-9.0.1712-1.84.amzn1.noarch
    vim-data-9.0.1712-1.84.amzn1.noarch

src:
    vim-9.0.1712-1.84.amzn1.src

x86_64:
    vim-debuginfo-9.0.1712-1.84.amzn1.x86_64
    vim-common-9.0.1712-1.84.amzn1.x86_64
    vim-minimal-9.0.1712-1.84.amzn1.x86_64
    vim-enhanced-9.0.1712-1.84.amzn1.x86_64
    xxd-9.0.1712-1.84.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

vim: before 9.0.1712-1.84

CPE2.3 External links

http://alas.aws.amazon.com/ALAS-2023-1893.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

3) NULL pointer dereference

EUVDB-ID: #VU82311

Risk: Low

CVSSv3.1: 3.8 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C]

CVE-ID: CVE-2023-5441

CWE-ID: CWE-476 - NULL Pointer Dereference

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a NULL pointer dereference error in src/gui.c. A remote attacker can trick the victim to open a specially crafted file and crash the application.

Mitigation

Update the affected packages:

i686:
    vim-enhanced-9.0.1712-1.84.amzn1.i686
    vim-debuginfo-9.0.1712-1.84.amzn1.i686
    vim-minimal-9.0.1712-1.84.amzn1.i686
    vim-common-9.0.1712-1.84.amzn1.i686
    xxd-9.0.1712-1.84.amzn1.i686

noarch:
    vim-filesystem-9.0.1712-1.84.amzn1.noarch
    vim-data-9.0.1712-1.84.amzn1.noarch

src:
    vim-9.0.1712-1.84.amzn1.src

x86_64:
    vim-debuginfo-9.0.1712-1.84.amzn1.x86_64
    vim-common-9.0.1712-1.84.amzn1.x86_64
    vim-minimal-9.0.1712-1.84.amzn1.x86_64
    vim-enhanced-9.0.1712-1.84.amzn1.x86_64
    xxd-9.0.1712-1.84.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

vim: before 9.0.1712-1.84

CPE2.3 External links

http://alas.aws.amazon.com/ALAS-2023-1893.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

4) Use-after-free

EUVDB-ID: #VU82310

Risk: High

CVSSv3.1: 7.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2023-5535

CWE-ID: CWE-416 - Use After Free

Exploit availability: No

Description

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a use-after-free error within the editing_arg_idx() function. A remote attacker can trick the victim to open a specially crafted file, trigger a use-after-free error and execute arbitrary code on the system.

Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.

Mitigation

Update the affected packages:

i686:
    vim-enhanced-9.0.1712-1.84.amzn1.i686
    vim-debuginfo-9.0.1712-1.84.amzn1.i686
    vim-minimal-9.0.1712-1.84.amzn1.i686
    vim-common-9.0.1712-1.84.amzn1.i686
    xxd-9.0.1712-1.84.amzn1.i686

noarch:
    vim-filesystem-9.0.1712-1.84.amzn1.noarch
    vim-data-9.0.1712-1.84.amzn1.noarch

src:
    vim-9.0.1712-1.84.amzn1.src

x86_64:
    vim-debuginfo-9.0.1712-1.84.amzn1.x86_64
    vim-common-9.0.1712-1.84.amzn1.x86_64
    vim-minimal-9.0.1712-1.84.amzn1.x86_64
    vim-enhanced-9.0.1712-1.84.amzn1.x86_64
    xxd-9.0.1712-1.84.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

vim: before 9.0.1712-1.84

CPE2.3 External links

http://alas.aws.amazon.com/ALAS-2023-1893.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###