Amazon Linux AMI update for kernel



Risk Low
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2023-2163
CVE-2023-31436
CWE-ID CWE-787
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 2 vulnerabilities.

1) Out-of-bounds write

EUVDB-ID: #VU79673

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

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 BPF verifier caused by improper marking of registers for precision tracking in certain situations. A local user can trigger an out-of-bounds write and execute arbitrary code with elevated privileges.

Mitigation

Update the affected packages:

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

src:
    kernel-6.1.27-43.48.amzn2023.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

kernel: before 6.1.27-43.48

CPE2.3 External links

https://alas.aws.amazon.com/AL2023/ALAS-2023-179.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) Out-of-bounds write

EUVDB-ID: #VU76098

Risk: Low

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

CVE-ID: CVE-2023-31436

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 within the qfq_change_class() function in net/sched/sch_qfq.c when handling the MTU value provided to the QFQ Scheduler. A local user can trigger an out-of-bounds write and execute arbitrary code with elevated privileges.

Mitigation

Update the affected packages:

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

src:
    kernel-6.1.27-43.48.amzn2023.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

kernel: before 6.1.27-43.48

CPE2.3 External links

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