Amazon Linux AMI update for kernel



Published: 2021-05-24
Risk High
Patch available YES
Number of vulnerabilities 14
CVE-ID CVE-2020-25670
CVE-2020-25671
CVE-2020-25672
CVE-2020-25673
CVE-2020-29374
CVE-2021-23133
CVE-2021-28688
CVE-2021-28964
CVE-2021-28971
CVE-2021-29154
CVE-2021-29155
CVE-2021-31829
CVE-2021-31916
CVE-2021-33033
CWE-ID CWE-416
CWE-401
CWE-400
CWE-362
CWE-665
CWE-77
CWE-125
CWE-200
CWE-787
Exploitation vector Network
Public exploit Public exploit code for vulnerability #11 is available.
Vulnerable software
Subscribe
Amazon Linux AMI
Operating systems & Components / Operating system

kernel
Operating systems & Components / Operating system package or component

Vendor Amazon Web Services

Security Bulletin

This security bulletin contains information about 14 vulnerabilities.

1) Use-after-free

EUVDB-ID: #VU63652

Risk: Low

CVSSv3.1: 6.8 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-25670

CWE-ID: CWE-416 - Use After Free

Exploit availability: No

Description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a use-after-free error in the NFC LLCP protocol implementation. A local user can perform manipulation with an unknown input for the llcp_sock_bind() function to crash or escalate their privileges on the system.

Mitigation

Update the affected packages:

i686:
    kernel-devel-4.14.232-123.381.amzn1.i686
    kernel-tools-devel-4.14.232-123.381.amzn1.i686
    kernel-headers-4.14.232-123.381.amzn1.i686
    perf-4.14.232-123.381.amzn1.i686
    kernel-tools-debuginfo-4.14.232-123.381.amzn1.i686
    kernel-debuginfo-common-i686-4.14.232-123.381.amzn1.i686
    kernel-4.14.232-123.381.amzn1.i686
    kernel-debuginfo-4.14.232-123.381.amzn1.i686
    kernel-tools-4.14.232-123.381.amzn1.i686
    perf-debuginfo-4.14.232-123.381.amzn1.i686

src:
    kernel-4.14.232-123.381.amzn1.src

x86_64:
    perf-debuginfo-4.14.232-123.381.amzn1.x86_64
    kernel-devel-4.14.232-123.381.amzn1.x86_64
    kernel-tools-debuginfo-4.14.232-123.381.amzn1.x86_64
    kernel-debuginfo-common-x86_64-4.14.232-123.381.amzn1.x86_64
    kernel-headers-4.14.232-123.381.amzn1.x86_64
    perf-4.14.232-123.381.amzn1.x86_64
    kernel-tools-4.14.232-123.381.amzn1.x86_64
    kernel-4.14.232-123.381.amzn1.x86_64
    kernel-debuginfo-4.14.232-123.381.amzn1.x86_64
    kernel-tools-devel-4.14.232-123.381.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

kernel: before 4.14.232-123.381

External links

http://alas.aws.amazon.com/ALAS-2021-1503.html


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Use-after-free

EUVDB-ID: #VU63653

Risk: Low

CVSSv3.1: 6.8 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-25671

CWE-ID: CWE-416 - Use After Free

Exploit availability: No

Description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a use-after-free error in the NFC LLCP protocol implementation. A local user can trigger the llcp_sock_connect() function to crash or escalate their privileges on the system.

Mitigation

Update the affected packages:

i686:
    kernel-devel-4.14.232-123.381.amzn1.i686
    kernel-tools-devel-4.14.232-123.381.amzn1.i686
    kernel-headers-4.14.232-123.381.amzn1.i686
    perf-4.14.232-123.381.amzn1.i686
    kernel-tools-debuginfo-4.14.232-123.381.amzn1.i686
    kernel-debuginfo-common-i686-4.14.232-123.381.amzn1.i686
    kernel-4.14.232-123.381.amzn1.i686
    kernel-debuginfo-4.14.232-123.381.amzn1.i686
    kernel-tools-4.14.232-123.381.amzn1.i686
    perf-debuginfo-4.14.232-123.381.amzn1.i686

src:
    kernel-4.14.232-123.381.amzn1.src

