Amazon Linux AMI update for kernel



Published: 2023-07-03
Risk Low
Patch available YES
Number of vulnerabilities 6
CVE-ID CVE-2022-2586
CVE-2022-34918
CVE-2023-2269
CVE-2023-28466
CVE-2023-3111
CVE-2023-34256
CWE-ID CWE-416
CWE-843
CWE-667
CWE-362
CWE-125
Exploitation vector Local
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerability #2 is being exploited in the wild.
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 6 vulnerabilities.

1) Use-after-free

EUVDB-ID: #VU66396

Risk: Low

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

CVE-ID: CVE-2022-2586

CWE-ID: CWE-416 - Use After Free

Exploit availability: Yes

Description

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

The vulnerability exists due to a use-after-free error within the the netfilter subsystem implementation in Linux kernel when preventing one nft object from referencing an nft set in another nft table. A local user can trigger a use-after-free error and execute arbitrary code on the system with elevated privileges.

Mitigation

Update the affected packages:

i686:
    perf-debuginfo-4.14.318-166.529.amzn1.i686
    kernel-tools-devel-4.14.318-166.529.amzn1.i686
    perf-4.14.318-166.529.amzn1.i686
    kernel-debuginfo-common-i686-4.14.318-166.529.amzn1.i686
    kernel-devel-4.14.318-166.529.amzn1.i686
    kernel-tools-4.14.318-166.529.amzn1.i686
    kernel-debuginfo-4.14.318-166.529.amzn1.i686
    kernel-tools-debuginfo-4.14.318-166.529.amzn1.i686
    kernel-4.14.318-166.529.amzn1.i686
    kernel-headers-4.14.318-166.529.amzn1.i686

src:
    kernel-4.14.318-166.529.amzn1.src

x86_64:
    kernel-debuginfo-common-x86_64-4.14.318-166.529.amzn1.x86_64
    kernel-4.14.318-166.529.amzn1.x86_64
    kernel-tools-4.14.318-166.529.amzn1.x86_64
    perf-debuginfo-4.14.318-166.529.amzn1.x86_64
    kernel-headers-4.14.318-166.529.amzn1.x86_64
    kernel-debuginfo-4.14.318-166.529.amzn1.x86_64
    kernel-tools-debuginfo-4.14.318-166.529.amzn1.x86_64
    kernel-devel-4.14.318-166.529.amzn1.x86_64
    kernel-tools-devel-4.14.318-166.529.amzn1.x86_64
    perf-4.14.318-166.529.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

kernel: before 4.14.318-166.529

External links

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

2) Type Confusion

EUVDB-ID: #VU65360

Risk: Low

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

CVE-ID: CVE-2022-34918

CWE-ID: CWE-843 - Type confusion

Exploit availability: Yes

Description

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

The vulnerability exists in the Linux kernel’s Netfilter subsystem in the way a user provides incorrect input of the NFT_DATA_VERDICT type. A local user can pass specially crafted data to the application, trigger a type confusion error and escalate privileges on the system.

Mitigation

Update the affected packages:

i686:
    perf-debuginfo-4.14.318-166.529.amzn1.i686
    kernel-tools-devel-4.14.318-166.529.amzn1.i686
    perf-4.14.318-166.529.amzn1.i686
    kernel-debuginfo-common-i686-4.14.318-166.529.amzn1.i686
    kernel-devel-4.14.318-166.529.amzn1.i686
    kernel-tools-4.14.318-166.529.amzn1.i686
    kernel-debuginfo-4.14.318-166.529.amzn1.i686
    kernel-tools-debuginfo-4.14.318-166.529.amzn1.i686
    kernel-4.14.318-166.529.amzn1.i686
    kernel-headers-4.14.318-166.529.amzn1.i686

src:
    kernel-4.14.318-166.529.amzn1.src

