Amazon Linux AMI update for kernel



Risk Low
Patch available YES
Number of vulnerabilities 3
CVE-ID CVE-2023-2235
CVE-2023-28466
CVE-2023-30456
CWE-ID CWE-416
CWE-362
CWE-20
Exploitation vector Local
Public exploit N/A
Vulnerable software
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 3 vulnerabilities.

1) Use-after-free

EUVDB-ID: #VU75997

Risk: Low

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

CVE-ID: CVE-2023-2235

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 Linux Kernel Performance Events system. A local user can trigger a use-after-free error and execute arbitrary code with elevated privileges.

Mitigation

Update the affected packages:

aarch64:
    kernel-libbpf-6.1.21-1.45.amzn2023.aarch64
    python3-perf-debuginfo-6.1.21-1.45.amzn2023.aarch64
    kernel-tools-6.1.21-1.45.amzn2023.aarch64
    kernel-libbpf-devel-6.1.21-1.45.amzn2023.aarch64
    kernel-headers-6.1.21-1.45.amzn2023.aarch64
    bpftool-debuginfo-6.1.21-1.45.amzn2023.aarch64
    kernel-tools-devel-6.1.21-1.45.amzn2023.aarch64
    bpftool-6.1.21-1.45.amzn2023.aarch64
    kernel-livepatch-6.1.21-1.45-1.0-0.amzn2023.aarch64
    perf-6.1.21-1.45.amzn2023.aarch64
    perf-debuginfo-6.1.21-1.45.amzn2023.aarch64
    kernel-libbpf-static-6.1.21-1.45.amzn2023.aarch64
    kernel-tools-debuginfo-6.1.21-1.45.amzn2023.aarch64
    python3-perf-6.1.21-1.45.amzn2023.aarch64
    kernel-6.1.21-1.45.amzn2023.aarch64
    kernel-debuginfo-6.1.21-1.45.amzn2023.aarch64
    kernel-debuginfo-common-aarch64-6.1.21-1.45.amzn2023.aarch64
    kernel-devel-6.1.21-1.45.amzn2023.aarch64

src:
    kernel-6.1.21-1.45.amzn2023.src

x86_64:
    kernel-tools-devel-6.1.21-1.45.amzn2023.x86_64
    python3-perf-debuginfo-6.1.21-1.45.amzn2023.x86_64
    kernel-libbpf-devel-6.1.21-1.45.amzn2023.x86_64
    bpftool-6.1.21-1.45.amzn2023.x86_64
    kernel-libbpf-6.1.21-1.45.amzn2023.x86_64
    kernel-livepatch-6.1.21-1.45-1.0-0.amzn2023.x86_64
    kernel-tools-debuginfo-6.1.21-1.45.amzn2023.x86_64
    bpftool-debuginfo-6.1.21-1.45.amzn2023.x86_64
    perf-6.1.21-1.45.amzn2023.x86_64
    perf-debuginfo-6.1.21-1.45.amzn2023.x86_64
    kernel-libbpf-static-6.1.21-1.45.amzn2023.x86_64
    kernel-tools-6.1.21-1.45.amzn2023.x86_64
    python3-perf-6.1.21-1.45.amzn2023.x86_64
    kernel-headers-6.1.21-1.45.amzn2023.x86_64
    kernel-debuginfo-6.1.21-1.45.amzn2023.x86_64
    kernel-6.1.21-1.45.amzn2023.x86_64
    kernel-debuginfo-common-x86_64-6.1.21-1.45.amzn2023.x86_64
    kernel-devel-6.1.21-1.45.amzn2023.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

kernel: before 6.1.21-1.45

CPE2.3 External links

http://alas.aws.amazon.com/AL2023/ALAS-2023-148.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) Race condition

EUVDB-ID: #VU74628

Risk: Low

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

CVE-ID: CVE-2023-28466

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 caused by a missing lock_sock call within the do_tls_getsockopt() function in net/tls/tls_main.c. A local user can exploit the race and gain unauthorized access to sensitive information and escalate privileges on the system.

Mitigation

Update the affected packages:

aarch64:
    kernel-libbpf-6.1.21-1.45.amzn2023.aarch64
    python3-perf-debuginfo-6.1.21-1.45.amzn2023.aarch64
    kernel-tools-6.1.21-1.45.amzn2023.aarch64
    kernel-libbpf-devel-6.1.21-1.45.amzn2023.aarch64
    kernel-headers-6.1.21-1.45.amzn2023.aarch64
    bpftool-debuginfo-6.1.21-1.45.amzn2023.aarch64
    kernel-tools-devel-6.1.21-1.45.amzn2023.aarch64
    bpftool-6.1.21-1.45.amzn2023.aarch64
    kernel-livepatch-6.1.21-1.45-1.0-0.amzn2023.aarch64
    perf-6.1.21-1.45.amzn2023.aarch64
    perf-debuginfo-6.1.21-1.45.amzn2023.aarch64
    kernel-libbpf-static-6.1.21-1.45.amzn2023.aarch64
    kernel-tools-debuginfo-6.1.21-1.45.amzn2023.aarch64
    python3-perf-6.1.21-1.45.amzn2023.aarch64
    kernel-6.1.21-1.45.amzn2023.aarch64
    kernel-debuginfo-6.1.21-1.45.amzn2023.aarch64
    kernel-debuginfo-common-aarch64-6.1.21-1.45.amzn2023.aarch64
    kernel-devel-6.1.21-1.45.amzn2023.aarch64