x86_64:
    perf-debuginfo-4.14.232-123.381.amzn1.x86_64
    kernel-devel-4.14.232-123.381.amzn1.x86_64
    kernel-tools-debuginfo-4.14.232-123.381.amzn1.x86_64
    kernel-debuginfo-common-x86_64-4.14.232-123.381.amzn1.x86_64
    kernel-headers-4.14.232-123.381.amzn1.x86_64
    perf-4.14.232-123.381.amzn1.x86_64
    kernel-tools-4.14.232-123.381.amzn1.x86_64
    kernel-4.14.232-123.381.amzn1.x86_64
    kernel-debuginfo-4.14.232-123.381.amzn1.x86_64
    kernel-tools-devel-4.14.232-123.381.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

kernel: before 4.14.232-123.381

External links

http://alas.aws.amazon.com/ALAS-2021-1503.html


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

3) Memory leak

EUVDB-ID: #VU63654

Risk: High

CVSSv3.1: 7.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-25672

CWE-ID: CWE-401 - Missing release of memory after effective lifetime

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform DoS attack on the target system.

The vulnerability exists due memory leak in the NFC LLCP protocol implementation when triggering the llcp_sock_connect() function. A remote attacker can force the application to leak memory and perform denial of service attack.

Mitigation

Update the affected packages:

i686:
    kernel-devel-4.14.232-123.381.amzn1.i686
    kernel-tools-devel-4.14.232-123.381.amzn1.i686
    kernel-headers-4.14.232-123.381.amzn1.i686
    perf-4.14.232-123.381.amzn1.i686
    kernel-tools-debuginfo-4.14.232-123.381.amzn1.i686
    kernel-debuginfo-common-i686-4.14.232-123.381.amzn1.i686
    kernel-4.14.232-123.381.amzn1.i686
    kernel-debuginfo-4.14.232-123.381.amzn1.i686
    kernel-tools-4.14.232-123.381.amzn1.i686
    perf-debuginfo-4.14.232-123.381.amzn1.i686

src:
    kernel-4.14.232-123.381.amzn1.src

x86_64:
    perf-debuginfo-4.14.232-123.381.amzn1.x86_64
    kernel-devel-4.14.232-123.381.amzn1.x86_64
    kernel-tools-debuginfo-4.14.232-123.381.amzn1.x86_64
    kernel-debuginfo-common-x86_64-4.14.232-123.381.amzn1.x86_64
    kernel-headers-4.14.232-123.381.amzn1.x86_64
    perf-4.14.232-123.381.amzn1.x86_64
    kernel-tools-4.14.232-123.381.amzn1.x86_64
    kernel-4.14.232-123.381.amzn1.x86_64
    kernel-debuginfo-4.14.232-123.381.amzn1.x86_64
    kernel-tools-devel-4.14.232-123.381.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

kernel: before 4.14.232-123.381

External links

http://alas.aws.amazon.com/ALAS-2021-1503.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) Resource exhaustion

EUVDB-ID: #VU63656

Risk: Low

CVSSv3.1: 4.8 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-25673

CWE-ID: CWE-400 - Resource exhaustion

Exploit availability: No

Description

The vulnerability allows a local user to perform a denial of service (DoS) attack.

The vulnerability exists due to improper control consumption of internal resources in non-blocking socket in llcp_sock_connect() function. A local user can trigger resource exhaustion and perform a denial of service (DoS) attack.

Mitigation

Update the affected packages:

i686:
    kernel-devel-4.14.232-123.381.amzn1.i686
    kernel-tools-devel-4.14.232-123.381.amzn1.i686
    kernel-headers-4.14.232-123.381.amzn1.i686
    perf-4.14.232-123.381.amzn1.i686
    kernel-tools-debuginfo-4.14.232-123.381.amzn1.i686
    kernel-debuginfo-common-i686-4.14.232-123.381.amzn1.i686
    kernel-4.14.232-123.381.amzn1.i686
    kernel-debuginfo-4.14.232-123.381.amzn1.i686
    kernel-tools-4.14.232-123.381.amzn1.i686
    perf-debuginfo-4.14.232-123.381.amzn1.i686

src:
    kernel-4.14.232-123.381.amzn1.src

x86_64:
    perf-debuginfo-4.14.232-123.381.amzn1.x86_64
    kernel-devel-4.14.232-123.381.amzn1.x86_64
    kernel-tools-debuginfo-4.14.232-123.381.amzn1.x86_64
    kernel-debuginfo-common-x86_64-4.14.232-123.381.amzn1.x86_64
    kernel-headers-4.14.232-123.381.amzn1.x86_64
    perf-4.14.232-123.381.amzn1.x86_64
    kernel-tools-4.14.232-123.381.amzn1.x86_64
    kernel-4.14.232-123.381.amzn1.x86_64
    kernel-debuginfo-4.14.232-123.381.amzn1.x86_64
    kernel-tools-devel-4.14.232-123.381.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

