{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2022-29154 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2022-29154 is a high-severity path traversal vulnerability in Fedoraproject Fedora, published on 2 Aug 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-29154 and fix it if it is affected.\n\nWhat it is: CVE-2022-29154 is a high-severity path traversal vulnerability in Fedoraproject Fedora, published on 2 Aug 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-29154 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-29154/ (Markdown: https://insights.sbomify.com/CVE-2022-29154/index.md)","id":"CVE-2022-29154","markdown":"https://insights.sbomify.com/CVE-2022-29154/index.md","name":"CVE-2022-29154","record":{"aliases":["ALPINE-CVE-2022-29154","ALSA-2022:6180","AZL-10461","CLSA-2022-1660756974","CLSA-2022-1660759048","CLSA-2022-1660759162","CLSA-2022-1660761395","CLSA-2022-1660761947","CLSA-2022-1662656989","CLSA-2022-1662657502","CLSA-2022-1662658022","CLSA-2022-1662658118","CLSA-2022-1662658181","CLSA-2022-1662658348","DEBIAN-CVE-2022-29154","GHSA-5jgp-wh79-75wg","MGASA-2022-0302","OESA-2022-1875","RHSA-2022:6170","RHSA-2022:6171","RHSA-2022:6172","RHSA-2022:6173","RHSA-2022:6180","RHSA-2022:6181","RLSA-2022:6180","RLSA-2022:6181","SUSE-SU-2022:2825-1","SUSE-SU-2022:2858-1","SUSE-SU-2022:2859-1","SUSE-SU-2022:2959-1","SUSE-SU-2022:2959-2","UBUNTU-CVE-2022-29154","USN-5921-1","openSUSE-SU-2024:12232-1"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_modify","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"rsync file synchronization","requires_auth":"none","summary":"A malicious rsync server can overwrite arbitrary files on the client, potentially leading to privilege escalation via SSH key injection.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"fedora","vendor":"fedoraproject"},{"product":"rsync","vendor":"samba"}],"cvss":{"score":7.4,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"An issue was discovered in rsync before 3.2.5 that allows malicious remote servers to write arbitrary files inside the directories of connecting peers. The server chooses which files/directories are sent to the client. However, the rsync client performs insufficient validation of file names. A malicious rsync server (or Man-in-The-Middle attacker) can overwrite arbitrary files in the rsync client target directory and subdirectories (for example, overwrite the .ssh/authorized_keys file).","ecosystems":["AlmaLinux:8","Red Hat:enterprise_linux:7::client","Red Hat:enterprise_linux:7::server","Red Hat:enterprise_linux:7::workstation","Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::baseos","Red Hat:rhel_e4s:8.1::baseos","Red Hat:rhel_eus:8.2::baseos","Red Hat:rhel_eus:8.4::baseos","Rocky Linux:8","Rocky Linux:9","SUSE:Enterprise Storage 6","SUSE:Enterprise Storage 7","SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise High Performance Computing 15-ESPOS","SUSE:Linux Enterprise High Performance Computing 15-LTSS","SUSE:Linux Enterprise Micro 5.1","SUSE:Linux Enterprise Micro 5.2","SUSE:Linux Enterprise Module for Basesystem 15 SP3","SUSE:Linux Enterprise Module for Basesystem 15 SP4","SUSE:Linux Enterprise Server 12 SP2-BCL","SUSE:Linux Enterprise Server 12 SP3-BCL","SUSE:Linux Enterprise Server 12 SP4-LTSS","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server 15 SP1-BCL","SUSE:Linux Enterprise Server 15 SP1-LTSS","SUSE:Linux Enterprise Server 15 SP2-BCL","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server 15-LTSS","SUSE:Linux Enterprise Server for SAP Applications 12 SP4","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15","SUSE:Linux Enterprise Server for SAP Applications 15 SP1","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Manager Proxy 4.1","SUSE:Manager Retail Branch Server 4.1","SUSE:Manager Server 4.1","SUSE:OpenStack Cloud 9","SUSE:OpenStack Cloud Crowbar 9","openSUSE:Leap 15.3","openSUSE:Leap 15.4","openSUSE:Leap Micro 5.2","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":"2022-09-14","github_poc":1,"max_poc_stars":9,"metasploit":0,"nuclei":0,"refs":[{"date":"2022-09-14T13:59:21Z","kind":"github_poc","ref":"https://github.com/EgeBalci/CVE-2022-29154","stars":9,"title":"HIP2022 presentation materials."}],"tier":"poc_unverified"},"has_fix":true,"headline":"Path traversal in n/a","id":"CVE-2022-29154","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"fedoraproject:fedora","products":["fedoraproject:fedora"],"type":"path_traversal","year":"2022"},"n_packages":65,"n_references":4,"next":{"headline":"SQL injection in n/a","id":"CVE-2022-29155"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["3.1.3-14.el8_6.3"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/almalinux/rsync","source":"ALSA-2022:6180"},{"ecosystem":"AlmaLinux:8","fixed":["3.1.3-14.el8_6.3"],"introduced":["0"],"last_affected":[],"package":"rsync-daemon","purl":"pkg:rpm/almalinux/rsync-daemon","source":"ALSA-2022:6180"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:3.1.2-11.el7_9"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/redhat/rsync","source":"RHSA-2022:6170"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:3.1.2-11.el7_9"],"introduced":["0"],"last_affected":[],"package":"rsync-debuginfo","purl":"pkg:rpm/redhat/rsync-debuginfo","source":"RHSA-2022:6170"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:3.1.2-11.el7_9"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/redhat/rsync","source":"RHSA-2022:6170"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:3.1.2-11.el7_9"],"introduced":["0"],"last_affected":[],"package":"rsync-debuginfo","purl":"pkg:rpm/redhat/rsync-debuginfo","source":"RHSA-2022:6170"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:3.1.2-11.el7_9"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/redhat/rsync","source":"RHSA-2022:6170"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:3.1.2-11.el7_9"],"introduced":["0"],"last_affected":[],"package":"rsync-debuginfo","purl":"pkg:rpm/redhat/rsync-debuginfo","source":"RHSA-2022:6170"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.1.3-14.el8_6.3"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/redhat/rsync","source":"RHSA-2022:6180"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.1.3-14.el8_6.3"],"introduced":["0"],"last_affected":[],"package":"rsync-daemon","purl":"pkg:rpm/redhat/rsync-daemon","source":"RHSA-2022:6180"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.1.3-14.el8_6.3"],"introduced":["0"],"last_affected":[],"package":"rsync-debuginfo","purl":"pkg:rpm/redhat/rsync-debuginfo","source":"RHSA-2022:6180"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.1.3-14.el8_6.3"],"introduced":["0"],"last_affected":[],"package":"rsync-debugsource","purl":"pkg:rpm/redhat/rsync-debugsource","source":"RHSA-2022:6180"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.2.3-9.el9_0.2"],"introduced":["0"],"last_affected":[],"package":"rsync-daemon","purl":"pkg:rpm/redhat/rsync-daemon","source":"RHSA-2022:6181"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:3.2.3-9.el9_0.2"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/redhat/rsync","source":"RHSA-2022:6181"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:3.2.3-9.el9_0.2"],"introduced":["0"],"last_affected":[],"package":"rsync-debuginfo","purl":"pkg:rpm/redhat/rsync-debuginfo","source":"RHSA-2022:6181"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:3.2.3-9.el9_0.2"],"introduced":["0"],"last_affected":[],"package":"rsync-debugsource","purl":"pkg:rpm/redhat/rsync-debugsource","source":"RHSA-2022:6181"},{"ecosystem":"Red Hat:rhel_e4s:8.1::baseos","fixed":["0:3.1.3-6.el8_1.2"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/redhat/rsync","source":"RHSA-2022:6173"},{"ecosystem":"Red Hat:rhel_e4s:8.1::baseos","fixed":["0:3.1.3-6.el8_1.2"],"introduced":["0"],"last_affected":[],"package":"rsync-daemon","purl":"pkg:rpm/redhat/rsync-daemon","source":"RHSA-2022:6173"},{"ecosystem":"Red Hat:rhel_e4s:8.1::baseos","fixed":["0:3.1.3-6.el8_1.2"],"introduced":["0"],"last_affected":[],"package":"rsync-debuginfo","purl":"pkg:rpm/redhat/rsync-debuginfo","source":"RHSA-2022:6173"},{"ecosystem":"Red Hat:rhel_e4s:8.1::baseos","fixed":["0:3.1.3-6.el8_1.2"],"introduced":["0"],"last_affected":[],"package":"rsync-debugsource","purl":"pkg:rpm/redhat/rsync-debugsource","source":"RHSA-2022:6173"},{"ecosystem":"Red Hat:rhel_eus:8.2::baseos","fixed":["0:3.1.3-7.el8_2.2"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/redhat/rsync","source":"RHSA-2022:6172"},{"ecosystem":"Red Hat:rhel_eus:8.2::baseos","fixed":["0:3.1.3-7.el8_2.2"],"introduced":["0"],"last_affected":[],"package":"rsync-daemon","purl":"pkg:rpm/redhat/rsync-daemon","source":"RHSA-2022:6172"},{"ecosystem":"Red Hat:rhel_eus:8.2::baseos","fixed":["0:3.1.3-7.el8_2.2"],"introduced":["0"],"last_affected":[],"package":"rsync-debuginfo","purl":"pkg:rpm/redhat/rsync-debuginfo","source":"RHSA-2022:6172"},{"ecosystem":"Red Hat:rhel_eus:8.2::baseos","fixed":["0:3.1.3-7.el8_2.2"],"introduced":["0"],"last_affected":[],"package":"rsync-debugsource","purl":"pkg:rpm/redhat/rsync-debugsource","source":"RHSA-2022:6172"},{"ecosystem":"Red Hat:rhel_eus:8.4::baseos","fixed":["0:3.1.3-12.el8_4.2"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/redhat/rsync","source":"RHSA-2022:6171"},{"ecosystem":"Red Hat:rhel_eus:8.4::baseos","fixed":["0:3.1.3-12.el8_4.2"],"introduced":["0"],"last_affected":[],"package":"rsync-daemon","purl":"pkg:rpm/redhat/rsync-daemon","source":"RHSA-2022:6171"},{"ecosystem":"Red Hat:rhel_eus:8.4::baseos","fixed":["0:3.1.3-12.el8_4.2"],"introduced":["0"],"last_affected":[],"package":"rsync-debuginfo","purl":"pkg:rpm/redhat/rsync-debuginfo","source":"RHSA-2022:6171"},{"ecosystem":"Red Hat:rhel_eus:8.4::baseos","fixed":["0:3.1.3-12.el8_4.2"],"introduced":["0"],"last_affected":[],"package":"rsync-debugsource","purl":"pkg:rpm/redhat/rsync-debugsource","source":"RHSA-2022:6171"},{"ecosystem":"Rocky Linux:8","fixed":["0:3.1.3-14.el8_6.3"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/rocky-linux/rsync?distro=rocky-linux-8-6-legacy\u0026epoch=0","source":"RLSA-2022:6180"},{"ecosystem":"Rocky Linux:9","fixed":["0:3.2.3-9.el9_0.2"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/rocky-linux/rsync?distro=rocky-linux-9-0-legacy\u0026epoch=0","source":"RLSA-2022:6181"},{"ecosystem":"SUSE:Enterprise Storage 6","fixed":["3.1.3-150000.4.13.1"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/suse/rsync\u0026distro=SUSE%20Enterprise%20Storage%206","source":"SUSE-SU-2022:2959-1"},{"ecosystem":"SUSE:Enterprise Storage 7","fixed":["3.1.3-150000.4.13.1"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/suse/rsync\u0026distro=SUSE%20Enterprise%20Storage%207","source":"SUSE-SU-2022:2959-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","fixed":["3.1.3-150000.4.13.1"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/suse/rsync\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-ESPOS","source":"SUSE-SU-2022:2959-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","fixed":["3.1.3-150000.4.13.1"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/suse/rsync\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSS","source":"SUSE-SU-2022:2959-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS","fixed":["3.1.3-150000.4.13.1"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/suse/rsync\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-ESPOS","source":"SUSE-SU-2022:2959-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["3.1.3-150000.4.13.1"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/suse/rsync\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2022:2959-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-ESPOS","fixed":["3.1.3-150000.4.13.1"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/suse/rsync\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-ESPOS","source":"SUSE-SU-2022:2959-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-LTSS","fixed":["3.1.3-150000.4.13.1"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/suse/rsync\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-LTSS","source":"SUSE-SU-2022:2959-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.1","fixed":["3.1.3-150000.4.13.1"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/suse/rsync\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.1","source":"SUSE-SU-2022:2959-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.2","fixed":["3.1.3-150000.4.13.1"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/suse/rsync\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.2","source":"SUSE-SU-2022:2959-1"}],"prev":{"headline":"Hashicorp Consul HTTP health check endpoints returning an HTTP redirect may be abused as SSRF vector","id":"CVE-2022-29153"},"products":["n/a"],"published":"2022-08-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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"A malicious rsync server can overwrite arbitrary files on the client, potentially leading to privilege escalation via SSH key injection.","url":"https://insights.sbomify.com/CVE-2022-29154/"}