CVE Vulnerabilities

CVE-2023-6917

Time-of-check Time-of-use (TOCTOU) Race Condition

Published: Feb 28, 2024 | Modified: Feb 25, 2026
CVSS 3.x
6.7
MEDIUM
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
6 MODERATE
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product checks the state of a resource before using that resource, but the resource’s state can change between the check and the use in a way that invalidates the results of the check.

Affected Software

NameVendorStart VersionEnd Version
Performance_co-pilotSgi*6.2.0 (excluding)
Red Hat Enterprise Linux 9RedHatpcp-0:6.2.0-1.el9*
PcpUbuntubionic*
PcpUbuntufocal*
PcpUbuntumantic*
PcpUbuntuoracular*
PcpUbuntuplucky*
PcpUbuntutrusty*
PcpUbuntuxenial*

Potential Mitigations

References