Linux Kernel Improper Privilege Management
CVE-2019-13272 is a high-severity vulnerability in Linux Kernel from Linux, with a CVSS 3.1 base score of 7.8 out of 10. It can be exploited with local access to the system by an attacker with a low-privileged account, without any action from a user. The record lists versions 3.16.71, 4.2, 4.4.185 as the first without the flaw, so updating Linux Kernel to one of those releases or later removes the exposure. CISA added it to the Known Exploited Vulnerabilities catalogue on December 10, 2021, which means attacks have been observed in the wild.
Attackers are already exploiting this vulnerability, according to CISA.
What to do
- Update Linux Kernel to 3.16.71 or 4.2 or 4.4.185 or 4.9, whichever matches your release line, or a later version.
- CISA's required action: Apply updates per vendor instructions.
- Read the advisory on packetstormsecurity.com for workarounds and exact fixed builds.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Linux | Linux Kernel | 3.16.52 up to, but not including, 3.16.71; 4.1.39 up to, but not including, 4.2; 4.4.40 up to, but not including, 4.4.185; 4.8.16 up to, but not including, 4.9; 4.9.1 up to, but not including, 4.9.185; 4.10 up to, but not including, 4.14.133; 4.15 up to, but not including, 4.19.58; 4.20 up to, but not including, 5.1.17 | 3.16.71, 4.2, 4.4.185, 4.9, 4.9.185, 4.14.133 |
| Debian | Debian Linux | 8.0; 9.0; 10.0 | Not stated |
| Fedora Project | Fedora | 29 | Not stated |
| Canonical | Ubuntu Linux | 16.04; 18.04; 19.04 | Not stated |
| Red Hat | Enterprise Linux | 7.0; 8.0 | Not stated |
| Red Hat | Enterprise Linux For Arm 64 | 7.0_aarch64 | Not stated |
| Red Hat | Enterprise Linux For IBM Z Systems | 7.0_s390x | Not stated |
| Red Hat | Enterprise Linux For Real Time | 8 | Not stated |
| Red Hat | Enterprise Linux For Real Time For Nfv | 8.0 | Not stated |
| Red Hat | Enterprise Linux For Real Time For Nfv TUS | 8.2; 8.4; 8.6; 8.8 | Not stated |
| Red Hat | Enterprise Linux For Real Time TUS | 8.2; 8.4; 8.6; 8.8 | Not stated |
| NetApp | Aff A700s Firmware | Not specified in the record | Not stated |
| NetApp | H410c Firmware | Not specified in the record | Not stated |
| NetApp | H610s Firmware | Not specified in the record | Not stated |
| NetApp | Active Iq Unified Manager | Not specified in the record | Not stated |
| NetApp | E-series Performance Analyzer | Not specified in the record | Not stated |
| NetApp | E-series Santricity OS Controller | 11.0.0 through 11.60.3 | Not stated |
| NetApp | Hci Management Node | Not specified in the record | Not stated |
| NetApp | Service Processor | Not specified in the record | Not stated |
| NetApp | Solidfire | Not specified in the record | Not stated |
| NetApp | Steelstore Cloud Integrated Storage | Not specified in the record | Not stated |
| NetApp | Hci Compute Node | Not specified in the record | Not stated |
Version data comes from NVD's product matching. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- LocalThe attacker needs local access or must trick a user into running something.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- LowA basic user account is enough.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 7.8 | High | NVD |
| CVSS 3.1 | 7.8 | High | CISA (ADP) |
| CVSS 2.0 | 7.2 | High | NVD |
Official 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.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
Timeline
- CVE record published.
- Added to CISA's Known Exploited Vulnerabilities catalogue.
- Deadline for US federal agencies to remediate, set by CISA.
- CISA published its SSVC assessment (exploitation: active, automatable: no, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Advisories
Patches and release notes
- bugs.chromium.org/p/project-zero/issues/detail?id=1903Exploit, Issue Tracking, Third Party Advisory
- bugzilla.redhat.com/show_bug.cgi?id=1730895Issue Tracking
- bugzilla.suse.com/show_bug.cgi?id=1140671Issue Tracking, Third Party Advisory
- github.com/torvalds/linux/commit/6994eefb0053799d2e07cd140df6c2ea106c41ee
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OGRK5LYWBJ4E4SRI4DKX…Release Notes
Third-party and government advisories
- packetstormsecurity.com/files/153663/Linux-PTRACE_TRACEME-Broken-Permission-Object-Lifetime-Handling.htmlThird Party Advisory, VDB Entry
- access.redhat.com/errata/RHSA-2019:2405Third Party Advisory
- access.redhat.com/errata/RHSA-2019:2411Third Party Advisory
- access.redhat.com/errata/RHSA-2019:2809Third Party Advisory
- lists.debian.org/debian-lts-announce/2019/07/msg00022.htmlMailing List, Third Party Advisory
- lists.debian.org/debian-lts-announce/2019/07/msg00023.htmlMailing List, Third Party Advisory
- seclists.org/bugtraq/2019/Jul/30Issue Tracking, Mailing List, Third Party Advisory
- seclists.org/bugtraq/2019/Jul/33Issue Tracking, Mailing List, Third Party Advisory
- security.netapp.com/advisory/ntap-20190806-0001/Third Party Advisory
- support.f5.com/csp/article/K91025336Third Party Advisory
- support.f5.com/csp/article/K91025336?utm_source=f5support&%3Butm_medium=RSSThird Party Advisory
- usn.ubuntu.com/4093-1/Third Party Advisory
- usn.ubuntu.com/4094-1/Third Party Advisory
- usn.ubuntu.com/4095-1/Third Party Advisory
- usn.ubuntu.com/4117-1/Third Party Advisory
Technical write-ups (may include proof of concept)
- packetstormsecurity.com/files/154245/Kernel-Live-Patch-Security-Notice-LSN-0054-1.htmlExploit, Third Party Advisory, VDB Entry
- packetstormsecurity.com/files/154957/Linux-Polkit-pkexec-Helper-PTRACE_TRACEME-Local-Root.htmlExploit, Third Party Advisory, VDB Entry
- packetstormsecurity.com/files/156929/Linux-PTRACE_TRACEME-Local-Root.htmlExploit, Third Party Advisory, VDB Entry
- packetstormsecurity.com/files/165051/Linux-Kernel-5.1.x-PTRACE_TRACEME-pkexec-Local-Privilege-Escalation.htmlExploit, Third Party Advisory, VDB Entry
Other vulnerabilities in Linux Kernel
- 9.8 Critical severity
- 7.0 High severity
- 7.8 High severity
- 7.1 High severity
- 7.0 High severity
- 7.8 High severity
Spotted an error? Tell us.