cbcvebase.
CVE-2021-20194
published 2021-02-23

CVE-2021-20194: There is a vulnerability in the linux kernel versions higher than 5.2 (if kernel compiled with config params CONFIG_BPF_SYSCALL=y , CONFIG_BPF=y…

high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
There is a vulnerability in the linux kernel versions higher than 5.2 (if kernel compiled with config params CONFIG_BPF_SYSCALL=y , CONFIG_BPF=y , CONFIG_CGROUPS=y , CONFIG_CGROUP_BPF=y , CONFIG_HARDENED_USERCOPY not set, and BPF hook to getsockopt is registered). As result of BPF execution, the local user can trigger bug in __cgroup_bpf_run_filter_getsockopt() function that can lead to heap overflow (because of non-hardened usercopy). The impact of attack could be deny of service or possibly privileges escalation.

Affected

15 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 5.10.19-1 (bookworm)linux 5.10.19-1 (bookworm)
linuxlinux_kernel
linuxlinux_kernel
linuxlinux_kernel>= 0 < 5.10.19-15.10.19-1
linuxlinux_kernel>= 0 < 5.10.19-15.10.19-1
linuxlinux_kernel>= 0 < 5.10.19-15.10.19-1
linuxlinux_kernel>= 0 < 5.10.19-15.10.19-1
linuxlinux_kernel>= 0 < 5.4.0-71.795.4.0-71.79
msrcazl3_kernel_6.6.35.1-4_on_azure_linux_3.0
msrcazl3_kernel_6.6.92.2-1_on_azure_linux_3.0
msrccbl2_kernel_5.15.26.1-1_on_cbl_mariner_2.0
redhatenterprise_linux
redhatopenshift_container_platform
redhatopenshift_container_platform
redhatopenshift_container_platform

CVSS provenance

nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv7.8HIGH