{"answers":{"affected":"It affects 3 products.","exploited":"There is no known exploitation of CVE-2022-3560 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2022-3560 is a medium-severity path traversal vulnerability in Fedoraproject Fedora, published on 2 Feb 2023. 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-3560 and fix it if it is affected.\n\nWhat it is: CVE-2022-3560 is a medium-severity path traversal vulnerability in Fedoraproject Fedora, published on 2 Feb 2023. 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-3560 in the wild and no public exploit code.\n\nAffected product: Fedoraproject Fedora. 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-3560/ (Markdown: https://insights.sbomify.com/CVE-2022-3560/index.md)","id":"CVE-2022-3560","markdown":"https://insights.sbomify.com/CVE-2022-3560/index.md","name":"CVE-2022-3560","record":{"aliases":["ALSA-2023:1067","ALSA-2023:1572","AZL-13293","DEBIAN-CVE-2022-3560","GHSA-w2gm-3gx9-m2p2","OESA-2023-1119","OESA-2023-1159","RHSA-2023:1065","RHSA-2023:1066","RHSA-2023:1067","RHSA-2023:1093","RHSA-2023:1107","RHSA-2023:1572","RHSA-2023:1586","RHSA-2023:1829","RLSA-2023:1067","RLSA-2023:1572","SUSE-SU-2023:0484-1","UBUNTU-CVE-2022-3560","openSUSE-SU-2024:12672-1"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation","data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux pesign utility","requires_auth":"low_privilege","summary":"An attacker can exploit a path traversal flaw in the pesign systemd service script to access privileged files and directories, leading to privilege escalation.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"fedora","vendor":"fedoraproject"},{"product":"pesign","vendor":"pesign_project"},{"product":"enterprise_linux","vendor":"redhat"}],"cvss":{"score":5.5,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"A flaw was found in pesign. The pesign package provides a systemd service used to start the pesign daemon. This service unit runs a script to set ACLs for /etc/pki/pesign and /run/pesign directories to grant access privileges to users in the 'pesign' group. However, the script doesn't check for symbolic links. This could allow an attacker to gain access to privileged files and directories via a path traversal attack.","ecosystems":["AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:7::client","Red Hat:enterprise_linux:7::computenode","Red Hat:enterprise_linux:7::server","Red Hat:enterprise_linux:7::workstation","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:9::appstream","Red Hat:rhel_aus:8.2::appstream","Red Hat:rhel_e4s:8.1::appstream","Red Hat:rhel_e4s:8.2::appstream","Red Hat:rhel_eus:8.4::appstream","Red Hat:rhel_eus:8.6::appstream","Red Hat:rhel_eus:9.0::appstream","Red Hat:rhel_tus:8.2::appstream","Rocky Linux:8","Rocky Linux:9","SUSE:Enterprise Storage 7","SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise Module for Basesystem 15 SP4","SUSE:Linux Enterprise Real Time 15 SP3","SUSE:Linux Enterprise Server 15 SP1-LTSS","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server for SAP Applications 15 SP1","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","SUSE:Manager Proxy 4.2","SUSE:Manager Server 4.2","openSUSE:Leap 15.4","openSUSE:Tumbleweed"],"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":"Path traversal in pesign","id":"CVE-2022-3560","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"fedoraproject:fedora","products":["fedoraproject:fedora","redhat:enterprise_linux"],"type":"path_traversal","year":"2022"},"n_packages":57,"n_references":1,"next":{"headline":"Cross-site Scripting (XSS) - Generic in librenms/librenms","id":"CVE-2022-3561"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["0.112-27.el8_7"],"introduced":["0"],"last_affected":[],"package":"pesign","purl":"pkg:rpm/almalinux/pesign","source":"ALSA-2023:1572"},{"ecosystem":"AlmaLinux:9","fixed":["115-6.el9_1"],"introduced":["0"],"last_affected":[],"package":"pesign","purl":"pkg:rpm/almalinux/pesign","source":"ALSA-2023:1067"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:0.109-11.el7_9"],"introduced":["0"],"last_affected":[],"package":"pesign","purl":"pkg:rpm/redhat/pesign","source":"RHSA-2023:1093"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:0.109-11.el7_9"],"introduced":["0"],"last_affected":[],"package":"pesign-debuginfo","purl":"pkg:rpm/redhat/pesign-debuginfo","source":"RHSA-2023:1093"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:0.109-11.el7_9"],"introduced":["0"],"last_affected":[],"package":"pesign","purl":"pkg:rpm/redhat/pesign","source":"RHSA-2023:1093"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:0.109-11.el7_9"],"introduced":["0"],"last_affected":[],"package":"pesign-debuginfo","purl":"pkg:rpm/redhat/pesign-debuginfo","source":"RHSA-2023:1093"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:0.109-11.el7_9"],"introduced":["0"],"last_affected":[],"package":"pesign","purl":"pkg:rpm/redhat/pesign","source":"RHSA-2023:1093"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:0.109-11.el7_9"],"introduced":["0"],"last_affected":[],"package":"pesign-debuginfo","purl":"pkg:rpm/redhat/pesign-debuginfo","source":"RHSA-2023:1093"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:0.109-11.el7_9"],"introduced":["0"],"last_affected":[],"package":"pesign","purl":"pkg:rpm/redhat/pesign","source":"RHSA-2023:1093"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:0.109-11.el7_9"],"introduced":["0"],"last_affected":[],"package":"pesign-debuginfo","purl":"pkg:rpm/redhat/pesign-debuginfo","source":"RHSA-2023:1093"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.112-27.el8_7"],"introduced":["0"],"last_affected":[],"package":"pesign","purl":"pkg:rpm/redhat/pesign","source":"RHSA-2023:1572"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.112-27.el8_7"],"introduced":["0"],"last_affected":[],"package":"pesign-debuginfo","purl":"pkg:rpm/redhat/pesign-debuginfo","source":"RHSA-2023:1572"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.112-27.el8_7"],"introduced":["0"],"last_affected":[],"package":"pesign-debugsource","purl":"pkg:rpm/redhat/pesign-debugsource","source":"RHSA-2023:1572"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:115-6.el9_1"],"introduced":["0"],"last_affected":[],"package":"pesign","purl":"pkg:rpm/redhat/pesign","source":"RHSA-2023:1067"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:115-6.el9_1"],"introduced":["0"],"last_affected":[],"package":"pesign-debuginfo","purl":"pkg:rpm/redhat/pesign-debuginfo","source":"RHSA-2023:1067"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:115-6.el9_1"],"introduced":["0"],"last_affected":[],"package":"pesign-debugsource","purl":"pkg:rpm/redhat/pesign-debugsource","source":"RHSA-2023:1067"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:0.112-25.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"pesign","purl":"pkg:rpm/redhat/pesign","source":"RHSA-2023:1107"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:0.112-25.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"pesign-debuginfo","purl":"pkg:rpm/redhat/pesign-debuginfo","source":"RHSA-2023:1107"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:0.112-25.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"pesign-debugsource","purl":"pkg:rpm/redhat/pesign-debugsource","source":"RHSA-2023:1107"},{"ecosystem":"Red Hat:rhel_e4s:8.1::appstream","fixed":["0:0.112-25.el8_1.1"],"introduced":["0"],"last_affected":[],"package":"pesign","purl":"pkg:rpm/redhat/pesign","source":"RHSA-2023:1586"},{"ecosystem":"Red Hat:rhel_e4s:8.1::appstream","fixed":["0:0.112-25.el8_1.1"],"introduced":["0"],"last_affected":[],"package":"pesign-debuginfo","purl":"pkg:rpm/redhat/pesign-debuginfo","source":"RHSA-2023:1586"},{"ecosystem":"Red Hat:rhel_e4s:8.1::appstream","fixed":["0:0.112-25.el8_1.1"],"introduced":["0"],"last_affected":[],"package":"pesign-debugsource","purl":"pkg:rpm/redhat/pesign-debugsource","source":"RHSA-2023:1586"},{"ecosystem":"Red Hat:rhel_e4s:8.2::appstream","fixed":["0:0.112-25.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"pesign","purl":"pkg:rpm/redhat/pesign","source":"RHSA-2023:1107"},{"ecosystem":"Red Hat:rhel_e4s:8.2::appstream","fixed":["0:0.112-25.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"pesign-debuginfo","purl":"pkg:rpm/redhat/pesign-debuginfo","source":"RHSA-2023:1107"},{"ecosystem":"Red Hat:rhel_e4s:8.2::appstream","fixed":["0:0.112-25.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"pesign-debugsource","purl":"pkg:rpm/redhat/pesign-debugsource","source":"RHSA-2023:1107"},{"ecosystem":"Red Hat:rhel_eus:8.4::appstream","fixed":["0:0.112-25.el8_4.1"],"introduced":["0"],"last_affected":[],"package":"pesign","purl":"pkg:rpm/redhat/pesign","source":"RHSA-2023:1066"},{"ecosystem":"Red Hat:rhel_eus:8.4::appstream","fixed":["0:0.112-25.el8_4.1"],"introduced":["0"],"last_affected":[],"package":"pesign-debuginfo","purl":"pkg:rpm/redhat/pesign-debuginfo","source":"RHSA-2023:1066"},{"ecosystem":"Red Hat:rhel_eus:8.4::appstream","fixed":["0:0.112-25.el8_4.1"],"introduced":["0"],"last_affected":[],"package":"pesign-debugsource","purl":"pkg:rpm/redhat/pesign-debugsource","source":"RHSA-2023:1066"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:0.112-27.el8_6"],"introduced":["0"],"last_affected":[],"package":"pesign","purl":"pkg:rpm/redhat/pesign","source":"RHSA-2023:1829"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:0.112-27.el8_6"],"introduced":["0"],"last_affected":[],"package":"pesign-debuginfo","purl":"pkg:rpm/redhat/pesign-debuginfo","source":"RHSA-2023:1829"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:0.112-27.el8_6"],"introduced":["0"],"last_affected":[],"package":"pesign-debugsource","purl":"pkg:rpm/redhat/pesign-debugsource","source":"RHSA-2023:1829"},{"ecosystem":"Red Hat:rhel_eus:9.0::appstream","fixed":["0:115-6.el9_0"],"introduced":["0"],"last_affected":[],"package":"pesign","purl":"pkg:rpm/redhat/pesign","source":"RHSA-2023:1065"},{"ecosystem":"Red Hat:rhel_eus:9.0::appstream","fixed":["0:115-6.el9_0"],"introduced":["0"],"last_affected":[],"package":"pesign-debuginfo","purl":"pkg:rpm/redhat/pesign-debuginfo","source":"RHSA-2023:1065"},{"ecosystem":"Red Hat:rhel_eus:9.0::appstream","fixed":["0:115-6.el9_0"],"introduced":["0"],"last_affected":[],"package":"pesign-debugsource","purl":"pkg:rpm/redhat/pesign-debugsource","source":"RHSA-2023:1065"},{"ecosystem":"Red Hat:rhel_tus:8.2::appstream","fixed":["0:0.112-25.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"pesign","purl":"pkg:rpm/redhat/pesign","source":"RHSA-2023:1107"},{"ecosystem":"Red Hat:rhel_tus:8.2::appstream","fixed":["0:0.112-25.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"pesign-debuginfo","purl":"pkg:rpm/redhat/pesign-debuginfo","source":"RHSA-2023:1107"},{"ecosystem":"Red Hat:rhel_tus:8.2::appstream","fixed":["0:0.112-25.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"pesign-debugsource","purl":"pkg:rpm/redhat/pesign-debugsource","source":"RHSA-2023:1107"},{"ecosystem":"Rocky Linux:8","fixed":["0:0.112-27.el8_7"],"introduced":["0"],"last_affected":[],"package":"pesign","purl":"pkg:rpm/rocky-linux/pesign?distro=rocky-linux-8\u0026epoch=0","source":"RLSA-2023:1572"},{"ecosystem":"Rocky Linux:9","fixed":["0:115-6.el9_1.rocky.2"],"introduced":["0"],"last_affected":[],"package":"pesign","purl":"pkg:rpm/rocky-linux/pesign?distro=rocky-linux-9\u0026epoch=0","source":"RLSA-2023:1067"},{"ecosystem":"SUSE:Enterprise Storage 7","fixed":["0.112-150000.4.15.1"],"introduced":["0"],"last_affected":[],"package":"pesign","purl":"pkg:rpm/suse/pesign\u0026distro=SUSE%20Enterprise%20Storage%207","source":"SUSE-SU-2023:0484-1"}],"prev":{"headline":"Exim Regex use after free","id":"CVE-2022-3559"},"products":["pesign"],"published":"2023-02-02","related":[{"cvss_score":9.8,"headline":"PHP-CGI OS Command Injection","id":"CVE-2024-4577","kev_date_added":"2024-06-12","published":"2024-06-09"},{"cvss_score":9.8,"headline":"Grafana Authentication Bypass","id":"CVE-2021-39226","kev_date_added":"2022-08-25","published":"2021-10-05"},{"cvss_score":9.8,"headline":"VMware ESXi and Horizon DaaS OpenSLP Heap-Based Buffer Overflow","id":"CVE-2019-5544","kev_date_added":"2021-11-03","published":"2019-12-06"},{"cvss_score":9.6,"headline":"Google Chromium V8 Type Confusion","id":"CVE-2024-4947","kev_date_added":"2024-05-20","published":"2024-05-15"},{"cvss_score":9.6,"headline":"Google Chromium Visuals Use-After-Free","id":"CVE-2024-4671","kev_date_added":"2024-05-13","published":"2024-05-09"},{"cvss_score":9.6,"headline":"Google Chromium Mojo Insufficient Data Validation","id":"CVE-2022-3075","kev_date_added":"2022-09-08","published":"2022-09-26"},{"cvss_score":9.6,"headline":"Google Chromium Indexed DB API Use-After-Free","id":"CVE-2021-30633","kev_date_added":"2021-11-03","published":"2021-10-08"}],"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":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"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":"partial"},"state":"PUBLISHED","updated":"2025-03-26","vendors":["n/a"]},"summary":"An attacker can exploit a path traversal flaw in the pesign systemd service script to access privileged files and directories, leading to privilege escalation.","url":"https://insights.sbomify.com/CVE-2022-3560/"}