kernel: before 4.14.232-123.381

External links

http://alas.aws.amazon.com/ALAS-2021-1503.html


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

5) Race condition

EUVDB-ID: #VU63812

Risk: Low

CVSSv3.1: 3.2 [CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-29374

CWE-ID: CWE-362 - Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Exploit availability: No

Description

The vulnerability allows a local user to gain access to sensitive information.

The vulnerability exists due to a race condition in the mm/gup.c and mm/huge_memory.c in Linux kernel. A local user can exploit the race and gain unauthorized access to sensitive information.

Mitigation

Update the affected packages:

i686:
    kernel-devel-4.14.232-123.381.amzn1.i686
    kernel-tools-devel-4.14.232-123.381.amzn1.i686
    kernel-headers-4.14.232-123.381.amzn1.i686
    perf-4.14.232-123.381.amzn1.i686
    kernel-tools-debuginfo-4.14.232-123.381.amzn1.i686
    kernel-debuginfo-common-i686-4.14.232-123.381.amzn1.i686
    kernel-4.14.232-123.381.amzn1.i686
    kernel-debuginfo-4.14.232-123.381.amzn1.i686
    kernel-tools-4.14.232-123.381.amzn1.i686
    perf-debuginfo-4.14.232-123.381.amzn1.i686

src:
    kernel-4.14.232-123.381.amzn1.src

x86_64:
    perf-debuginfo-4.14.232-123.381.amzn1.x86_64
    kernel-devel-4.14.232-123.381.amzn1.x86_64
    kernel-tools-debuginfo-4.14.232-123.381.amzn1.x86_64
    kernel-debuginfo-common-x86_64-4.14.232-123.381.amzn1.x86_64
    kernel-headers-4.14.232-123.381.amzn1.x86_64
    perf-4.14.232-123.381.amzn1.x86_64
    kernel-tools-4.14.232-123.381.amzn1.x86_64
    kernel-4.14.232-123.381.amzn1.x86_64
    kernel-debuginfo-4.14.232-123.381.amzn1.x86_64
    kernel-tools-devel-4.14.232-123.381.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

kernel: before 4.14.232-123.381

External links

http://alas.aws.amazon.com/ALAS-2021-1503.html


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

6) Race condition

EUVDB-ID: #VU53006

Risk: Low

CVSSv3.1: 7.7 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-23133

CWE-ID: CWE-362 - Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Exploit availability: No

Description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a race condition in Linux kernel SCTP sockets (net/sctp/socket.c). If sctp_destroy_sock is called without sock_net(sk)->sctp.addr_wq_lock then an element is removed from the auto_asconf_splist list without any proper locking. This can be exploited by a local user with network service privileges to escalate to root or from the context of an unprivileged user directly if a BPF_CGROUP_INET_SOCK_CREATE is attached which denies creation of some SCTP socket.

Mitigation

Update the affected packages:

i686:
    kernel-devel-4.14.232-123.381.amzn1.i686
    kernel-tools-devel-4.14.232-123.381.amzn1.i686
    kernel-headers-4.14.232-123.381.amzn1.i686
    perf-4.14.232-123.381.amzn1.i686
    kernel-tools-debuginfo-4.14.232-123.381.amzn1.i686
    kernel-debuginfo-common-i686-4.14.232-123.381.amzn1.i686
    kernel-4.14.232-123.381.amzn1.i686
    kernel-debuginfo-4.14.232-123.381.amzn1.i686
    kernel-tools-4.14.232-123.381.amzn1.i686
    perf-debuginfo-4.14.232-123.381.amzn1.i686

src:
    kernel-4.14.232-123.381.amzn1.src

x86_64:
    perf-debuginfo-4.14.232-123.381.amzn1.x86_64
    kernel-devel-4.14.232-123.381.amzn1.x86_64
    kernel-tools-debuginfo-4.14.232-123.381.amzn1.x86_64
    kernel-debuginfo-common-x86_64-4.14.232-123.381.amzn1.x86_64
    kernel-headers-4.14.232-123.381.amzn1.x86_64
    perf-4.14.232-123.381.amzn1.x86_64
    kernel-tools-4.14.232-123.381.amzn1.x86_64
    kernel-4.14.232-123.381.amzn1.x86_64
    kernel-debuginfo-4.14.232-123.381.amzn1.x86_64
    kernel-tools-devel-4.14.232-123.381.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

