Privilege Dropping / Lowering Errors Affecting kernel-tools-libs package, versions <0:4.18.0-80.7.2.el8_0


Severity

Recommended
0.0
high
0
10

Based on CentOS security rating.

Threat Intelligence

Exploit Maturity
Mature
EPSS
0.27% (69th 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-CENTOS8-KERNELTOOLSLIBS-1986125
  • published26 Jul 2021
  • disclosed16 Jul 2019

Introduced: 16 Jul 2019

CVE-2019-13272  (opens in a new tab)
CWE-271  (opens in a new tab)

How to fix?

Upgrade Centos:8 kernel-tools-libs to version 0:4.18.0-80.7.2.el8_0 or higher.

NVD Description

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

In the Linux kernel before 5.1.17, ptrace_link in kernel/ptrace.c mishandles the recording of the credentials of a process that wants to create a ptrace relationship, which allows local users to obtain root access by leveraging certain scenarios with a parent-child process relationship, where a parent drops privileges and calls execve (potentially allowing control by an attacker). One contributing factor is an object lifetime issue (which can also cause a panic). Another contributing factor is incorrect marking of a ptrace relationship as privileged, which is exploitable through (for example) Polkit's pkexec helper with PTRACE_TRACEME. NOTE: SELinux deny_ptrace might be a usable workaround in some environments.

References

CVSS Scores

version 3.1