CVE-2019-13272
Last modified
CVE-2019-13272 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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). CISA has confirmed active exploitation in the wild. EPSS estimates a 52.20% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Exploitation Status
This vulnerability is listed in CISA’s Known Exploited Vulnerabilities catalog, confirming active exploitation in the wild. Federal agencies must remediate by .
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 3.16.52, < 3.16.71 |
| Linux | Linux Kernel | >= 4.1.39, < 4.2 |
| Linux | Linux Kernel | >= 4.4.40, < 4.4.185 |
| Linux | Linux Kernel | >= 4.8.16, < 4.9 |
| Linux | Linux Kernel | >= 4.9.1, < 4.9.185 |
| Linux | Linux Kernel | >= 4.10, < 4.14.133 |
| Linux | Linux Kernel | >= 4.15, < 4.19.58 |
| Linux | Linux Kernel | >= 4.20, < 5.1.17 |
| Debian | Debian Linux | 8.0 |
| Debian | Debian Linux | 9.0 |
| Debian | Debian Linux | 10.0 |
| Fedoraproject | Fedora | 29 |
| Canonical | Ubuntu Linux | 16.04 |
| Canonical | Ubuntu Linux | 18.04 |
| Canonical | Ubuntu Linux | 19.04 |
| Redhat | Enterprise Linux | 7.0 |
| Redhat | Enterprise Linux | 8.0 |
| Redhat | Enterprise Linux For Arm 64 | 7.0_aarch64 |
| Redhat | Enterprise Linux For Ibm Z Systems | 7.0_s390x |
| Redhat | Enterprise Linux For Real Time | 8 |
| Redhat | Enterprise Linux For Real Time For Nfv | 8.0 |
| Redhat | Enterprise Linux For Real Time For Nfv Tus | 8.2 |
| Redhat | Enterprise Linux For Real Time For Nfv Tus | 8.4 |
| Redhat | Enterprise Linux For Real Time For Nfv Tus | 8.6 |
| Redhat | Enterprise Linux For Real Time For Nfv Tus | 8.8 |
| Redhat | Enterprise Linux For Real Time Tus | 8.2 |
| Redhat | Enterprise Linux For Real Time Tus | 8.4 |
| Redhat | Enterprise Linux For Real Time Tus | 8.6 |
| Redhat | Enterprise Linux For Real Time Tus | 8.8 |
| Netapp | Aff A700s Firmware | All versions |
| Netapp | H410c Firmware | All versions |
| Netapp | H610s Firmware | All versions |
| Netapp | Active Iq Unified Manager | All versions |
| Netapp | E-Series Performance Analyzer | All versions |
| Netapp | E-Series Santricity Os Controller | >= 11.0.0, <= 11.60.3 |
| Netapp | Hci Management Node | All versions |
| Netapp | Service Processor | All versions |
| Netapp | Solidfire | All versions |
| Netapp | Steelstore Cloud Integrated Storage | All versions |
| Netapp | Hci Compute Node | All versions |
References
- http://packetstormsecurity.com/files/153663/Linux-PTRACE_TRACEME-Broken-Permission-Object-Lifetime-Handling.htmlThird Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/153702/Slackware-Security-Advisory-Slackware-14.2-kernel-Updates.htmlThird Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/154245/Kernel-Live-Patch-Security-Notice-LSN-0054-1.htmlExploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/154957/Linux-Polkit-pkexec-Helper-PTRACE_TRACEME-Local-Root.htmlExploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/156929/Linux-PTRACE_TRACEME-Local-Root.htmlExploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/165051/Linux-Kernel-5.1.x-PTRACE_TRACEME-pkexec-Local-Privilege-Escalation.htmlExploit, Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2019:2405Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:2411Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:2809Third Party Advisory
- https://bugs.chromium.org/p/project-zero/issues/detail?id=1903Exploit, Issue Tracking, Patch, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1730895Issue Tracking, Patch
- https://bugzilla.suse.com/show_bug.cgi?id=1140671Issue Tracking, Patch, Third Party Advisory
- https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.1.17Patch, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2019/07/msg00022.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/07/msg00023.htmlMailing List, Third Party Advisory
- https://seclists.org/bugtraq/2019/Jul/30Issue Tracking, Mailing List, Third Party Advisory
- https://seclists.org/bugtraq/2019/Jul/33Issue Tracking, Mailing List, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20190806-0001/Third Party Advisory
- https://support.f5.com/csp/article/K91025336Third Party Advisory
- https://usn.ubuntu.com/4093-1/Third Party Advisory
- https://usn.ubuntu.com/4094-1/Third Party Advisory
- https://usn.ubuntu.com/4095-1/Third Party Advisory
- https://usn.ubuntu.com/4117-1/Third Party Advisory
- https://usn.ubuntu.com/4118-1/Third Party Advisory
- https://www.debian.org/security/2019/dsa-4484Third Party Advisory
- http://packetstormsecurity.com/files/153663/Linux-PTRACE_TRACEME-Broken-Permission-Object-Lifetime-Handling.htmlThird Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/153702/Slackware-Security-Advisory-Slackware-14.2-kernel-Updates.htmlThird Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/154245/Kernel-Live-Patch-Security-Notice-LSN-0054-1.htmlExploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/154957/Linux-Polkit-pkexec-Helper-PTRACE_TRACEME-Local-Root.htmlExploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/156929/Linux-PTRACE_TRACEME-Local-Root.htmlExploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/165051/Linux-Kernel-5.1.x-PTRACE_TRACEME-pkexec-Local-Privilege-Escalation.htmlExploit, Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2019:2405Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:2411Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:2809Third Party Advisory
- https://bugs.chromium.org/p/project-zero/issues/detail?id=1903Exploit, Issue Tracking, Patch, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1730895Issue Tracking, Patch
- https://bugzilla.suse.com/show_bug.cgi?id=1140671Issue Tracking, Patch, Third Party Advisory
- https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.1.17Patch, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2019/07/msg00022.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/07/msg00023.htmlMailing List, Third Party Advisory
- https://seclists.org/bugtraq/2019/Jul/30Issue Tracking, Mailing List, Third Party Advisory
- https://seclists.org/bugtraq/2019/Jul/33Issue Tracking, Mailing List, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20190806-0001/Third Party Advisory
- https://support.f5.com/csp/article/K91025336Third Party Advisory
- https://usn.ubuntu.com/4093-1/Third Party Advisory
- https://usn.ubuntu.com/4094-1/Third Party Advisory
- https://usn.ubuntu.com/4095-1/Third Party Advisory
- https://usn.ubuntu.com/4117-1/Third Party Advisory
- https://usn.ubuntu.com/4118-1/Third Party Advisory
- https://www.debian.org/security/2019/dsa-4484Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-13272US Government Resource
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2019-13272?
How severe is CVE-2019-13272?
How do I fix CVE-2019-13272?
Are you affected by CVE-2019-13272?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
