CVE-2019-13272Linux Kernel Improper Privilege Management Vulnerability
CVSS score
7.8
High
CVSS 3.1 from NVD
Exploit probability (EPSS)
52.2%
52.2% chance of exploitation in the next 30 days, higher than 99.0% of all CVEs.
CISA KEV
Actively exploited
Added to KEV on 10 Dec 2021.
US federal deadline to fix: 10 Jun 2022.
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: NVD · CNA: cve@mitre.org
How to fix it, step by step
Treat it as urgent
Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 10 Dec 2021.
US federal agencies must fix it by 10 Jun 2022. It's a sensible deadline for everyone else too.
CISA's full instruction
Apply updates per vendor instructions.
Check whether you're affected
Find every system running Linux Kernel, Debian Linux, fedoraproject Fedora, Canonical Ubuntu Linux, Red Hat Enterprise Linux For Arm 64 and compare its version with the affected versions.
Update to a fixed version
- Update Linux Kernel to 3.16.71, 4.2, 4.4.185, 4.9 or later, on the branch you run.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Check for signs of compromise
Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| Linux Linux Kernel | ≥ 3.16.52, < 3.16.71 · ≥ 4.1.39, < 4.2 · ≥ 4.4.40, < 4.4.185 · ≥ 4.8.16, < 4.9 · ≥ 4.9.1, < 4.9.185 · ≥ 4.10, < 4.14.133 |
| Debian Debian Linux | 8.0 · 9.0 · 10.0 |
| fedoraproject Fedora | 29 |
| Canonical Ubuntu Linux | 16.04 · 18.04 · 19.04 |
| Red Hat Enterprise Linux | 7.0 · 8.0 |
| Red Hat Enterprise Linux For Arm 64 | 7.0_aarch64 |
| Red Hat Enterprise Linux For Ibm Z Systems | 7.0_s390x |
| Red Hat Enterprise Linux For Real Time | 8 |
| Red Hat Enterprise Linux For Real Time For Nfv | 8.0 |
| Red Hat Enterprise Linux For Real Time For Nfv Tus | 8.2 · 8.4 · 8.6 · 8.8 |
| Red Hat Enterprise Linux For Real Time Tus | 8.2 · 8.4 · 8.6 · 8.8 |
| netapp Aff A700s Firmware | Not specified |
| netapp H410c Firmware | Not specified |
| netapp H610s Firmware | Not specified |
| netapp Active Iq Unified Manager | Not specified |
| netapp E-series Performance Analyzer | Not specified |
| netapp E-series Santricity Os Controller | ≥ 11.0.0, ≤ 11.60.3 |
| netapp Hci Management Node | Not specified |
| netapp Service Processor | Not specified |
| netapp Solidfire | Not specified |
| netapp Steelstore Cloud Integrated Storage | Not specified |
| netapp Hci Compute Node | Not specified |
Timeline
- Published:
- Added to CISA KEV:
- Last modified:
Frequently asked questions
Is CVE-2019-13272 being exploited?
Yes. CISA added CVE-2019-13272 to its Known Exploited Vulnerabilities catalog on 10 Dec 2021, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 52.2% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2019-13272?
CVE-2019-13272 has a CVSS 3.1 base score of 7.8 (high).
Which versions are affected?
Linux Linux Kernel (≥ 3.16.52, < 3.16.71; ≥ 4.1.39, < 4.2; ≥ 4.4.40, < 4.4.185; ≥ 4.8.16, < 4.9; ≥ 4.9.1, < 4.9.185; ≥ 4.10, < 4.14.133), Debian Debian Linux (8.0; 9.0; 10.0), Fedoraproject Fedora (29), Canonical Ubuntu Linux (16.04; 18.04; 19.04), Red Hat Enterprise Linux (7.0; 8.0), Red Hat Enterprise Linux For Arm 64 (7.0_aarch64)
Is there a patch for CVE-2019-13272?
The official record links to vendor advisories or patches; see “What to do” above.
References
- bugs.chromium.org/p/project-zero/issues/detail?id=1903(Exploit, Issue Tracking, Patch)
- bugzilla.redhat.com/show_bug.cgi?id=1730895(Issue Tracking, Patch)
- bugzilla.suse.com/show_bug.cgi?id=1140671(Issue Tracking, Patch, Third Party Advisory)
- cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.1.17(Patch, Vendor Advisory)
- git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=6994eefb0053799d2e07cd140df6c2ea106c41ee(Patch, Vendor Advisory)
- github.com/torvalds/linux/commit/6994eefb0053799d2e07cd140df6c2ea106c41ee(Patch)
- packetstormsecurity.com/files/154245/Kernel-Live-Patch-Security-Notice-LSN-0054-1.html(Exploit, Third Party Advisory, VDB Entry)
- packetstormsecurity.com/files/154957/Linux-Polkit-pkexec-Helper-PTRACE_TRACEME-Local-Root.html(Exploit, Third Party Advisory, VDB Entry)
- packetstormsecurity.com/files/156929/Linux-PTRACE_TRACEME-Local-Root.html(Exploit, Third Party Advisory, VDB Entry)
- packetstormsecurity.com/files/165051/Linux-Kernel-5.1.x-PTRACE_TRACEME-pkexec-Local-Privilege-Escalation.html(Exploit, Third Party Advisory, VDB Entry)
- packetstormsecurity.com/files/153663/Linux-PTRACE_TRACEME-Broken-Permission-Object-Lifetime-Handling.html(Third Party Advisory, VDB Entry)
- packetstormsecurity.com/files/153702/Slackware-Security-Advisory-Slackware-14.2-kernel-Updates.html(Third Party Advisory, VDB Entry)
- access.redhat.com/errata/RHSA-2019:2405(Third Party Advisory)
- access.redhat.com/errata/RHSA-2019:2411(Third Party Advisory)
- access.redhat.com/errata/RHSA-2019:2809(Third Party Advisory)
- lists.debian.org/debian-lts-announce/2019/07/msg00022.html(Mailing List, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2019/07/msg00023.html(Mailing List, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OGRK5LYWBJ4E4SRI4DKX367NHYSI3VOH/(Release Notes)
- seclists.org/bugtraq/2019/Jul/30(Issue Tracking, Mailing List, Third Party Advisory)
- seclists.org/bugtraq/2019/Jul/33(Issue Tracking, Mailing List, Third Party Advisory)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.