{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2022-2735 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2022-2735 is a high-severity vulnerability in Debian Debian Linux, published on 6 Sep 2022. 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-2022-2735 and fix it if it is affected.\n\nWhat it is: CVE-2022-2735 is a high-severity vulnerability in Debian Debian Linux, published on 6 Sep 2022. 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-2022-2735 in the wild and no public exploit code.\n\nAffected product: Debian Debian 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-2022-2735/ (Markdown: https://insights.sbomify.com/CVE-2022-2735/index.md)","id":"CVE-2022-2735","markdown":"https://insights.sbomify.com/CVE-2022-2735/index.md","name":"CVE-2022-2735","record":{"aliases":["ALSA-2022:6313","ALSA-2022:6314","DEBIAN-CVE-2022-2735","GHSA-7xr9-rmm4-cq6v","OESA-2022-1961","RHSA-2022:6312","RHSA-2022:6313","RHSA-2022:6314","RHSA-2022:6341","RLSA-2022:6313","RLSA-2022:6314","UBUNTU-CVE-2022-2735"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Cluster management software","requires_auth":"low_privilege","summary":"Incorrect Unix socket permissions in PCS allow local attackers to escalate privileges to hacluster, gaining full control over the managed cluster.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"pcs","vendor":"clusterlabs"},{"product":"debian_linux","vendor":"debian"}],"cvss":{"score":7.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-276","name":"Incorrect Default Permissions"}],"description":"A vulnerability was found in the PCS project. This issue occurs due to incorrect permissions on a Unix socket used for internal communication between PCS daemons. A privilege escalation could happen by obtaining an authentication token for a hacluster user. With the \"hacluster\" token, this flaw allows an attacker to have complete control over the cluster managed by PCS.","ecosystems":["AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:8::highavailability","Red Hat:enterprise_linux:8::resilientstorage","Red Hat:enterprise_linux:9::highavailability","Red Hat:enterprise_linux:9::resilientstorage","Red Hat:rhel_eus:8.2::highavailability","Red Hat:rhel_eus:8.2::resilientstorage","Red Hat:rhel_eus:8.4::highavailability","Red Hat:rhel_eus:8.4::resilientstorage","Rocky Linux:8","Rocky Linux:9"],"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":"Privilege escalation in ClusterLabs/pcs","id":"CVE-2022-2735","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"debian:debian_linux","products":["debian:debian_linux"],"type":"privilege_escalation","year":"2022"},"n_packages":22,"n_references":4,"next":{"headline":"SourceCodester Company Website CMS Background Upload Logo Icon updatelogo.php unrestricted upload","id":"CVE-2022-2736"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["0.10.12-6.el8_6.2.alma"],"introduced":["0"],"last_affected":[],"package":"pcs","purl":"pkg:rpm/almalinux/pcs","source":"ALSA-2022:6314"},{"ecosystem":"AlmaLinux:8","fixed":["0.10.12-6.el8_6.2.alma"],"introduced":["0"],"last_affected":[],"package":"pcs-snmp","purl":"pkg:rpm/almalinux/pcs-snmp","source":"ALSA-2022:6314"},{"ecosystem":"AlmaLinux:9","fixed":["0.11.1-10.el9_0.2"],"introduced":["0"],"last_affected":[],"package":"pcs","purl":"pkg:rpm/almalinux/pcs","source":"ALSA-2022:6313"},{"ecosystem":"AlmaLinux:9","fixed":["0.11.1-10.el9_0.2"],"introduced":["0"],"last_affected":[],"package":"pcs-snmp","purl":"pkg:rpm/almalinux/pcs-snmp","source":"ALSA-2022:6313"},{"ecosystem":"Red Hat:enterprise_linux:8::highavailability","fixed":["0:0.10.12-6.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"pcs","purl":"pkg:rpm/redhat/pcs","source":"RHSA-2022:6314"},{"ecosystem":"Red Hat:enterprise_linux:8::highavailability","fixed":["0:0.10.12-6.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"pcs-snmp","purl":"pkg:rpm/redhat/pcs-snmp","source":"RHSA-2022:6314"},{"ecosystem":"Red Hat:enterprise_linux:8::resilientstorage","fixed":["0:0.10.12-6.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"pcs","purl":"pkg:rpm/redhat/pcs","source":"RHSA-2022:6314"},{"ecosystem":"Red Hat:enterprise_linux:8::resilientstorage","fixed":["0:0.10.12-6.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"pcs-snmp","purl":"pkg:rpm/redhat/pcs-snmp","source":"RHSA-2022:6314"},{"ecosystem":"Red Hat:enterprise_linux:9::highavailability","fixed":["0:0.11.1-10.el9_0.2"],"introduced":["0"],"last_affected":[],"package":"pcs","purl":"pkg:rpm/redhat/pcs","source":"RHSA-2022:6313"},{"ecosystem":"Red Hat:enterprise_linux:9::highavailability","fixed":["0:0.11.1-10.el9_0.2"],"introduced":["0"],"last_affected":[],"package":"pcs-snmp","purl":"pkg:rpm/redhat/pcs-snmp","source":"RHSA-2022:6313"},{"ecosystem":"Red Hat:enterprise_linux:9::resilientstorage","fixed":["0:0.11.1-10.el9_0.2"],"introduced":["0"],"last_affected":[],"package":"pcs","purl":"pkg:rpm/redhat/pcs","source":"RHSA-2022:6313"},{"ecosystem":"Red Hat:enterprise_linux:9::resilientstorage","fixed":["0:0.11.1-10.el9_0.2"],"introduced":["0"],"last_affected":[],"package":"pcs-snmp","purl":"pkg:rpm/redhat/pcs-snmp","source":"RHSA-2022:6313"},{"ecosystem":"Red Hat:rhel_eus:8.2::highavailability","fixed":["0:0.10.4-6.el8_2.3"],"introduced":["0"],"last_affected":[],"package":"pcs","purl":"pkg:rpm/redhat/pcs","source":"RHSA-2022:6341"},{"ecosystem":"Red Hat:rhel_eus:8.2::highavailability","fixed":["0:0.10.4-6.el8_2.3"],"introduced":["0"],"last_affected":[],"package":"pcs-snmp","purl":"pkg:rpm/redhat/pcs-snmp","source":"RHSA-2022:6341"},{"ecosystem":"Red Hat:rhel_eus:8.2::resilientstorage","fixed":["0:0.10.4-6.el8_2.3"],"introduced":["0"],"last_affected":[],"package":"pcs","purl":"pkg:rpm/redhat/pcs","source":"RHSA-2022:6341"},{"ecosystem":"Red Hat:rhel_eus:8.2::resilientstorage","fixed":["0:0.10.4-6.el8_2.3"],"introduced":["0"],"last_affected":[],"package":"pcs-snmp","purl":"pkg:rpm/redhat/pcs-snmp","source":"RHSA-2022:6341"},{"ecosystem":"Red Hat:rhel_eus:8.4::highavailability","fixed":["0:0.10.8-1.el8_4.2"],"introduced":["0"],"last_affected":[],"package":"pcs","purl":"pkg:rpm/redhat/pcs","source":"RHSA-2022:6312"},{"ecosystem":"Red Hat:rhel_eus:8.4::highavailability","fixed":["0:0.10.8-1.el8_4.2"],"introduced":["0"],"last_affected":[],"package":"pcs-snmp","purl":"pkg:rpm/redhat/pcs-snmp","source":"RHSA-2022:6312"},{"ecosystem":"Red Hat:rhel_eus:8.4::resilientstorage","fixed":["0:0.10.8-1.el8_4.2"],"introduced":["0"],"last_affected":[],"package":"pcs","purl":"pkg:rpm/redhat/pcs","source":"RHSA-2022:6312"},{"ecosystem":"Red Hat:rhel_eus:8.4::resilientstorage","fixed":["0:0.10.8-1.el8_4.2"],"introduced":["0"],"last_affected":[],"package":"pcs-snmp","purl":"pkg:rpm/redhat/pcs-snmp","source":"RHSA-2022:6312"},{"ecosystem":"Rocky Linux:8","fixed":["0:0.10.12-6.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"pcs","purl":"pkg:rpm/rocky-linux/pcs?distro=rocky-linux-8-6-legacy\u0026epoch=0","source":"RLSA-2022:6314"},{"ecosystem":"Rocky Linux:9","fixed":["0:0.11.1-10.el9_0.2"],"introduced":["0"],"last_affected":[],"package":"pcs","purl":"pkg:rpm/rocky-linux/pcs?distro=rocky-linux-9-0-legacy\u0026epoch=0","source":"RLSA-2022:6313"}],"prev":{"headline":"Improper Restriction of Rendered UI Layers or Frames in openemr/openemr","id":"CVE-2022-2734"},"products":["ClusterLabs/pcs"],"published":"2022-09-06","related":[{"cvss_score":9.8,"headline":"It was discovered that an update for PCS package in RHBA-2023:2151 erratum released as part of Red Hat Enterprise Linux 9.2 failed to includ","id":"CVE-2023-2319","kev_date_added":null,"published":"2023-05-17"},{"cvss_score":8.8,"headline":"Auth bypass in clusterlabs/pcs","id":"CVE-2022-1049","kev_date_added":null,"published":"2022-03-25"},{"cvss_score":8.8,"headline":"Cross-site request forgery in n/a","id":"CVE-2016-0720","kev_date_added":null,"published":"2017-04-21"},{"cvss_score":8.1,"headline":"Other in n/a","id":"CVE-2016-0721","kev_date_added":null,"published":"2017-04-21"},{"cvss_score":6.1,"headline":"Cross-site scripting in pcs","id":"CVE-2017-2661","kev_date_added":null,"published":"2018-03-12"}],"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":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"Incorrect Unix socket permissions in PCS allow local attackers to escalate privileges to hacluster, gaining full control over the managed cluster.","url":"https://insights.sbomify.com/CVE-2022-2735/"}