Amazon Linux AMI update for vim



Risk Low
Patch available YES
Number of vulnerabilities 7
CVE-ID CVE-2023-48231
CVE-2023-48232
CVE-2023-48233
CVE-2023-48234
CVE-2023-48235
CVE-2023-48236
CVE-2023-48237
CWE-ID CWE-416
CWE-190
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 7 vulnerabilities.

1) Use-after-free

EUVDB-ID: #VU83392

Risk: Low

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

CVE-ID: CVE-2023-48231

CWE-ID: CWE-416 - Use After Free

Exploit availability: No

Description

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

The vulnerability exists due to a use-after-free error when closing the window. A remote attacker can trick the victim to open a specially crafted file and crash the application.

Mitigation

Update the affected packages:

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

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

src:
    vim-9.0.2120-1.amzn2023.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

vim: All versions

CPE2.3 External links

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

Risk: Low

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

CVE-ID: CVE-2023-48232

CWE-ID: CWE-190 - Integer overflow

Exploit availability: No

Description

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

The vulnerability exists due to integer overflow when calculating the line offset for overlong lines and smooth scrolling is enabled and the cpo-settings include the 'n' flag. A remote attacker can trick the victim to open a specially crafted file, trigger an integer overflow and crash the application.

Mitigation

Update the affected packages:

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

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

src:
    vim-9.0.2120-1.amzn2023.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

vim: All versions

CPE2.3 External links

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

EUVDB-ID: #VU83390

Risk: Low

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

CVE-ID: CVE-2023-48233

CWE-ID: CWE-190 - Integer overflow

Exploit availability: No

Description

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

The vulnerability exists due to integer overflow if the count after the :s command is larger than what fits into a (signed) long variable. A remote attacker can trick the victim to open a specially crafted file, trigger an integer overflow and crash the application.

Mitigation

Update the affected packages:

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

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

src:
    vim-9.0.2120-1.amzn2023.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

vim: All versions

CPE2.3 External links

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

EUVDB-ID: #VU83389

Risk: Low

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

CVE-ID: CVE-2023-48234

CWE-ID: CWE-190 - Integer overflow

Exploit availability: No

Description

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

The vulnerability exists due to integer overflow when using the z= command. A remote attacker can trick the victim to open a specially crafted file, trigger an integer overflow and crash the application.

Mitigation

Update the affected packages:

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

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

src:
    vim-9.0.2120-1.amzn2023.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

vim: All versions

CPE2.3 External links

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

EUVDB-ID: #VU83388

Risk: Low

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

CVE-ID: CVE-2023-48235

CWE-ID: CWE-190 - Integer overflow

Exploit availability: No

Description

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

The vulnerability exists due to integer overflow when parsing relative ex addresses. A remote attacker can trick the victim to open a specially crafted file, trigger an integer overflow and crash the application.

Mitigation

Update the affected packages:

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

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

src:
    vim-9.0.2120-1.amzn2023.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

vim: All versions

CPE2.3 External links

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

EUVDB-ID: #VU83387

Risk: Low

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

CVE-ID: CVE-2023-48236

CWE-ID: CWE-190 - Integer overflow

Exploit availability: No

Description

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

The vulnerability exists due to integer overflow when using the z= command. A remote attacker can trick the victim to open a specially crafted file, trigger an integer overflow and crash the application.

Mitigation

Update the affected packages:

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

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

src:
    vim-9.0.2120-1.amzn2023.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

vim: All versions

CPE2.3 External links

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

7) Integer overflow

EUVDB-ID: #VU83386

Risk: Low

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

CVE-ID: CVE-2023-48237

CWE-ID: CWE-190 - Integer overflow

Exploit availability: No

Description

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

The vulnerability exists due to integer overflow when shifting lines in operator pending mode. A remote attacker can trick the victim to open a specially crafted file, trigger an integer overflow and crash the application.

Mitigation

Update the affected packages:

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

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

src:
    vim-9.0.2120-1.amzn2023.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

vim: All versions

CPE2.3 External links

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