cve.bz

CVE-2023-6917 Pcp: unsafe use of directories allows pcp to root privilege escalation

6.7 mediumEPSS 0.2%Fix available

Medium (6.7). EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.7 medium
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 10th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2024-02-28. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
Published
Modified
Assigned by
redhat (CNA)
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-6917 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-6917?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-6917?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-6917 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 90:6.2.0-1.el9

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12pcpno fix listedDEBIAN-CVE-2023-6917
Debian13, 14pcp6.2.0-1DEBIAN-CVE-2023-6917
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 5 morepcpno fix listedUBUNTU-CVE-2023-6917
Red Hatenterprise_linux:9::appstreampcp, pcp-doc, pcp-gui and 145 more0:6.2.0-1.el9RHSA-2024:2213
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSS and 1 morepcp6.2.0-150400.5.12.3SUSE-SU-2025:0801-1
SUSELinux Enterprise Module for Development Tools 15 SP5pcp6.2.0-150500.8.6.1SUSE-SU-2024:3785-1
SUSELinux Enterprise Module for Development Tools 15 SP6pcp6.2.0-150600.3.6.1SUSE-SU-2024:3533-1
SUSELinux Enterprise Software Development Kit 12 SP5pcp6.2.0-6.29.2SUSE-SU-2024:3976-1
SUSELinux Micro 6.0pcp6.2.0-1.1SUSE-SU-2025:20133-1
SUSELinux Micro 6.1pcp6.2.0-slfo.1.1_3.1SUSE-SU-2025:20235-1
openSUSELeap 15.5pcp6.2.0-150500.8.6.1SUSE-SU-2024:3785-1
openSUSELeap 15.6pcp6.2.0-150600.3.6.1SUSE-SU-2024:3533-1
AlmaLinux9pcp, pcp-doc, pcp-gui and 101 more6.2.0-1.el9ALSA-2024:2213

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The severity of the discovered security issues within the Performance Co-Pilot (PCP) software on Red Hat Enterprise Linux is classified as moderate rather than important due to several mitigating factors. Firstly, exploitation of these vulnerabilities requires an already compromised pcp system account, thus limiting the potential attack surface. Additionally, the vulnerabilities stem from the unsafe mixture of root and pcp user privileges on specific directories, rather than inherent flaws within the PCP software itself. While the vulnerabilities allow local users to escalate privileges to root level, they do not directly expose the system to remote exploitation or compromise. Furthermore, the exploits rely on specific conditions such as the existence of symbolic links and the ability to manipulate directory structures, which may not always be present or feasible in every system configuration.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9pcp-0:6.2.0-1.el9Fixed 2024-04-30RHSA-2024:2213
Red Hat Enterprise Linux 6pcpOut of support scope
Red Hat Enterprise Linux 7pcpOut of support scope
Red Hat Enterprise Linux 8pcpWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-6917.

Attack patterns (CAPEC)

  • CAPEC-27 Leveraging Race Conditions via Symbolic Links Likelihood: Medium · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON