CVE-2019-13272

HighActively exploited (CISA KEV)

Description

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.

SeverityHigh
CVSS7.8
Exploit probability—
ProductLinux Kernel
PublishedJul 17, 2019
First seenJul 17, 2019
Added to KEVDec 10, 2021

How to fix

Affected products

ProductAffected versionsFixed in
linux linux_kernel3.16.52 ≤ v < 3.16.71, 4.1.39 ≤ v < 4.2, 4.4.40 ≤ v < 4.4.185, 4.8.16 ≤ v < 4.9, 4.9.1 ≤ v < 4.9.185, 4.10 ≤ v < 4.14.133, 4.15 ≤ v < 4.19.58, 4.20 ≤ v < 5.1.173.16.71, 4.2, 4.4.185, 4.9, 4.9.185, 4.14.133, 4.19.58, 5.1.17
debian debian_linux8.0, 9.0, 10.0—
fedoraproject fedora29—
canonical ubuntu_linux16.04, 18.04, 19.04—
redhat enterprise_linux7.0, 8.0—
redhat enterprise_linux_for_arm_647.0_aarch64—
redhat enterprise_linux_for_ibm_z_systems7.0_s390x—
redhat enterprise_linux_for_real_time8—
redhat enterprise_linux_for_real_time_for_nfv8.0—
redhat enterprise_linux_for_real_time_for_nfv_tus8.2, 8.4, 8.6, 8.8—
redhat enterprise_linux_for_real_time_tus8.2, 8.4, 8.6, 8.8—
netapp aff_a700s_firmwareNo range specified—
netapp h410c_firmwareNo range specified—
netapp h610s_firmwareNo range specified—
netapp active_iq_unified_managerNo range specified—
netapp e-series_performance_analyzerNo range specified—
netapp e-series_santricity_os_controller11.0.0 ≤ v ≤ 11.60.3—
netapp hci_management_nodeNo range specified—
netapp service_processorNo range specified—
netapp solidfireNo range specified—
netapp steelstore_cloud_integrated_storageNo range specified—
netapp hci_compute_nodeNo range specified—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.