Home › Security › CVE archive › July 2019 › CVE-2019-13272
CVE-2019-13272
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.
CVSS v3
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
52.199%
chance of exploitation in the next 30 days
higher than 99% of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2021-12-10
Public exploit code
Yes
Exploit references (NVD and CNA): 5
Metasploit modules: 1
Nuclei templates: 0
Exploit-DB: 4
CISA Known Exploited Vulnerabilities entry
CISA SSVC decision points
Timeline
2019-07-17 Published by the CNA 12:32 UTC
2019-07-17 First Exploit-DB entry (EDB-ID 47133 ) same day
2021-12-10 Added to the CISA KEV catalog 877 days after publication
2025-02-04 CISA SSVC decision recorded 2029 days after publication
The timeline shows what already happened. To be told when this CVE changes next, watch it from the API .
Exploit and advisory records
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
22 vulnerable vendor/product pairs in total; the first 20 are shown. The cve_products API lists them page by page, with versions.
Products and versions as NVD and the vendor that published the CVE list them.
References
https://bugs.chromium.org/p/project-zero/issues/detail?id=1903 Exploit, Issue Tracking, Patch, Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1730895 Issue Tracking, Patch
https://bugzilla.suse.com/show_bug.cgi?id=1140671 Issue Tracking, Patch, Third Party Advisory
https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.1.17 Patch, Vendor Advisory
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=6994eefb0053799d2e07cd140df6c2ea106c41ee Patch, Vendor Advisory
https://github.com/torvalds/linux/commit/6994eefb0053799d2e07cd140df6c2ea106c41ee Patch
https://access.redhat.com/errata/RHSA-2019:2405 Third Party Advisory, Vendor Advisory
https://access.redhat.com/errata/RHSA-2019:2411 Third Party Advisory, Vendor Advisory
https://access.redhat.com/errata/RHSA-2019:2809 Third Party Advisory, Vendor Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OGRK5LYWBJ4E4SRI4DKX367NHYSI3VOH/ Release Notes, Vendor Advisory
https://usn.ubuntu.com/4093-1/ Third Party Advisory, Vendor Advisory
https://usn.ubuntu.com/4094-1/ Third Party Advisory, Vendor Advisory
https://usn.ubuntu.com/4095-1/ Third Party Advisory, Vendor Advisory
https://usn.ubuntu.com/4117-1/ Third Party Advisory, Vendor Advisory
https://usn.ubuntu.com/4118-1/ Third Party Advisory, Vendor Advisory
https://www.debian.org/security/2019/dsa-4484 Third Party Advisory, Vendor Advisory
http://packetstormsecurity.com/files/154245/Kernel-Live-Patch-Security-Notice-LSN-0054-1.html Exploit, Third Party Advisory, VDB Entry
http://packetstormsecurity.com/files/154957/Linux-Polkit-pkexec-Helper-PTRACE_TRACEME-Local-Root.html Exploit, Third Party Advisory, VDB Entry
http://packetstormsecurity.com/files/156929/Linux-PTRACE_TRACEME-Local-Root.html Exploit, Third Party Advisory, VDB Entry
http://packetstormsecurity.com/files/165051/Linux-Kernel-5.1.x-PTRACE_TRACEME-pkexec-Local-Privilege-Escalation.html Exploit, Third Party Advisory, VDB Entry
30 references in total; the first 20 are shown.
Get more CVE data from the API.
# Scores, KEV status and references
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2019-13272'# Risk score from 0 to 100
curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2019-13272'# Exploit signals
curl 'https://api.contrastcyber.com/cve_exploit/CVE-2019-13272'# Affected products
curl 'https://api.contrastcyber.com/cve_products/CVE-2019-13272'# CISA KEV due date and required action
curl 'https://api.contrastcyber.com/kev_lookup/CVE-2019-13272'
Free without a key or signup. Pro adds monitoring and higher limits: pricing .
Sources