CVE
CVE-2019-13272
CNA 原文 · 原文(英文)
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.
受影响版本
- ≥ 4.20, < 5.1.17修复版本 5.1.17
- ≥ 4.15, < 4.19.58修复版本 4.19.58
- ≥ 4.10, < 4.14.133修复版本 4.14.133
- ≥ 4.9.1, < 4.9.185修复版本 4.9.185
- ≥ 4.8.16, < 4.9修复版本 4.9
- ≥ 4.4.40, < 4.4.185修复版本 4.4.185
- ≥ 4.1.39, < 4.2修复版本 4.2
- ≥ 3.16.52, < 3.16.71修复版本 3.16.71
发行版软件包(Debian、Ubuntu、Red Hat 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。
公告与补丁
- 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
- 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/ · Patch, Vendor Advisory
- lists.debian.org/debian-lts-announce/2019/07/msg00022.html · Third Party Advisory
- lists.debian.org/debian-lts-announce/2019/07/msg00023.html · Third 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
- usn.ubuntu.com/4118-1/ · Third Party Advisory
数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。