Amazon Linux AMI update for vim



Risk High
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2022-4292
CVE-2023-0049
CWE-ID CWE-416
CWE-125
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 information about 2 vulnerabilities.

1) Use-after-free

EUVDB-ID: #VU70134

Risk: High

CVSSv4.0: 5.7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2022-4292

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 did_set_spelllang() funtion in spell.c. 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-common-9.0.1160-1.1.amzn1.i686
    vim-enhanced-9.0.1160-1.1.amzn1.i686
    vim-debuginfo-9.0.1160-1.1.amzn1.i686
    vim-minimal-9.0.1160-1.1.amzn1.i686

noarch:
    vim-data-9.0.1160-1.1.amzn1.noarch
    vim-filesystem-9.0.1160-1.1.amzn1.noarch

src:
    vim-9.0.1160-1.1.amzn1.src

x86_64:
    vim-debuginfo-9.0.1160-1.1.amzn1.x86_64
    vim-minimal-9.0.1160-1.1.amzn1.x86_64
    vim-enhanced-9.0.1160-1.1.amzn1.x86_64
    vim-common-9.0.1160-1.1.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

vim: before 9.0.1160-1.1

CPE2.3 External links

https://alas.aws.amazon.com/ALAS-2023-1681.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) Out-of-bounds read

EUVDB-ID: #VU70721

Risk: Low

CVSSv4.0: 0.2 [CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2023-0049

CWE-ID: CWE-125 - Out-of-bounds read

Exploit availability: No

Description

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to a boundary condition within the build_stl_str_hl() function in buffer.c. A remote attacker can create a specially crafted file, trick the victim into opening it, trigger out-of-bounds read error and read contents of memory on the system.

Mitigation

Update the affected packages:

i686:
    vim-common-9.0.1160-1.1.amzn1.i686
    vim-enhanced-9.0.1160-1.1.amzn1.i686
    vim-debuginfo-9.0.1160-1.1.amzn1.i686
    vim-minimal-9.0.1160-1.1.amzn1.i686

noarch:
    vim-data-9.0.1160-1.1.amzn1.noarch
    vim-filesystem-9.0.1160-1.1.amzn1.noarch

src:
    vim-9.0.1160-1.1.amzn1.src

x86_64:
    vim-debuginfo-9.0.1160-1.1.amzn1.x86_64
    vim-minimal-9.0.1160-1.1.amzn1.x86_64
    vim-enhanced-9.0.1160-1.1.amzn1.x86_64
    vim-common-9.0.1160-1.1.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

vim: before 9.0.1160-1.1

CPE2.3 External links

https://alas.aws.amazon.com/ALAS-2023-1681.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###