x86_64:
    kernel-debuginfo-common-x86_64-4.14.318-166.529.amzn1.x86_64
    kernel-4.14.318-166.529.amzn1.x86_64
    kernel-tools-4.14.318-166.529.amzn1.x86_64
    perf-debuginfo-4.14.318-166.529.amzn1.x86_64
    kernel-headers-4.14.318-166.529.amzn1.x86_64
    kernel-debuginfo-4.14.318-166.529.amzn1.x86_64
    kernel-tools-debuginfo-4.14.318-166.529.amzn1.x86_64
    kernel-devel-4.14.318-166.529.amzn1.x86_64
    kernel-tools-devel-4.14.318-166.529.amzn1.x86_64
    perf-4.14.318-166.529.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

kernel: before 4.14.318-166.529

External links

http://alas.aws.amazon.com/ALAS-2023-1773.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?

Yes. This vulnerability is being exploited in the wild.

3) Improper locking

EUVDB-ID: #VU77243

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-2023-2269

CWE-ID: CWE-667 - Improper Locking

Exploit availability: No

Description

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

The vulnerability exists due to double-locking error in table_clear in drivers/md/dm-ioctl.c. A local user can perform a denial of service (DoS) attack.

Mitigation

Update the affected packages:

i686:
    perf-debuginfo-4.14.318-166.529.amzn1.i686
    kernel-tools-devel-4.14.318-166.529.amzn1.i686
    perf-4.14.318-166.529.amzn1.i686
    kernel-debuginfo-common-i686-4.14.318-166.529.amzn1.i686
    kernel-devel-4.14.318-166.529.amzn1.i686
    kernel-tools-4.14.318-166.529.amzn1.i686
    kernel-debuginfo-4.14.318-166.529.amzn1.i686
    kernel-tools-debuginfo-4.14.318-166.529.amzn1.i686
    kernel-4.14.318-166.529.amzn1.i686
    kernel-headers-4.14.318-166.529.amzn1.i686

src:
    kernel-4.14.318-166.529.amzn1.src

x86_64:
    kernel-debuginfo-common-x86_64-4.14.318-166.529.amzn1.x86_64
    kernel-4.14.318-166.529.amzn1.x86_64
    kernel-tools-4.14.318-166.529.amzn1.x86_64
    perf-debuginfo-4.14.318-166.529.amzn1.x86_64
    kernel-headers-4.14.318-166.529.amzn1.x86_64
    kernel-debuginfo-4.14.318-166.529.amzn1.x86_64
    kernel-tools-debuginfo-4.14.318-166.529.amzn1.x86_64
    kernel-devel-4.14.318-166.529.amzn1.x86_64
    kernel-tools-devel-4.14.318-166.529.amzn1.x86_64
    perf-4.14.318-166.529.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

kernel: before 4.14.318-166.529

External links

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

4) Race condition

EUVDB-ID: #VU74628

Risk: Low

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

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:

i686:
    perf-debuginfo-4.14.318-166.529.amzn1.i686
    kernel-tools-devel-4.14.318-166.529.amzn1.i686
    perf-4.14.318-166.529.amzn1.i686
    kernel-debuginfo-common-i686-4.14.318-166.529.amzn1.i686
    kernel-devel-4.14.318-166.529.amzn1.i686
    kernel-tools-4.14.318-166.529.amzn1.i686
    kernel-debuginfo-4.14.318-166.529.amzn1.i686
    kernel-tools-debuginfo-4.14.318-166.529.amzn1.i686
    kernel-4.14.318-166.529.amzn1.i686
    kernel-headers-4.14.318-166.529.amzn1.i686

src:
    kernel-4.14.318-166.529.amzn1.src

x86_64:
    kernel-debuginfo-common-x86_64-4.14.318-166.529.amzn1.x86_64
    kernel-4.14.318-166.529.amzn1.x86_64
    kernel-tools-4.14.318-166.529.amzn1.x86_64
    perf-debuginfo-4.14.318-166.529.amzn1.x86_64
    kernel-headers-4.14.318-166.529.amzn1.x86_64
    kernel-debuginfo-4.14.318-166.529.amzn1.x86_64
    kernel-tools-debuginfo-4.14.318-166.529.amzn1.x86_64
    kernel-devel-4.14.318-166.529.amzn1.x86_64
    kernel-tools-devel-4.14.318-166.529.amzn1.x86_64
    perf-4.14.318-166.529.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