kernel: before 4.14.232-123.381

External links

http://alas.aws.amazon.com/ALAS-2021-1503.html


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

7) Improper Initialization

EUVDB-ID: #VU63658

Risk: Low

CVSSv3.1: 4.8 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-28688

CWE-ID: CWE-665 - Improper Initialization

Exploit availability: No

Description

The vulnerability allows a local user to perform a denial of service attack.

The vulnerability exists due to improper initialization of pointers such that subsequent cleanup code wouldn't use uninitialized or stale values. A local user can perform a denial of service attack.

Mitigation

Update the affected packages:

i686:
    kernel-devel-4.14.232-123.381.amzn1.i686
    kernel-tools-devel-4.14.232-123.381.amzn1.i686
    kernel-headers-4.14.232-123.381.amzn1.i686
    perf-4.14.232-123.381.amzn1.i686
    kernel-tools-debuginfo-4.14.232-123.381.amzn1.i686
    kernel-debuginfo-common-i686-4.14.232-123.381.amzn1.i686
    kernel-4.14.232-123.381.amzn1.i686
    kernel-debuginfo-4.14.232-123.381.amzn1.i686
    kernel-tools-4.14.232-123.381.amzn1.i686
    perf-debuginfo-4.14.232-123.381.amzn1.i686

src:
    kernel-4.14.232-123.381.amzn1.src

x86_64:
    perf-debuginfo-4.14.232-123.381.amzn1.x86_64
    kernel-devel-4.14.232-123.381.amzn1.x86_64
    kernel-tools-debuginfo-4.14.232-123.381.amzn1.x86_64
    kernel-debuginfo-common-x86_64-4.14.232-123.381.amzn1.x86_64
    kernel-headers-4.14.232-123.381.amzn1.x86_64
    perf-4.14.232-123.381.amzn1.x86_64
    kernel-tools-4.14.232-123.381.amzn1.x86_64
    kernel-4.14.232-123.381.amzn1.x86_64
    kernel-debuginfo-4.14.232-123.381.amzn1.x86_64
    kernel-tools-devel-4.14.232-123.381.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

kernel: before 4.14.232-123.381

External links

http://alas.aws.amazon.com/ALAS-2021-1503.html


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

8) Race condition

EUVDB-ID: #VU63573

Risk: Low

CVSSv3.1: 5.7 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-28964

CWE-ID: CWE-362 - Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Exploit availability: No

Description

The vulnerability allows a local user to perform a denial of service attack.

The vulnerability exists due to a race condition in the get_old_root() function in fs/btrfs/ctree.c component in the Linux kernel. A local user can exploit the race and perform a denial of service attack.

Mitigation

Update the affected packages:

i686:
    kernel-devel-4.14.232-123.381.amzn1.i686
    kernel-tools-devel-4.14.232-123.381.amzn1.i686
    kernel-headers-4.14.232-123.381.amzn1.i686
    perf-4.14.232-123.381.amzn1.i686
    kernel-tools-debuginfo-4.14.232-123.381.amzn1.i686
    kernel-debuginfo-common-i686-4.14.232-123.381.amzn1.i686
    kernel-4.14.232-123.381.amzn1.i686
    kernel-debuginfo-4.14.232-123.381.amzn1.i686
    kernel-tools-4.14.232-123.381.amzn1.i686
    perf-debuginfo-4.14.232-123.381.amzn1.i686

src:
    kernel-4.14.232-123.381.amzn1.src

x86_64:
    perf-debuginfo-4.14.232-123.381.amzn1.x86_64
    kernel-devel-4.14.232-123.381.amzn1.x86_64
    kernel-tools-debuginfo-4.14.232-123.381.amzn1.x86_64
    kernel-debuginfo-common-x86_64-4.14.232-123.381.amzn1.x86_64
    kernel-headers-4.14.232-123.381.amzn1.x86_64
    perf-4.14.232-123.381.amzn1.x86_64
    kernel-tools-4.14.232-123.381.amzn1.x86_64
    kernel-4.14.232-123.381.amzn1.x86_64
    kernel-debuginfo-4.14.232-123.381.amzn1.x86_64
    kernel-tools-devel-4.14.232-123.381.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

