Execution with Unnecessary Privileges Affecting kernel-rt-trace-devel package, versions <0:3.10.0-1127.rt56.1093.el7


Severity

Recommended
medium

Based on CentOS security rating

    Threat Intelligence

    EPSS
    0.04% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-CENTOS7-KERNELRTTRACEDEVEL-2157337
  • published 26 Jul 2021
  • disclosed 3 Apr 2019

How to fix?

Upgrade Centos:7 kernel-rt-trace-devel to version 0:3.10.0-1127.rt56.1093.el7 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel-rt-trace-devel package and not the kernel-rt-trace-devel package as distributed by Centos. See How to fix? for Centos:7 relevant fixed versions and status.

The Linux kernel before 4.8 allows local users to bypass ASLR on setuid programs (such as /bin/su) because install_exec_creds() is called too late in load_elf_binary() in fs/binfmt_elf.c, and thus the ptrace_may_access() check has a race condition when reading /proc/pid/stat.