CVE-2023-6917CWE-367

Pcp: unsafe use of directories allows pcp to root privilege escalation

Medium · published February 28, 2024

CVSS v3.1
6.0
EPSS
0%
Percentile
9.4
In the wild
Unconfirmed
What it is

A vulnerability has been identified in the Performance Co-Pilot (PCP) package, stemming from the mixed privilege levels utilized by systemd services associated with PCP. While certain services operate within the confines of limited PCP user/group privileges, others are granted full root privileges. This disparity in privilege levels poses a risk when privileged root processes interact with directories or directory trees owned by unprivileged PCP users. Specifically, this vulnerability may lead to the compromise of PCP user isolation and facilitate local PCP-to-root exploits, particularly through symlink attacks. These vulnerabilities underscore the importance of maintaining robust privilege separation mechanisms within PCP to mitigate the potential for unauthorized privilege escalation.

The record
Technical detail
CVSS v3.1
6.0 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00200 · 9.4th percentile
Weakness
CWE-367 · Time-of-check Time-of-use (TOCTOU) Race Condition
Published
2024-02-28T14:38Z
EPSS history
Timeline
  • 28 FEB 14:38Z
    Pcp: unsafe use of directories allows pcp to root privilege escalation
    cvelistv5