Improper Locking Affecting kernel-abi-whitelists package, versions <0:3.10.0-1127.el7


Severity

Recommended
0.0
medium
0
10

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
0.04% (12th 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 IDSNYK-ORACLE7-KERNELABIWHITELISTS-2549431
  • published10 Apr 2022
  • disclosed22 Apr 2019

Introduced: 22 Apr 2019

CVE-2019-3901  (opens in a new tab)
CWE-667  (opens in a new tab)

How to fix?

Upgrade Oracle:7 kernel-abi-whitelists to version 0:3.10.0-1127.el7 or higher.
This issue was patched in ELSA-2020-1016.

NVD Description

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

A race condition in perf_event_open() allows local attackers to leak sensitive data from setuid programs. As no relevant locks (in particular the cred_guard_mutex) are held during the ptrace_may_access() call, it is possible for the specified target task to perform an execve() syscall with setuid execution before perf_event_alloc() actually attaches to it, allowing an attacker to bypass the ptrace_may_access() check and the perf_event_exit_task(current) call that is performed in install_exec_creds() during privileged execve() calls. This issue affects kernel versions before 4.8.

CVSS Scores

version 3.1