kernel: before 4.14.232-123.381

External links

http://alas.aws.amazon.com/ALAS-2021-1503.html


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

9) Resource exhaustion

EUVDB-ID: #VU64830

Risk: Low

CVSSv3.1: 4.8 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-28971

CWE-ID: CWE-400 - Resource exhaustion

Exploit availability: No

Description

The vulnerability allows a local user to perform a denial of service (DoS) attack.

The vulnerability exists due to mishandling of PEBS status in a PEBS record In intel_pmu_drain_pebs_nhm in arch/x86/events/intel/ds.c in the Linux kernel. A local user can trigger resource exhaustion and perform a denial of service (DoS) attack.

Mitigation

Update the affected packages:

i686:
    kernel-devel-4.14.232-123.381.amzn1.i686
    kernel-tools-devel-4.14.232-123.381.amzn1.i686
    kernel-headers-4.14.232-123.381.amzn1.i686
    perf-4.14.232-123.381.amzn1.i686
    kernel-tools-debuginfo-4.14.232-123.381.amzn1.i686
    kernel-debuginfo-common-i686-4.14.232-123.381.amzn1.i686
    kernel-4.14.232-123.381.amzn1.i686
    kernel-debuginfo-4.14.232-123.381.amzn1.i686
    kernel-tools-4.14.232-123.381.amzn1.i686
    perf-debuginfo-4.14.232-123.381.amzn1.i686

src:
    kernel-4.14.232-123.381.amzn1.src

x86_64:
    perf-debuginfo-4.14.232-123.381.amzn1.x86_64
    kernel-devel-4.14.232-123.381.amzn1.x86_64
    kernel-tools-debuginfo-4.14.232-123.381.amzn1.x86_64
    kernel-debuginfo-common-x86_64-4.14.232-123.381.amzn1.x86_64
    kernel-headers-4.14.232-123.381.amzn1.x86_64
    perf-4.14.232-123.381.amzn1.x86_64
    kernel-tools-4.14.232-123.381.amzn1.x86_64
    kernel-4.14.232-123.381.amzn1.x86_64
    kernel-debuginfo-4.14.232-123.381.amzn1.x86_64
    kernel-tools-devel-4.14.232-123.381.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

kernel: before 4.14.232-123.381

External links

http://alas.aws.amazon.com/ALAS-2021-1503.html


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

10) Command Injection

EUVDB-ID: #VU56241

Risk: Low

CVSSv3.1: 6.8 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-29154

CWE-ID: CWE-77 - Command injection

Exploit availability: No

Description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to incorrect computation of branch displacements within the BPF JIT compilers in the Linux kernel in arch/x86/net/bpf_jit_comp.c and arch/x86/net/bpf_jit_comp32.c. A local user can inject and execute arbitrary commands with elevated privileges.

Mitigation

Update the affected packages:

i686:
    kernel-devel-4.14.232-123.381.amzn1.i686
    kernel-tools-devel-4.14.232-123.381.amzn1.i686
    kernel-headers-4.14.232-123.381.amzn1.i686
    perf-4.14.232-123.381.amzn1.i686
    kernel-tools-debuginfo-4.14.232-123.381.amzn1.i686
    kernel-debuginfo-common-i686-4.14.232-123.381.amzn1.i686
    kernel-4.14.232-123.381.amzn1.i686
    kernel-debuginfo-4.14.232-123.381.amzn1.i686
    kernel-tools-4.14.232-123.381.amzn1.i686
    perf-debuginfo-4.14.232-123.381.amzn1.i686

src:
    kernel-4.14.232-123.381.amzn1.src

x86_64:
    perf-debuginfo-4.14.232-123.381.amzn1.x86_64
    kernel-devel-4.14.232-123.381.amzn1.x86_64
    kernel-tools-debuginfo-4.14.232-123.381.amzn1.x86_64
    kernel-debuginfo-common-x86_64-4.14.232-123.381.amzn1.x86_64
    kernel-headers-4.14.232-123.381.amzn1.x86_64
    perf-4.14.232-123.381.amzn1.x86_64
    kernel-tools-4.14.232-123.381.amzn1.x86_64
    kernel-4.14.232-123.381.amzn1.x86_64
    kernel-debuginfo-4.14.232-123.381.amzn1.x86_64
    kernel-tools-devel-4.14.232-123.381.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

