CVE-2019-13272KEV · OVERDUE

Linux Kernel Improper Privilege Management Vulnerability

High · published July 17, 2019

Patch now

Confirmed exploited, and the score agrees

CVSS calls it high at 7.8. It is confirmed in active exploitation. It sits in the 99.0th percentile for exploit probability.

1596
days past CISA
deadline
CVSS v3.1
7.8
EPSS
52%
Percentile
99.0
In the wild
Confirmed
What it is

🚨 A sneaky flaw in the Linux kernel lets local users leverage parent-child process relationships to gain root access, all thanks to a mismanaged ptrace relationship! ⚡ Think of it like a restaurant where the chef (parent) hands off meal prep to a new sous chef (child). If the chef drops their apron (privileges) but the sous chef doesn't check the kitchen rules, they might just serve out the secret sauce (root access) to whoever asks! An attacker could exploit this vulnerability to run commands as root, potentially taking full control of the system to access sensitive data, install malware, or disrupt services. It’s like allowing someone into the control room of a power plant — the damage they can cause is absolutely devastating! 🔥

Put simply

Think of it like a restaurant where the chef (parent) hands off meal prep to a new sous chef (child). If the chef drops their apron (privileges) but the sous chef doesn't check the kitchen rules, they might just serve out the secret sauce (root access) to whoever asks! This vulnerability arises from improper handling of process credentials in the ptrace_link function, leading to elevated privileges when a parent process drops its rights and calls execve. Incorrect marking of ptrace relationships as privileged allows exploitation through tools like Polkit's pkexec helper.

What to do

An attacker could exploit this vulnerability to run commands as root, potentially taking full control of the system to access sensitive data, install malware, or disrupt services. It’s like allowing someone into the control room of a power plant — the damage they can cause is absolutely devastating! 🔥 To mitigate this risk, ensure your Linux kernel version is updated to at least 5.1.17. Consider implementing SELinux with deny_ptrace rules as a temporary workaround, and review process handling in applications that utilize ptrace. 🛡️ You've got this! Stay vigilant and keep those systems patched to secure your fortress! 💪✨

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.52199 · 99.0th percentile
Published
2019-07-17T12:32Z
KEV added
2021-12-10 · due 2022-06-10
EPSS history
Timeline
  • 10 DEC 00:00Z
    Added to CISA KEV — remediate by Jun 10
    kev
  • 17 JUL 12:32Z
    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…
    cvelistv5