CVE-2021-20194 PUBLISHED

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.

EPSS 0.05% · 15.5th percentile

Risk Scores

EPSS Score
0.05%
15.5th percentile

Affected Products

VendorProductVersions
Ubuntu:18.04:LTSlinux-gcp-5.45.4.0-1029.31~18.04.1, 5.4.0-1030.32~18.04.1, 5.4.0-1032.34~18.04.1
Ubuntu:20.04:LTSlinux-aws5.4.0-1005.5, 5.3.0-1010.11, 5.3.0-1009.10
Ubuntu:18.04:LTSlinux-aws-5.45.4.0-1029.30~18.04.1, 5.4.0-1030.31~18.04.1, 5.4.0-1032.33~18.04.1
Ubuntu:20.04:LTSlinux-gke5.4.0-1039.41, 5.4.0-1037.39, 5.4.0-1036.38
Ubuntu:18.04:LTSlinux-azure-5.45.4.0-1023.23~18.04.1, 0, 5.4.0-1020.20~18.04.1
Ubuntu:20.04:LTSlinux-oracle5.3.0-1002.2, 5.4.0-1029.31, 5.4.0-1030.32
Ubuntu:22.04:LTSlinux-intel-iot-realtime5.15.0-1073.75, 0
Ubuntu:18.04:LTSlinux-gke-5.45.4.0-1032.34~18.04.1, 0, 5.4.0-1025.25~18.04.1
Ubuntu:20.04:LTSlinux-hwe-5.85.8.0-33.36~20.04.1, 5.8.0-40.45~20.04.1, 5.8.0-44.50~20.04.1
Ubuntu:18.04:LTSlinux-raspi-5.45.4.0-1016.17~18.04.1, 5.4.0-1018.20~18.04.1, 5.4.0-1019.21~18.04.1
Ubuntu:20.04:LTSlinux-oem-5.65.6.0-1033.35, 5.6.0-1052.56, 5.6.0-1050.54
Ubuntu:Pro:FIPS-updates:20.04:LTSlinux-gcp-fips0, 5.4.0-1021.21+fips1
Ubuntu:18.04:LTSlinux-hwe-edge5.0.0-16.17~18.04.1, 5.3.0-22.24~18.04.1, 5.3.0-23.25~18.04.1
Ubuntu:18.04:LTSlinux-oracle-5.05.0.0-1010.15~18.04.1, 5.0.0-1014.19, 5.0.0-1013.18
Ubuntu:Pro:FIPS:20.04:LTSlinux-aws-fips5.4.0-1021.21+fips2, 0
Ubuntu:20.04:LTSlinux-raspi25.3.0-1015.17, 5.4.0-1006.6, 0
Ubuntu:18.04:LTSlinux-aws-5.35.3.0-1033.35, 5.3.0-1032.34~18.04.2, 5.3.0-1030.32~18.04.1
Ubuntu:20.04:LTSlinux-gcp5.3.0-1004.4, 5.4.0-1040.43, 5.4.0-1038.41
Ubuntu:18.04:LTSlinux-gke-4.154.15.0-1073.78, 4.15.0-1070.73, 4.15.0-1069.72
Ubuntu:20.04:LTSlinux-riscv5.4.0-40.45, 5.4.0-39.44, 5.4.0-37.42

…and 27 more

Timeline

References

Open in Interactive Console →