kernel: before 4.14.232-123.381

External links

http://alas.aws.amazon.com/ALAS-2021-1503.html


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

11) Out-of-bounds read

EUVDB-ID: #VU67490

Risk: Low

CVSSv3.1: 4 [CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N/E:P/RL:O/RC:C]

CVE-ID: CVE-2021-29155

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

Exploit availability: Yes

Description

The vulnerability allows a local user to gain access to potentially sensitive information.

The vulnerability exists in retrieve_ptr_limit in kernel/bpf/verifier.c in the Linux kernel mechanism. A local, special user privileged (CAP_SYS_ADMIN) BPF program running on affected systems may bypass the protection, and execute speculatively out-of-bounds loads from the kernel memory.

Mitigation

Update the affected packages:

i686:
    kernel-devel-4.14.232-123.381.amzn1.i686
    kernel-tools-devel-4.14.232-123.381.amzn1.i686
    kernel-headers-4.14.232-123.381.amzn1.i686
    perf-4.14.232-123.381.amzn1.i686
    kernel-tools-debuginfo-4.14.232-123.381.amzn1.i686
    kernel-debuginfo-common-i686-4.14.232-123.381.amzn1.i686
    kernel-4.14.232-123.381.amzn1.i686
    kernel-debuginfo-4.14.232-123.381.amzn1.i686
    kernel-tools-4.14.232-123.381.amzn1.i686
    perf-debuginfo-4.14.232-123.381.amzn1.i686

src:
    kernel-4.14.232-123.381.amzn1.src

x86_64:
    perf-debuginfo-4.14.232-123.381.amzn1.x86_64
    kernel-devel-4.14.232-123.381.amzn1.x86_64
    kernel-tools-debuginfo-4.14.232-123.381.amzn1.x86_64
    kernel-debuginfo-common-x86_64-4.14.232-123.381.amzn1.x86_64
    kernel-headers-4.14.232-123.381.amzn1.x86_64
    perf-4.14.232-123.381.amzn1.x86_64
    kernel-tools-4.14.232-123.381.amzn1.x86_64
    kernel-4.14.232-123.381.amzn1.x86_64
    kernel-debuginfo-4.14.232-123.381.amzn1.x86_64
    kernel-tools-devel-4.14.232-123.381.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

kernel: before 4.14.232-123.381

External links

http://alas.aws.amazon.com/ALAS-2021-1503.html


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.

12) Information disclosure

EUVDB-ID: #VU67181

Risk: Low

CVSSv3.1: 4.8 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-31829

CWE-ID: CWE-200 - Information exposure

Exploit availability: No

Description

The vulnerability allows a local user to gain access to potentially sensitive information.

The vulnerability exists due to excessive data output in the Linux kernel's eBPF verification code. A local user can insert eBPF instructions, use the eBPF verifier to abuse a spectre-like flaw and infer all system memory.

Mitigation

Update the affected packages:

i686:
    kernel-devel-4.14.232-123.381.amzn1.i686
    kernel-tools-devel-4.14.232-123.381.amzn1.i686
    kernel-headers-4.14.232-123.381.amzn1.i686
    perf-4.14.232-123.381.amzn1.i686
    kernel-tools-debuginfo-4.14.232-123.381.amzn1.i686
    kernel-debuginfo-common-i686-4.14.232-123.381.amzn1.i686
    kernel-4.14.232-123.381.amzn1.i686
    kernel-debuginfo-4.14.232-123.381.amzn1.i686
    kernel-tools-4.14.232-123.381.amzn1.i686
    perf-debuginfo-4.14.232-123.381.amzn1.i686

src:
    kernel-4.14.232-123.381.amzn1.src

x86_64:
    perf-debuginfo-4.14.232-123.381.amzn1.x86_64
    kernel-devel-4.14.232-123.381.amzn1.x86_64
    kernel-tools-debuginfo-4.14.232-123.381.amzn1.x86_64
    kernel-debuginfo-common-x86_64-4.14.232-123.381.amzn1.x86_64
    kernel-headers-4.14.232-123.381.amzn1.x86_64
    perf-4.14.232-123.381.amzn1.x86_64
    kernel-tools-4.14.232-123.381.amzn1.x86_64
    kernel-4.14.232-123.381.amzn1.x86_64
    kernel-debuginfo-4.14.232-123.381.amzn1.x86_64
    kernel-tools-devel-4.14.232-123.381.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

