Privilege Dropping / Lowering Errors Affecting kernel-debuginfo package, versions <0:4.14.133-113.105.amzn2


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux 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-AMZN2-KERNELDEBUGINFO-3042522
  • published12 Oct 2022
  • disclosed17 Jul 2019

Introduced: 17 Jul 2019

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

How to fix?

Upgrade Amazon-Linux:2 kernel-debuginfo to version 0:4.14.133-113.105.amzn2 or higher.
This issue was patched in ALAS2-2019-1232.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel-debuginfo package and not the kernel-debuginfo package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 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