{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2023-6917 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2023-6917 is a medium-severity vulnerability in Redhat Enterprise Linux, published on 28 Feb 2024. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-6917 and fix it if it is affected.\n\nWhat it is: CVE-2023-6917 is a medium-severity vulnerability in Redhat Enterprise Linux, published on 28 Feb 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-6917 in the wild and no public exploit code.\n\nAffected product: Redhat Enterprise Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-6917/ (Markdown: https://insights.sbomify.com/CVE-2023-6917/index.md)","id":"CVE-2023-6917","markdown":"https://insights.sbomify.com/CVE-2023-6917/index.md","name":"CVE-2023-6917","record":{"aliases":["ALSA-2024:2213","DEBIAN-CVE-2023-6917","GHSA-pgw3-qmf6-36m3","OESA-2024-2018","RHSA-2024:2213","SUSE-SU-2025:0801-1","UBUNTU-CVE-2023-6917"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Performance Co-Pilot","requires_auth":"high_privilege","summary":"Local attackers can escalate privileges to root via symlink attacks due to unsafe directory handling in Performance Co-Pilot services.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"enterprise_linux","vendor":"redhat"},{"product":"performance_co-pilot","vendor":"sgi"}],"cvss":{"score":6,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition"}],"description":"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.","ecosystems":["AlmaLinux:9","Red Hat:enterprise_linux:9::appstream","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server for SAP Applications 15 SP4"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Pcp: unsafe use of directories allows pcp to root privilege escalation","id":"CVE-2023-6917","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"redhat:enterprise_linux","products":["redhat:enterprise_linux"],"type":"privilege_escalation","year":"2023"},"n_packages":256,"n_references":3,"next":{"headline":"Libssh: missing checks for return values for digests","id":"CVE-2023-6918"},"packages":[{"ecosystem":"AlmaLinux:9","fixed":["6.2.0-1.el9"],"introduced":["0"],"last_affected":[],"package":"pcp","purl":"pkg:rpm/almalinux/pcp","source":"ALSA-2024:2213"},{"ecosystem":"AlmaLinux:9","fixed":["6.2.0-1.el9"],"introduced":["0"],"last_affected":[],"package":"pcp-conf","purl":"pkg:rpm/almalinux/pcp-conf","source":"ALSA-2024:2213"},{"ecosystem":"AlmaLinux:9","fixed":["6.2.0-1.el9"],"introduced":["0"],"last_affected":[],"package":"pcp-devel","purl":"pkg:rpm/almalinux/pcp-devel","source":"ALSA-2024:2213"},{"ecosystem":"AlmaLinux:9","fixed":["6.2.0-1.el9"],"introduced":["0"],"last_affected":[],"package":"pcp-doc","purl":"pkg:rpm/almalinux/pcp-doc","source":"ALSA-2024:2213"},{"ecosystem":"AlmaLinux:9","fixed":["6.2.0-1.el9"],"introduced":["0"],"last_affected":[],"package":"pcp-export-pcp2elasticsearch","purl":"pkg:rpm/almalinux/pcp-export-pcp2elasticsearch","source":"ALSA-2024:2213"},{"ecosystem":"AlmaLinux:9","fixed":["6.2.0-1.el9"],"introduced":["0"],"last_affected":[],"package":"pcp-export-pcp2graphite","purl":"pkg:rpm/almalinux/pcp-export-pcp2graphite","source":"ALSA-2024:2213"},{"ecosystem":"AlmaLinux:9","fixed":["6.2.0-1.el9"],"introduced":["0"],"last_affected":[],"package":"pcp-export-pcp2influxdb","purl":"pkg:rpm/almalinux/pcp-export-pcp2influxdb","source":"ALSA-2024:2213"},{"ecosystem":"AlmaLinux:9","fixed":["6.2.0-1.el9"],"introduced":["0"],"last_affected":[],"package":"pcp-export-pcp2json","purl":"pkg:rpm/almalinux/pcp-export-pcp2json","source":"ALSA-2024:2213"},{"ecosystem":"AlmaLinux:9","fixed":["6.2.0-1.el9"],"introduced":["0"],"last_affected":[],"package":"pcp-export-pcp2spark","purl":"pkg:rpm/almalinux/pcp-export-pcp2spark","source":"ALSA-2024:2213"},{"ecosystem":"AlmaLinux:9","fixed":["6.2.0-1.el9"],"introduced":["0"],"last_affected":[],"package":"pcp-export-pcp2xml","purl":"pkg:rpm/almalinux/pcp-export-pcp2xml","source":"ALSA-2024:2213"},{"ecosystem":"AlmaLinux:9","fixed":["6.2.0-1.el9"],"introduced":["0"],"last_affected":[],"package":"pcp-export-pcp2zabbix","purl":"pkg:rpm/almalinux/pcp-export-pcp2zabbix","source":"ALSA-2024:2213"},{"ecosystem":"AlmaLinux:9","fixed":["6.2.0-1.el9"],"introduced":["0"],"last_affected":[],"package":"pcp-export-zabbix-agent","purl":"pkg:rpm/almalinux/pcp-export-zabbix-agent","source":"ALSA-2024:2213"},{"ecosystem":"AlmaLinux:9","fixed":["6.2.0-1.el9"],"introduced":["0"],"last_affected":[],"package":"pcp-geolocate","purl":"pkg:rpm/almalinux/pcp-geolocate","source":"ALSA-2024:2213"},{"ecosystem":"AlmaLinux:9","fixed":["6.2.0-1.el9"],"introduced":["0"],"last_affected":[],"package":"pcp-gui","purl":"pkg:rpm/almalinux/pcp-gui","source":"ALSA-2024:2213"},{"ecosystem":"AlmaLinux:9","fixed":["6.2.0-1.el9"],"introduced":["0"],"last_affected":[],"package":"pcp-import-collectl2pcp","purl":"pkg:rpm/almalinux/pcp-import-collectl2pcp","source":"ALSA-2024:2213"},{"ecosystem":"AlmaLinux:9","fixed":["6.2.0-1.el9"],"introduced":["0"],"last_affected":[],"package":"pcp-import-ganglia2pcp","purl":"pkg:rpm/almalinux/pcp-import-ganglia2pcp","source":"ALSA-2024:2213"},{"ecosystem":"AlmaLinux:9","fixed":["6.2.0-1.el9"],"introduced":["0"],"last_affected":[],"package":"pcp-import-iostat2pcp","purl":"pkg:rpm/almalinux/pcp-import-iostat2pcp","source":"ALSA-2024:2213"},{"ecosystem":"AlmaLinux:9","fixed":["6.2.0-1.el9"],"introduced":["0"],"last_affected":[],"package":"pcp-import-mrtg2pcp","purl":"pkg:rpm/almalinux/pcp-import-mrtg2pcp","source":"ALSA-2024:2213"},{"ecosystem":"AlmaLinux:9","fixed":["6.2.0-1.el9"],"introduced":["0"],"last_affected":[],"package":"pcp-import-sar2pcp","purl":"pkg:rpm/almalinux/pcp-import-sar2pcp","source":"ALSA-2024:2213"},{"ecosystem":"AlmaLinux:9","fixed":["6.2.0-1.el9"],"introduced":["0"],"last_affected":[],"package":"pcp-libs","purl":"pkg:rpm/almalinux/pcp-libs","source":"ALSA-2024:2213"},{"ecosystem":"AlmaLinux:9","fixed":["6.2.0-1.el9"],"introduced":["0"],"last_affected":[],"package":"pcp-libs-devel","purl":"pkg:rpm/almalinux/pcp-libs-devel","source":"ALSA-2024:2213"},{"ecosystem":"AlmaLinux:9","fixed":["6.2.0-1.el9"],"introduced":["0"],"last_affected":[],"package":"pcp-pmda-activemq","purl":"pkg:rpm/almalinux/pcp-pmda-activemq","source":"ALSA-2024:2213"},{"ecosystem":"AlmaLinux:9","fixed":["6.2.0-1.el9"],"introduced":["0"],"last_affected":[],"package":"pcp-pmda-apache","purl":"pkg:rpm/almalinux/pcp-pmda-apache","source":"ALSA-2024:2213"},{"ecosystem":"AlmaLinux:9","fixed":["6.2.0-1.el9"],"introduced":["0"],"last_affected":[],"package":"pcp-pmda-bash","purl":"pkg:rpm/almalinux/pcp-pmda-bash","source":"ALSA-2024:2213"},{"ecosystem":"AlmaLinux:9","fixed":["6.2.0-1.el9"],"introduced":["0"],"last_affected":[],"package":"pcp-pmda-bcc","purl":"pkg:rpm/almalinux/pcp-pmda-bcc","source":"ALSA-2024:2213"},{"ecosystem":"AlmaLinux:9","fixed":["6.2.0-1.el9"],"introduced":["0"],"last_affected":[],"package":"pcp-pmda-bind2","purl":"pkg:rpm/almalinux/pcp-pmda-bind2","source":"ALSA-2024:2213"},{"ecosystem":"AlmaLinux:9","fixed":["6.2.0-1.el9"],"introduced":["0"],"last_affected":[],"package":"pcp-pmda-bonding","purl":"pkg:rpm/almalinux/pcp-pmda-bonding","source":"ALSA-2024:2213"},{"ecosystem":"AlmaLinux:9","fixed":["6.2.0-1.el9"],"introduced":["0"],"last_affected":[],"package":"pcp-pmda-bpf","purl":"pkg:rpm/almalinux/pcp-pmda-bpf","source":"ALSA-2024:2213"},{"ecosystem":"AlmaLinux:9","fixed":["6.2.0-1.el9"],"introduced":["0"],"last_affected":[],"package":"pcp-pmda-bpftrace","purl":"pkg:rpm/almalinux/pcp-pmda-bpftrace","source":"ALSA-2024:2213"},{"ecosystem":"AlmaLinux:9","fixed":["6.2.0-1.el9"],"introduced":["0"],"last_affected":[],"package":"pcp-pmda-cifs","purl":"pkg:rpm/almalinux/pcp-pmda-cifs","source":"ALSA-2024:2213"},{"ecosystem":"AlmaLinux:9","fixed":["6.2.0-1.el9"],"introduced":["0"],"last_affected":[],"package":"pcp-pmda-cisco","purl":"pkg:rpm/almalinux/pcp-pmda-cisco","source":"ALSA-2024:2213"},{"ecosystem":"AlmaLinux:9","fixed":["6.2.0-1.el9"],"introduced":["0"],"last_affected":[],"package":"pcp-pmda-dbping","purl":"pkg:rpm/almalinux/pcp-pmda-dbping","source":"ALSA-2024:2213"},{"ecosystem":"AlmaLinux:9","fixed":["6.2.0-1.el9"],"introduced":["0"],"last_affected":[],"package":"pcp-pmda-denki","purl":"pkg:rpm/almalinux/pcp-pmda-denki","source":"ALSA-2024:2213"},{"ecosystem":"AlmaLinux:9","fixed":["6.2.0-1.el9"],"introduced":["0"],"last_affected":[],"package":"pcp-pmda-dm","purl":"pkg:rpm/almalinux/pcp-pmda-dm","source":"ALSA-2024:2213"},{"ecosystem":"AlmaLinux:9","fixed":["6.2.0-1.el9"],"introduced":["0"],"last_affected":[],"package":"pcp-pmda-docker","purl":"pkg:rpm/almalinux/pcp-pmda-docker","source":"ALSA-2024:2213"},{"ecosystem":"AlmaLinux:9","fixed":["6.2.0-1.el9"],"introduced":["0"],"last_affected":[],"package":"pcp-pmda-ds389","purl":"pkg:rpm/almalinux/pcp-pmda-ds389","source":"ALSA-2024:2213"},{"ecosystem":"AlmaLinux:9","fixed":["6.2.0-1.el9"],"introduced":["0"],"last_affected":[],"package":"pcp-pmda-ds389log","purl":"pkg:rpm/almalinux/pcp-pmda-ds389log","source":"ALSA-2024:2213"},{"ecosystem":"AlmaLinux:9","fixed":["6.2.0-1.el9"],"introduced":["0"],"last_affected":[],"package":"pcp-pmda-elasticsearch","purl":"pkg:rpm/almalinux/pcp-pmda-elasticsearch","source":"ALSA-2024:2213"},{"ecosystem":"AlmaLinux:9","fixed":["6.2.0-1.el9"],"introduced":["0"],"last_affected":[],"package":"pcp-pmda-farm","purl":"pkg:rpm/almalinux/pcp-pmda-farm","source":"ALSA-2024:2213"},{"ecosystem":"AlmaLinux:9","fixed":["6.2.0-1.el9"],"introduced":["0"],"last_affected":[],"package":"pcp-pmda-gfs2","purl":"pkg:rpm/almalinux/pcp-pmda-gfs2","source":"ALSA-2024:2213"}],"prev":{"headline":"Information disclosure via audit records for OpenAPI requests in Guardian/CMC before 23.4.1","id":"CVE-2023-6916"},"products":["Red Hat Enterprise Linux 6","Red Hat Enterprise Linux 7","Red Hat Enterprise Linux 8","Red Hat Enterprise Linux 9"],"published":"2024-02-28","related":[{"cvss_score":9.8,"headline":"Red Hat JBoss RichFaces Framework Expression Language Injection","id":"CVE-2018-14667","kev_date_added":"2023-09-28","published":"2018-11-06"},{"cvss_score":9.8,"headline":"Missing fixes for CVE-2021-40438 and CVE-2021-26691 in the versions of httpd, as shipped in Red Hat Enterprise Linux 8.5.0, causes a securit","id":"CVE-2021-20325","kev_date_added":null,"published":"2022-02-18"},{"cvss_score":9.8,"headline":"Memory corruption in libwebp","id":"CVE-2018-25011","kev_date_added":null,"published":"2021-05-21"},{"cvss_score":9.8,"headline":"Other in libwebp","id":"CVE-2018-25014","kev_date_added":null,"published":"2021-05-21"},{"cvss_score":9.8,"headline":"Supply chain in redhat-upgrade-tool","id":"CVE-2014-3585","kev_date_added":null,"published":"2019-11-22"},{"cvss_score":9.3,"headline":"Squid: request/response smuggling in http/1.1 and icap","id":"CVE-2023-46846","kev_date_added":null,"published":"2023-11-03"},{"cvss_score":9.1,"headline":"Memory corruption in libwebp","id":"CVE-2018-25009","kev_date_added":null,"published":"2021-05-21"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-02-25","vendors":["Red Hat"]},"summary":"Local attackers can escalate privileges to root via symlink attacks due to unsafe directory handling in Performance Co-Pilot services.","url":"https://insights.sbomify.com/CVE-2023-6917/"}