Improper Input Validation Affecting kernel-modules package, versions <0:4.18.0-348.el8


Severity

Recommended
medium

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
0.04% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ORACLE8-KERNELMODULES-2594892
  • published10 Apr 2022
  • disclosed23 Feb 2021

Introduced: 23 Feb 2021

CVE-2021-20194  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Oracle:8 kernel-modules to version 0:4.18.0-348.el8 or higher.
This issue was patched in ELSA-2021-4356.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel-modules package and not the kernel-modules package as distributed by Oracle. See How to fix? for Oracle:8 relevant fixed versions and status.

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.

CVSS Scores

version 3.1