kernel: before 4.14.232-123.381

External links

http://alas.aws.amazon.com/ALAS-2021-1503.html


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

13) Out-of-bounds write

EUVDB-ID: #VU63574

Risk: Low

CVSSv3.1: 5.8 [CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-31916

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

Exploit availability: No

Description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a boundary error in list_devices in drivers/md/dm-ioctl.c in the Multi-device driver module. A special user (CAP_SYS_ADMIN) can trigger a buffer overflow in the ioctl for listing devices and escalate privileges on the system.

Mitigation

Update the affected packages:

i686:
    kernel-devel-4.14.232-123.381.amzn1.i686
    kernel-tools-devel-4.14.232-123.381.amzn1.i686
    kernel-headers-4.14.232-123.381.amzn1.i686
    perf-4.14.232-123.381.amzn1.i686
    kernel-tools-debuginfo-4.14.232-123.381.amzn1.i686
    kernel-debuginfo-common-i686-4.14.232-123.381.amzn1.i686
    kernel-4.14.232-123.381.amzn1.i686
    kernel-debuginfo-4.14.232-123.381.amzn1.i686
    kernel-tools-4.14.232-123.381.amzn1.i686
    perf-debuginfo-4.14.232-123.381.amzn1.i686

src:
    kernel-4.14.232-123.381.amzn1.src

x86_64:
    perf-debuginfo-4.14.232-123.381.amzn1.x86_64
    kernel-devel-4.14.232-123.381.amzn1.x86_64
    kernel-tools-debuginfo-4.14.232-123.381.amzn1.x86_64
    kernel-debuginfo-common-x86_64-4.14.232-123.381.amzn1.x86_64
    kernel-headers-4.14.232-123.381.amzn1.x86_64
    perf-4.14.232-123.381.amzn1.x86_64
    kernel-tools-4.14.232-123.381.amzn1.x86_64
    kernel-4.14.232-123.381.amzn1.x86_64
    kernel-debuginfo-4.14.232-123.381.amzn1.x86_64
    kernel-tools-devel-4.14.232-123.381.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

kernel: before 4.14.232-123.381

External links

http://alas.aws.amazon.com/ALAS-2021-1503.html


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

14) Use-after-free

EUVDB-ID: #VU55261

Risk: Low

CVSSv3.1: 6.8 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-33033

CWE-ID: CWE-416 - Use After Free

Exploit availability: No

Description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to improper handling of the CIPSO and CALIPSO refcounting for the DOI definitions in cipso_v4_genopt(0 function in net/ipv4/cipso_ipv4.c in Linux kernel. A local user can trigger a use-after-free error and execute arbitrary code with escalated privileges.

Mitigation

Update the affected packages:

i686:
    kernel-devel-4.14.232-123.381.amzn1.i686
    kernel-tools-devel-4.14.232-123.381.amzn1.i686
    kernel-headers-4.14.232-123.381.amzn1.i686
    perf-4.14.232-123.381.amzn1.i686
    kernel-tools-debuginfo-4.14.232-123.381.amzn1.i686
    kernel-debuginfo-common-i686-4.14.232-123.381.amzn1.i686
    kernel-4.14.232-123.381.amzn1.i686
    kernel-debuginfo-4.14.232-123.381.amzn1.i686
    kernel-tools-4.14.232-123.381.amzn1.i686
    perf-debuginfo-4.14.232-123.381.amzn1.i686

src:
    kernel-4.14.232-123.381.amzn1.src

x86_64:
    perf-debuginfo-4.14.232-123.381.amzn1.x86_64
    kernel-devel-4.14.232-123.381.amzn1.x86_64
    kernel-tools-debuginfo-4.14.232-123.381.amzn1.x86_64
    kernel-debuginfo-common-x86_64-4.14.232-123.381.amzn1.x86_64
    kernel-headers-4.14.232-123.381.amzn1.x86_64
    perf-4.14.232-123.381.amzn1.x86_64
    kernel-tools-4.14.232-123.381.amzn1.x86_64
    kernel-4.14.232-123.381.amzn1.x86_64
    kernel-debuginfo-4.14.232-123.381.amzn1.x86_64
    kernel-tools-devel-4.14.232-123.381.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

kernel: before 4.14.232-123.381

External links

http://alas.aws.amazon.com/ALAS-2021-1503.html


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###