src:
    kernel-6.1.21-1.45.amzn2023.src

x86_64:
    kernel-tools-devel-6.1.21-1.45.amzn2023.x86_64
    python3-perf-debuginfo-6.1.21-1.45.amzn2023.x86_64
    kernel-libbpf-devel-6.1.21-1.45.amzn2023.x86_64
    bpftool-6.1.21-1.45.amzn2023.x86_64
    kernel-libbpf-6.1.21-1.45.amzn2023.x86_64
    kernel-livepatch-6.1.21-1.45-1.0-0.amzn2023.x86_64
    kernel-tools-debuginfo-6.1.21-1.45.amzn2023.x86_64
    bpftool-debuginfo-6.1.21-1.45.amzn2023.x86_64
    perf-6.1.21-1.45.amzn2023.x86_64
    perf-debuginfo-6.1.21-1.45.amzn2023.x86_64
    kernel-libbpf-static-6.1.21-1.45.amzn2023.x86_64
    kernel-tools-6.1.21-1.45.amzn2023.x86_64
    python3-perf-6.1.21-1.45.amzn2023.x86_64
    kernel-headers-6.1.21-1.45.amzn2023.x86_64
    kernel-debuginfo-6.1.21-1.45.amzn2023.x86_64
    kernel-6.1.21-1.45.amzn2023.x86_64
    kernel-debuginfo-common-x86_64-6.1.21-1.45.amzn2023.x86_64
    kernel-devel-6.1.21-1.45.amzn2023.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

kernel: before 6.1.21-1.45

CPE2.3 External links

http://alas.aws.amazon.com/AL2023/ALAS-2023-148.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) Input validation error

EUVDB-ID: #VU75456

Risk: Low

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

CVE-ID: CVE-2023-30456

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

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

The vulnerability exists due to insufficient validation of consistency for for CR0 and CR4 in arch/x86/kvm/vmx/nested.c in the Linux kernel. A local user can execute arbitrary code with elevated privileges.

Mitigation

Update the affected packages:

aarch64:
    kernel-libbpf-6.1.21-1.45.amzn2023.aarch64
    python3-perf-debuginfo-6.1.21-1.45.amzn2023.aarch64
    kernel-tools-6.1.21-1.45.amzn2023.aarch64
    kernel-libbpf-devel-6.1.21-1.45.amzn2023.aarch64
    kernel-headers-6.1.21-1.45.amzn2023.aarch64
    bpftool-debuginfo-6.1.21-1.45.amzn2023.aarch64
    kernel-tools-devel-6.1.21-1.45.amzn2023.aarch64
    bpftool-6.1.21-1.45.amzn2023.aarch64
    kernel-livepatch-6.1.21-1.45-1.0-0.amzn2023.aarch64
    perf-6.1.21-1.45.amzn2023.aarch64
    perf-debuginfo-6.1.21-1.45.amzn2023.aarch64
    kernel-libbpf-static-6.1.21-1.45.amzn2023.aarch64
    kernel-tools-debuginfo-6.1.21-1.45.amzn2023.aarch64
    python3-perf-6.1.21-1.45.amzn2023.aarch64
    kernel-6.1.21-1.45.amzn2023.aarch64
    kernel-debuginfo-6.1.21-1.45.amzn2023.aarch64
    kernel-debuginfo-common-aarch64-6.1.21-1.45.amzn2023.aarch64
    kernel-devel-6.1.21-1.45.amzn2023.aarch64

src:
    kernel-6.1.21-1.45.amzn2023.src

x86_64:
    kernel-tools-devel-6.1.21-1.45.amzn2023.x86_64
    python3-perf-debuginfo-6.1.21-1.45.amzn2023.x86_64
    kernel-libbpf-devel-6.1.21-1.45.amzn2023.x86_64
    bpftool-6.1.21-1.45.amzn2023.x86_64
    kernel-libbpf-6.1.21-1.45.amzn2023.x86_64
    kernel-livepatch-6.1.21-1.45-1.0-0.amzn2023.x86_64
    kernel-tools-debuginfo-6.1.21-1.45.amzn2023.x86_64
    bpftool-debuginfo-6.1.21-1.45.amzn2023.x86_64
    perf-6.1.21-1.45.amzn2023.x86_64
    perf-debuginfo-6.1.21-1.45.amzn2023.x86_64
    kernel-libbpf-static-6.1.21-1.45.amzn2023.x86_64
    kernel-tools-6.1.21-1.45.amzn2023.x86_64
    python3-perf-6.1.21-1.45.amzn2023.x86_64
    kernel-headers-6.1.21-1.45.amzn2023.x86_64
    kernel-debuginfo-6.1.21-1.45.amzn2023.x86_64
    kernel-6.1.21-1.45.amzn2023.x86_64
    kernel-debuginfo-common-x86_64-6.1.21-1.45.amzn2023.x86_64
    kernel-devel-6.1.21-1.45.amzn2023.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

kernel: before 6.1.21-1.45

CPE2.3 External links

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