CVE-2021-20194

Updated: 2024-11-23 02:10:57.379276

Description:

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.


Links NIST CIRCL RHEL Ubuntu

Severity

Severity Score
CVSS Version 2.x MEDIUM 4.6
CVSS Version 3.x HIGH 7.8

Status

OS name Project name Version Score Severity Status Errata Last updated

Statement

AlmaLinux 9.2 ESU kernel 5.14.0 7.8 HIGH Already Fixed 2023-12-19 13:11:34
AlmaLinux 9.2 FIPS kernel 5.14.0 7.8 HIGH Already Fixed 2024-01-19 13:10:11
CentOS 8.4 ELS kernel 4.18.0 7.8 HIGH Released CLSA-2022:1651145959 2022-04-28 16:00:02
CentOS 8.5 ELS kernel 4.18.0 7.8 HIGH Ignored 2022-02-21 05:39:42
Ubuntu 16.04 ELS linux 4.4.0 7.8 HIGH Not Vulnerable 2022-02-17 08:55:36