Amazon Linux AMI update for vim



Risk High
Patch available YES
Number of vulnerabilities 6
CVE-ID CVE-2021-3236
CVE-2023-4734
CVE-2023-4735
CVE-2023-4738
CVE-2023-4751
CVE-2023-4781
CWE-ID CWE-476
CWE-190
CWE-125
CWE-119
CWE-122
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 6 vulnerabilities.

1) NULL pointer dereference

EUVDB-ID: #VU80202

Risk: Low

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

CVE-ID: CVE-2021-3236

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 within the ex_buffer_all() function. A remote attacker can trick the victim to open a specially crafted file and crash the application.

Mitigation

Update the affected packages:

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

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

src:
    vim-9.0.1712-1.82.amzn1.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

vim: before 9.0.1712-1.82

CPE2.3 External links

https://alas.aws.amazon.com/ALAS-2023-1826.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) Integer overflow

EUVDB-ID: #VU81485

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-2023-4734

CWE-ID: CWE-190 - Integer overflow

Exploit availability: No

Description

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

The vulnerability exists due to integer overflow within the f_fullcommand() function in ex_docmd.c. A remote attacker can trick the victim to open a specially crafted file, trigger integer 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-minimal-9.0.1712-1.82.amzn1.i686
    vim-debuginfo-9.0.1712-1.82.amzn1.i686
    xxd-9.0.1712-1.82.amzn1.i686
    vim-enhanced-9.0.1712-1.82.amzn1.i686
    vim-common-9.0.1712-1.82.amzn1.i686

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

src:
    vim-9.0.1712-1.82.amzn1.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

vim: before 9.0.1712-1.82

CPE2.3 External links

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

EUVDB-ID: #VU80503

Risk: Low

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

CVE-ID: CVE-2023-4735

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 do_addsub() function in ops.c. A remote attacker can create a specially crafted file, trick the victim into opening it, trigger an out-of-bounds read error and read contents of memory on the system.

Mitigation

Update the affected packages:

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

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

src:
    vim-9.0.1712-1.82.amzn1.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

vim: before 9.0.1712-1.82

CPE2.3 External links

https://alas.aws.amazon.com/ALAS-2023-1826.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) Buffer overflow

EUVDB-ID: #VU80504

Risk: Low

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

CVE-ID: CVE-2023-4738

CWE-ID: CWE-119 - Memory corruption

Exploit availability: No

Description

The vulnerability allows a remote attacker to crash the application.

The vulnerability exists due to a boundary error within the vim_regsub_both() function in src/regexp.c. A remote attacker can create a specially crafted file, trick the victim into opening it, trigger memory corruption and crash the application.

Mitigation

Update the affected packages:

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

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

src:
    vim-9.0.1712-1.82.amzn1.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

vim: before 9.0.1712-1.82

CPE2.3 External links

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

5) Heap-based buffer overflow

EUVDB-ID: #VU81488

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-2023-4751

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 utfc_ptr2len() function in mbyte.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-minimal-9.0.1712-1.82.amzn1.i686
    vim-debuginfo-9.0.1712-1.82.amzn1.i686
    xxd-9.0.1712-1.82.amzn1.i686
    vim-enhanced-9.0.1712-1.82.amzn1.i686
    vim-common-9.0.1712-1.82.amzn1.i686

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

src:
    vim-9.0.1712-1.82.amzn1.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

vim: before 9.0.1712-1.82

CPE2.3 External links

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

6) Heap-based buffer overflow

EUVDB-ID: #VU80474

Risk: Low

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

CVE-ID: CVE-2023-4781

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

Exploit availability: No

Description

The vulnerability allows a remote attacker to crash the application.

The vulnerability exists due to a boundary error within the vim_regsub_both() function. A remote attacker can trick the victim to open a specially crafted file, trigger a heap-based buffer overflow and crash the application.

Mitigation

Update the affected packages:

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

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

src:
    vim-9.0.1712-1.82.amzn1.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

vim: before 9.0.1712-1.82

CPE2.3 External links

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