Linux Kernel up to 5.1.16 kernel/ptrace.c access control

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.7$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as critical, was found in Linux Kernel up to 5.1.16. The affected element is an unknown function of the file kernel/ptrace.c. The manipulation results in access control. This vulnerability is known as CVE-2019-13272. Attacking locally is a requirement. Furthermore, an exploit is available. You should upgrade the affected component.

Detailsinfo

A vulnerability was found in Linux Kernel up to 5.1.16 (Operating System). It has been classified as critical. Affected is some unknown functionality of the file kernel/ptrace.c. The manipulation with an unknown input leads to a access control vulnerability. CWE is classifying the issue as CWE-264. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:

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.

The weakness was published 07/17/2019 as Bug 1140671 as not defined bug report (Bugzilla). The advisory is available at bugzilla.suse.com. This vulnerability is traded as CVE-2019-13272 since 07/04/2019. Local access is required to approach this attack. A authentication is required for exploitation. Technical details and a public exploit are known. This vulnerability is assigned to T1068 by the MITRE ATT&CK project.

A public exploit has been developed by bcoles in C. The exploit is shared for download at github.com. It is declared as attacked. This issue was added on 12/10/2021 to the CISA Known Exploited Vulnerabilities Catalog with a due date of 06/10/2022:

Apply updates per vendor instructions.

Upgrading to version 5.1.17 eliminates this vulnerability.

The vulnerability is also documented in the vulnerability database at Exploit-DB (47163). If you want to get best quality of vulnerability data, you may have to visit VulDB.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.8
VulDB Meta Temp Score: 7.7

VulDB Base Score: 7.8
VulDB Temp Score: 7.5
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.8
NVD Vector: 🔍

CNA Base Score: 7.8
CNA Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Access control
CWE: CWE-264
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: No

Availability: 🔍
Access: Public
Status: Attacked
Author: bcoles
Programming Language: 🔍
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

KEV Added: 🔍
KEV Due: 🔍
KEV Remediation: 🔍
KEV Ransomware: 🔍
KEV Notice: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Kernel 5.1.17
Patch: git.kernel.org

Timelineinfo

07/04/2019 🔍
07/17/2019 +13 days 🔍
07/17/2019 +0 days 🔍
11/06/2025 +2304 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: Bug 1140671
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2019-13272 (🔍)
GCVE (CVE): GCVE-0-2019-13272
GCVE (VulDB): GCVE-100-138210
scip Labs: https://www.scip.ch/en/?labs.20161013

Entryinfo

Created: 07/17/2019 22:37
Updated: 11/06/2025 17:58
Changes: 07/17/2019 22:37 (58), 07/26/2019 14:37 (2), 07/26/2019 14:38 (5), 07/13/2020 09:47 (1), 11/01/2023 08:28 (7), 04/22/2024 10:42 (27), 07/24/2024 22:19 (1), 09/09/2024 22:29 (1), 02/05/2025 04:27 (12), 11/06/2025 17:58 (1)
Complete: 🔍
Committer: misc
Cache ID: 216::103

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Discussion

 misc
(+0)
7 years ago
The exploit is also now part of the Metasploit Framework.

Do you need the next level of professionalism?

Upgrade your account now!