VDB
CVE-2021-20194
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% · 16.0th percentile
Risk Scores
EPSS Score
0.05%
16.0th percentile
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:18.04:LTS | linux-gcp-5.4 | 5.4.0-1021.21~18.04.1, 0, * |
| Ubuntu:20.04:LTS | linux-aws | 5.4.0-1032.33, 0, 5.3.0-1003.3 |
| Ubuntu:18.04:LTS | linux-aws-5.4 | 5.4.0-1038.40~18.04.1, 5.4.0-1041.43~18.04.1, * |
| Ubuntu:20.04:LTS | linux-gke | 5.4.0-1037.39, 0, 5.4.0-1039.41 |
| Ubuntu:18.04:LTS | linux-azure-5.4 | 5.4.0-1039.41~18.04.1, 5.4.0-1035.36~18.04.1, 5.4.0-1034.35~18.04.1 |
| Ubuntu:20.04:LTS | linux-oracle | 5.4.0-1029.31, 5.3.0-1002.2, 5.4.0-1030.32 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | 0, 5.15.0-1073.75 |
| Ubuntu:18.04:LTS | linux-gke-5.4 | 5.4.0-1039.41~18.04.1, 5.4.0-1027.28~18.04.1, 5.4.0-1029.31~18.04.1 |
| Ubuntu:20.04:LTS | linux-hwe-5.8 | 5.8.0-44.50~20.04.1, 5.8.0-31.33~20.04.1, 5.8.0-29.31~20.04.1 |
| Ubuntu:18.04:LTS | linux-raspi-5.4 | *, *, 5.4.0-1016.17~18.04.1 |
| Ubuntu:20.04:LTS | linux-oem-5.6 | 5.6.0-1027.27, 5.6.0-1042.46, 5.6.0-1047.51 |
| Ubuntu:Pro:FIPS-updates:20.04:LTS | linux-gcp-fips | 5.4.0-1021.21+fips1, 0 |
| Ubuntu:18.04:LTS | linux-hwe-edge | 5.3.0-23.25~18.04.1, 5.3.0-23.25~18.04.2, 5.3.0-24.26~18.04.2 |
| Ubuntu:18.04:LTS | linux-oracle-5.0 | 5.0.0-1009.14~18.04.1, 5.0.0-1010.15~18.04.1, 5.0.0-1011.16 |
| Ubuntu:Pro:FIPS:20.04:LTS | linux-aws-fips | 5.4.0-1021.21+fips2, 0 |
| Ubuntu:20.04:LTS | linux-raspi2 | 5.4.0-1006.6, 0, 5.3.0-1014.16 |
| Ubuntu:18.04:LTS | linux-aws-5.3 | 5.3.0-1032.34~18.04.2, 5.3.0-1034.36, 5.3.0-1035.37 |
| Ubuntu:20.04:LTS | linux-gcp | 5.4.0-1009.9, 5.3.0-1004.4, 5.3.0-1009.10 |
| Ubuntu:18.04:LTS | linux-gke-4.15 | 4.15.0-1072.76, 4.15.0-1073.78, 0 |
| Ubuntu:20.04:LTS | linux-riscv | 5.4.0-28.32, 5.4.0-27.31, 5.4.0-26.30 |
…and 27 more
Exploit Intelligence
- CVE-2021-3493.yara (github-yara)
- CVE-2021-3493.yara (github-yara)
- CVE-2021-3493.yara (github-yara)
- CVE-2021-3493.yara (github-yara)
- CVE-2021-3493.yara (github-yara)
Timeline
- Feb 23, 2021 CVE Published
- Apr 14, 2021 EPSS Score
- Jun 23, 2021 EPSS Score
- Aug 24, 2021 EPSS Score
- Oct 26, 2021 EPSS Score
- Dec 27, 2021 EPSS Score
- Feb 28, 2022 EPSS Score
- Apr 1, 2022 EPSS Score
- May 1, 2022 EPSS Score
- Jul 3, 2022 EPSS Score
- Sep 4, 2022 EPSS Score
- Nov 6, 2022 EPSS Score
References
- https://ubuntu.com/security/CVE-2021-20194 third-party-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1912683 third-party-advisory
- https://patchwork.kernel.org/project/netdevbpf/patch/20210122164232.61770-1-loris.reiff@liblor.ch/#23921223 third-party-advisory
- https://ubuntu.com/security/notices/USN-4879-1 vendor-advisory
- https://ubuntu.com/security/notices/USN-4884-1 vendor-advisory
- https://ubuntu.com/security/notices/USN-4909-1 vendor-advisory
- https://ubuntu.com/security/notices/USN-4912-1 vendor-advisory
- https://www.cve.org/CVERecord?id=CVE-2021-20194 third-party-advisory