kernel: before 4.14.318-166.529

External links

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

EUVDB-ID: #VU77911

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-2023-3111

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 within the prepare_to_relocate() function in fs/btrfs/relocation.c in btrfs in the Linux Kernel. A local user can trigger a use-after-free error and execute arbitrary code with elevated privileges.

Mitigation

Update the affected packages:

i686:
    perf-debuginfo-4.14.318-166.529.amzn1.i686
    kernel-tools-devel-4.14.318-166.529.amzn1.i686
    perf-4.14.318-166.529.amzn1.i686
    kernel-debuginfo-common-i686-4.14.318-166.529.amzn1.i686
    kernel-devel-4.14.318-166.529.amzn1.i686
    kernel-tools-4.14.318-166.529.amzn1.i686
    kernel-debuginfo-4.14.318-166.529.amzn1.i686
    kernel-tools-debuginfo-4.14.318-166.529.amzn1.i686
    kernel-4.14.318-166.529.amzn1.i686
    kernel-headers-4.14.318-166.529.amzn1.i686

src:
    kernel-4.14.318-166.529.amzn1.src

x86_64:
    kernel-debuginfo-common-x86_64-4.14.318-166.529.amzn1.x86_64
    kernel-4.14.318-166.529.amzn1.x86_64
    kernel-tools-4.14.318-166.529.amzn1.x86_64
    perf-debuginfo-4.14.318-166.529.amzn1.x86_64
    kernel-headers-4.14.318-166.529.amzn1.x86_64
    kernel-debuginfo-4.14.318-166.529.amzn1.x86_64
    kernel-tools-debuginfo-4.14.318-166.529.amzn1.x86_64
    kernel-devel-4.14.318-166.529.amzn1.x86_64
    kernel-tools-devel-4.14.318-166.529.amzn1.x86_64
    perf-4.14.318-166.529.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

kernel: before 4.14.318-166.529

External links

http://alas.aws.amazon.com/ALAS-2023-1773.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) Out-of-bounds read

EUVDB-ID: #VU77624

Risk: Low

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

CVE-ID: CVE-2023-34256

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

Exploit availability: No

Description

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

The vulnerability exists due to a boundary condition within crc16 in lib/crc16.c when called from fs/ext4/super.c. A local user can trigger an out-of-bounds read error and crash the kernel.

Mitigation

Update the affected packages:

i686:
    perf-debuginfo-4.14.318-166.529.amzn1.i686
    kernel-tools-devel-4.14.318-166.529.amzn1.i686
    perf-4.14.318-166.529.amzn1.i686
    kernel-debuginfo-common-i686-4.14.318-166.529.amzn1.i686
    kernel-devel-4.14.318-166.529.amzn1.i686
    kernel-tools-4.14.318-166.529.amzn1.i686
    kernel-debuginfo-4.14.318-166.529.amzn1.i686
    kernel-tools-debuginfo-4.14.318-166.529.amzn1.i686
    kernel-4.14.318-166.529.amzn1.i686
    kernel-headers-4.14.318-166.529.amzn1.i686

src:
    kernel-4.14.318-166.529.amzn1.src

x86_64:
    kernel-debuginfo-common-x86_64-4.14.318-166.529.amzn1.x86_64
    kernel-4.14.318-166.529.amzn1.x86_64
    kernel-tools-4.14.318-166.529.amzn1.x86_64
    perf-debuginfo-4.14.318-166.529.amzn1.x86_64
    kernel-headers-4.14.318-166.529.amzn1.x86_64
    kernel-debuginfo-4.14.318-166.529.amzn1.x86_64
    kernel-tools-debuginfo-4.14.318-166.529.amzn1.x86_64
    kernel-devel-4.14.318-166.529.amzn1.x86_64
    kernel-tools-devel-4.14.318-166.529.amzn1.x86_64
    perf-4.14.318-166.529.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

kernel: before 4.14.318-166.529

External links

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