Amazon Linux AMI update for vim



Published: 2022-06-12
Risk High
Patch available YES
Number of vulnerabilities 12
CVE-ID CVE-2022-0261
CVE-2022-0318
CVE-2022-0359
CVE-2022-0361
CVE-2022-0392
CVE-2022-0413
CVE-2022-0572
CVE-2022-0943
CVE-2022-1154
CVE-2022-1160
CVE-2022-1381
CVE-2022-1420
CWE-ID CWE-122
CWE-416
CWE-787
CWE-823
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Amazon Linux AMI
Operating systems & Components / Operating system

Vendor Amazon Web Services

Security Bulletin

This security bulletin contains information about 12 vulnerabilities.

1) Heap-based buffer overflow

EUVDB-ID: #VU60769

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-2022-0261

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. A remote attacker can trick the victim to open a specially crafted file, trigger 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-debuginfo-8.2.4877-1.1.amzn1.i686
    vim-enhanced-8.2.4877-1.1.amzn1.i686
    vim-minimal-8.2.4877-1.1.amzn1.i686
    vim-common-8.2.4877-1.1.amzn1.i686

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

src:
    vim-8.2.4877-1.1.amzn1.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

External links

http://alas.aws.amazon.com/ALAS-2022-1597.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: #VU60770

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-2022-0318

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. A remote attacker can trick the victim to open a specially crafted file, trigger 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-debuginfo-8.2.4877-1.1.amzn1.i686
    vim-enhanced-8.2.4877-1.1.amzn1.i686
    vim-minimal-8.2.4877-1.1.amzn1.i686
    vim-common-8.2.4877-1.1.amzn1.i686

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

src:
    vim-8.2.4877-1.1.amzn1.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

External links

http://alas.aws.amazon.com/ALAS-2022-1597.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) Heap-based buffer overflow

EUVDB-ID: #VU60772

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-2022-0359

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. A remote attacker can trick the victim to open a specially crafted file, trigger 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-debuginfo-8.2.4877-1.1.amzn1.i686
    vim-enhanced-8.2.4877-1.1.amzn1.i686
    vim-minimal-8.2.4877-1.1.amzn1.i686
    vim-common-8.2.4877-1.1.amzn1.i686

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

src:
    vim-8.2.4877-1.1.amzn1.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

External links

http://alas.aws.amazon.com/ALAS-2022-1597.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) Heap-based buffer overflow

EUVDB-ID: #VU60786

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-2022-0361

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 when copying lines in Visual mode. A remote attacker can trick the victim to open a specially crafted file, trigger 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-debuginfo-8.2.4877-1.1.amzn1.i686
    vim-enhanced-8.2.4877-1.1.amzn1.i686
    vim-minimal-8.2.4877-1.1.amzn1.i686
    vim-common-8.2.4877-1.1.amzn1.i686

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

src:
    vim-8.2.4877-1.1.amzn1.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

External links

http://alas.aws.amazon.com/ALAS-2022-1597.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: #VU60783

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-2022-0392

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. 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-debuginfo-8.2.4877-1.1.amzn1.i686
    vim-enhanced-8.2.4877-1.1.amzn1.i686
    vim-minimal-8.2.4877-1.1.amzn1.i686
    vim-common-8.2.4877-1.1.amzn1.i686

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

src:
    vim-8.2.4877-1.1.amzn1.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

External links

http://alas.aws.amazon.com/ALAS-2022-1597.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) Use-after-free

EUVDB-ID: #VU60780

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-2022-0413

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 when using freed memory when substitute with function call . 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-debuginfo-8.2.4877-1.1.amzn1.i686
    vim-enhanced-8.2.4877-1.1.amzn1.i686
    vim-minimal-8.2.4877-1.1.amzn1.i686
    vim-common-8.2.4877-1.1.amzn1.i686

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

src:
    vim-8.2.4877-1.1.amzn1.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

External links

http://alas.aws.amazon.com/ALAS-2022-1597.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) Heap-based buffer overflow

EUVDB-ID: #VU60776

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-2022-0572

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 when repeatedly using :retab. A remote attacker can trick the victim to open a specially crafted file, trigger 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-debuginfo-8.2.4877-1.1.amzn1.i686
    vim-enhanced-8.2.4877-1.1.amzn1.i686
    vim-minimal-8.2.4877-1.1.amzn1.i686
    vim-common-8.2.4877-1.1.amzn1.i686

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

src:
    vim-8.2.4877-1.1.amzn1.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

External links

http://alas.aws.amazon.com/ALAS-2022-1597.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.

8) Heap-based buffer overflow

EUVDB-ID: #VU62026

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-2022-0943

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. 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-debuginfo-8.2.4877-1.1.amzn1.i686
    vim-enhanced-8.2.4877-1.1.amzn1.i686
    vim-minimal-8.2.4877-1.1.amzn1.i686
    vim-common-8.2.4877-1.1.amzn1.i686

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

src:
    vim-8.2.4877-1.1.amzn1.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

External links

http://alas.aws.amazon.com/ALAS-2022-1597.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.

9) Use-after-free

EUVDB-ID: #VU61763

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-2022-1154

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 utf_ptr2char() function in regexp_bt.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-debuginfo-8.2.4877-1.1.amzn1.i686
    vim-enhanced-8.2.4877-1.1.amzn1.i686
    vim-minimal-8.2.4877-1.1.amzn1.i686
    vim-common-8.2.4877-1.1.amzn1.i686

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

src:
    vim-8.2.4877-1.1.amzn1.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

External links

http://alas.aws.amazon.com/ALAS-2022-1597.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.

10) Heap-based buffer overflow

EUVDB-ID: #VU62360

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-2022-1160

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 get_one_sourceline() function. 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-debuginfo-8.2.4877-1.1.amzn1.i686
    vim-enhanced-8.2.4877-1.1.amzn1.i686
    vim-minimal-8.2.4877-1.1.amzn1.i686
    vim-common-8.2.4877-1.1.amzn1.i686

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

src:
    vim-8.2.4877-1.1.amzn1.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

External links

http://alas.aws.amazon.com/ALAS-2022-1597.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.

11) Out-of-bounds write

EUVDB-ID: #VU63045

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-2022-1381

CWE-ID: CWE-787 - Out-of-bounds write

Exploit availability: No

Description

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a boundary error when processing untrusted input. A remote attacker can create a specially crafted file, trick the victim into opening it using the affected software, trigger out-of-bounds write and execute arbitrary code on the target system.

Mitigation

Update the affected packages:

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

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

src:
    vim-8.2.4877-1.1.amzn1.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

External links

http://alas.aws.amazon.com/ALAS-2022-1597.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.

12) Use of Out-of-range Pointer Offset

EUVDB-ID: #VU63044

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-2022-1420

CWE-ID: CWE-823 - Use of Out-of-range Pointer Offset

Exploit availability: No

Description

The vulnerability allows a remote attacker to cause a denial of service on the target application.

The vulnerability exists due to a boundary error. A remote attacker can trick the victim to open a specially crafted file, trigger a use of out-of-range pointer offset and crash the application.

Mitigation

Update the affected packages:

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

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

src:
    vim-8.2.4877-1.1.amzn1.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

External links

http://alas.aws.amazon.com/ALAS-2022-1597.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###