Amazon Linux AMI update for vim



Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2024-22667
CWE-ID CWE-121
Exploitation vector Network
Public exploit N/A
Vulnerable software
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 one high risk vulnerability.

1) Stack-based buffer overflow

EUVDB-ID: #VU87189

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-2024-22667

CWE-ID: CWE-121 - Stack-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 did_set_langmap() function in map.c. A remote attacker can trick the victim to open a specially crafted file, trigger a stack-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:

aarch64:
    vim-enhanced-debuginfo-9.0.2153-1.amzn2023.aarch64
    vim-minimal-9.0.2153-1.amzn2023.aarch64
    xxd-9.0.2153-1.amzn2023.aarch64
    vim-enhanced-9.0.2153-1.amzn2023.aarch64
    vim-debuginfo-9.0.2153-1.amzn2023.aarch64
    vim-minimal-debuginfo-9.0.2153-1.amzn2023.aarch64
    xxd-debuginfo-9.0.2153-1.amzn2023.aarch64
    vim-debugsource-9.0.2153-1.amzn2023.aarch64
    vim-common-9.0.2153-1.amzn2023.aarch64

noarch:
    vim-default-editor-9.0.2153-1.amzn2023.noarch
    vim-filesystem-9.0.2153-1.amzn2023.noarch
    vim-data-9.0.2153-1.amzn2023.noarch

src:
    vim-9.0.2153-1.amzn2023.src

x86_64:
    vim-enhanced-debuginfo-9.0.2153-1.amzn2023.x86_64
    xxd-9.0.2153-1.amzn2023.x86_64
    vim-minimal-9.0.2153-1.amzn2023.x86_64
    xxd-debuginfo-9.0.2153-1.amzn2023.x86_64
    vim-debuginfo-9.0.2153-1.amzn2023.x86_64
    vim-enhanced-9.0.2153-1.amzn2023.x86_64
    vim-minimal-debuginfo-9.0.2153-1.amzn2023.x86_64
    vim-debugsource-9.0.2153-1.amzn2023.x86_64
    vim-common-9.0.2153-1.amzn2023.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

vim: before 9.0.2153-1

CPE2.3 External links

http://alas.aws.amazon.com/AL2023/ALAS-2024-536.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###