{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2022-1049 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2022-1049 is a high-severity authentication bypass vulnerability in Debian Debian Linux, published on 25 Mar 2022. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-1049 and fix it if it is affected.\n\nWhat it is: CVE-2022-1049 is a high-severity authentication bypass vulnerability in Debian Debian Linux, published on 25 Mar 2022. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-1049 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-1049/ (Markdown: https://insights.sbomify.com/CVE-2022-1049/index.md)","id":"CVE-2022-1049","markdown":"https://insights.sbomify.com/CVE-2022-1049/index.md","name":"CVE-2022-1049","record":{"aliases":["ALSA-2022:7447","ALSA-2022:7935","DEBIAN-CVE-2022-1049","DLA-3108-1","GHSA-hhh9-rwf2-2pp5","OESA-2022-1886","RHSA-2022:7447","RHSA-2022:7935","RLSA-2022:7447","RLSA-2022:7935","UBUNTU-CVE-2022-1049"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Pacemaker configuration tool","requires_auth":"low_privilege","summary":"The pcs daemon allows login for expired accounts or passwords via PAM, bypassing access restrictions for unprivileged users.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"pcs","vendor":"clusterlabs"},{"product":"debian_linux","vendor":"debian"}],"cvss":{"score":8.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"description":"A flaw was found in the Pacemaker configuration tool (pcs). The pcs daemon was allowing expired accounts, and accounts with expired passwords to login when using PAM authentication. Therefore, unprivileged expired accounts that have been denied access could still login.","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","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":"Auth bypass in clusterlabs/pcs","id":"CVE-2022-1049","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"debian:debian_linux","products":["debian:debian_linux"],"type":"auth_bypass","year":"2022"},"n_packages":14,"n_references":3,"next":{"headline":"Use after free in QEMU","id":"CVE-2022-1050"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["0.10.14-5.el8.alma"],"introduced":["0"],"last_affected":[],"package":"pcs","purl":"pkg:rpm/almalinux/pcs","source":"ALSA-2022:7447"},{"ecosystem":"AlmaLinux:8","fixed":["0.10.14-5.el8.alma"],"introduced":["0"],"last_affected":[],"package":"pcs-snmp","purl":"pkg:rpm/almalinux/pcs-snmp","source":"ALSA-2022:7447"},{"ecosystem":"AlmaLinux:9","fixed":["0.11.3-4.el9"],"introduced":["0"],"last_affected":[],"package":"pcs","purl":"pkg:rpm/almalinux/pcs","source":"ALSA-2022:7935"},{"ecosystem":"AlmaLinux:9","fixed":["0.11.3-4.el9"],"introduced":["0"],"last_affected":[],"package":"pcs-snmp","purl":"pkg:rpm/almalinux/pcs-snmp","source":"ALSA-2022:7935"},{"ecosystem":"Red Hat:enterprise_linux:8::highavailability","fixed":["0:0.10.14-5.el8"],"introduced":["0"],"last_affected":[],"package":"pcs","purl":"pkg:rpm/redhat/pcs","source":"RHSA-2022:7447"},{"ecosystem":"Red Hat:enterprise_linux:8::highavailability","fixed":["0:0.10.14-5.el8"],"introduced":["0"],"last_affected":[],"package":"pcs-snmp","purl":"pkg:rpm/redhat/pcs-snmp","source":"RHSA-2022:7447"},{"ecosystem":"Red Hat:enterprise_linux:8::resilientstorage","fixed":["0:0.10.14-5.el8"],"introduced":["0"],"last_affected":[],"package":"pcs","purl":"pkg:rpm/redhat/pcs","source":"RHSA-2022:7447"},{"ecosystem":"Red Hat:enterprise_linux:8::resilientstorage","fixed":["0:0.10.14-5.el8"],"introduced":["0"],"last_affected":[],"package":"pcs-snmp","purl":"pkg:rpm/redhat/pcs-snmp","source":"RHSA-2022:7447"},{"ecosystem":"Red Hat:enterprise_linux:9::highavailability","fixed":["0:0.11.3-4.el9"],"introduced":["0"],"last_affected":[],"package":"pcs","purl":"pkg:rpm/redhat/pcs","source":"RHSA-2022:7935"},{"ecosystem":"Red Hat:enterprise_linux:9::highavailability","fixed":["0:0.11.3-4.el9"],"introduced":["0"],"last_affected":[],"package":"pcs-snmp","purl":"pkg:rpm/redhat/pcs-snmp","source":"RHSA-2022:7935"},{"ecosystem":"Red Hat:enterprise_linux:9::resilientstorage","fixed":["0:0.11.3-4.el9"],"introduced":["0"],"last_affected":[],"package":"pcs","purl":"pkg:rpm/redhat/pcs","source":"RHSA-2022:7935"},{"ecosystem":"Red Hat:enterprise_linux:9::resilientstorage","fixed":["0:0.11.3-4.el9"],"introduced":["0"],"last_affected":[],"package":"pcs-snmp","purl":"pkg:rpm/redhat/pcs-snmp","source":"RHSA-2022:7935"},{"ecosystem":"Rocky Linux:8","fixed":["0:0.10.14-5.el8"],"introduced":["0"],"last_affected":[],"package":"pcs","purl":"pkg:rpm/rocky-linux/pcs?distro=rocky-linux-8\u0026epoch=0","source":"RLSA-2022:7447"},{"ecosystem":"Rocky Linux:9","fixed":["0:0.11.3-4.el9_1.1"],"introduced":["0"],"last_affected":[],"package":"pcs","purl":"pkg:rpm/rocky-linux/pcs?distro=rocky-linux-9\u0026epoch=0","source":"RLSA-2022:7935"}],"prev":{"headline":"Use after free in kernel","id":"CVE-2022-1048"},"products":["clusterlabs/pcs"],"published":"2022-03-25","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":"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":7.8,"headline":"Privilege escalation in ClusterLabs/pcs","id":"CVE-2022-2735","kev_date_added":null,"published":"2022-09-06"},{"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-02","vendors":["n/a"]},"summary":"The pcs daemon allows login for expired accounts or passwords via PAM, bypassing access restrictions for unprivileged users.","url":"https://insights.sbomify.com/CVE-2022-1049/"}