Amazon Linux AMI update for vim



Published: 2022-02-22 | Updated: 2022-02-22
Risk High
Patch available YES
Number of vulnerabilities 7
CVE-ID CVE-2022-0156
CVE-2022-0158
CVE-2022-0213
CVE-2022-0261
CVE-2022-0318
CVE-2022-0351
CVE-2022-0359
CWE-ID CWE-416
CWE-122
CWE-119
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 7 vulnerabilities.

1) Use-after-free

EUVDB-ID: #VU60766

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-0156

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 processing lines inside files. 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-minimal-8.2.4314-1.1.amzn1.i686
    vim-enhanced-8.2.4314-1.1.amzn1.i686
    vim-common-8.2.4314-1.1.amzn1.i686
    vim-debuginfo-8.2.4314-1.1.amzn1.i686

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

src:
    vim-8.2.4314-1.1.amzn1.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

External links

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

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-0158

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 processing lines that start with the "$" character. 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-minimal-8.2.4314-1.1.amzn1.i686
    vim-enhanced-8.2.4314-1.1.amzn1.i686
    vim-common-8.2.4314-1.1.amzn1.i686
    vim-debuginfo-8.2.4314-1.1.amzn1.i686

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

src:
    vim-8.2.4314-1.1.amzn1.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

External links

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

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-0213

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

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

src:
    vim-8.2.4314-1.1.amzn1.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

External links

http://alas.aws.amazon.com/ALAS-2022-1567.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: #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-minimal-8.2.4314-1.1.amzn1.i686
    vim-enhanced-8.2.4314-1.1.amzn1.i686
    vim-common-8.2.4314-1.1.amzn1.i686
    vim-debuginfo-8.2.4314-1.1.amzn1.i686

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

src:
    vim-8.2.4314-1.1.amzn1.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

External links

http://alas.aws.amazon.com/ALAS-2022-1567.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: #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-minimal-8.2.4314-1.1.amzn1.i686
    vim-enhanced-8.2.4314-1.1.amzn1.i686
    vim-common-8.2.4314-1.1.amzn1.i686
    vim-debuginfo-8.2.4314-1.1.amzn1.i686

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

src:
    vim-8.2.4314-1.1.amzn1.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

External links

http://alas.aws.amazon.com/ALAS-2022-1567.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) Buffer overflow

EUVDB-ID: #VU60771

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-0351

CWE-ID: CWE-119 - Memory corruption

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 processing files. A remote attacker can create a specially crafted file, trick the victim into opening it, trigger memory corruption 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-8.2.4314-1.1.amzn1.i686
    vim-enhanced-8.2.4314-1.1.amzn1.i686
    vim-common-8.2.4314-1.1.amzn1.i686
    vim-debuginfo-8.2.4314-1.1.amzn1.i686

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

src:
    vim-8.2.4314-1.1.amzn1.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

External links

http://alas.aws.amazon.com/ALAS-2022-1567.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: #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-minimal-8.2.4314-1.1.amzn1.i686
    vim-enhanced-8.2.4314-1.1.amzn1.i686
    vim-common-8.2.4314-1.1.amzn1.i686
    vim-debuginfo-8.2.4314-1.1.amzn1.i686

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

src:
    vim-8.2.4314-1.1.amzn1.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

External links

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