{"answers":{"affected":"It affects 20 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-12088 exists.","fix":"Apply the vendor's patch.","what":"CVE-2024-12088 is a medium-severity path traversal vulnerability in Gentoo Linux, published on 14 Jan 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-12088 and fix it if it is affected.\n\nWhat it is: CVE-2024-12088 is a medium-severity path traversal vulnerability in Gentoo Linux, published on 14 Jan 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-12088 exists.\n\nAffected product: Gentoo 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-2024-12088/ (Markdown: https://insights.sbomify.com/CVE-2024-12088/index.md)","id":"CVE-2024-12088","markdown":"https://insights.sbomify.com/CVE-2024-12088/index.md","name":"CVE-2024-12088","record":{"aliases":["ALPINE-CVE-2024-12088","AZL-55658","AZL-55676","BELL-CVE-2024-12088","CLSA-2025-1738632064","CLSA-2025-1750781004","CLSA-2025-1751134987","CLSA-2025-1752247531","DEBIAN-CVE-2024-12088","GHSA-ffph-g3pc-8r3g","JLSEC-2025-327","SUSE-SU-2025:1330-1","UBUNTU-CVE-2024-12088"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["data_modify"],"network_reachable":"yes","non_default_config":true,"product_category":"Rsync file synchronization","requires_auth":"none","summary":"Attackers can bypass safe-links checks to write arbitrary files outside the target directory via malicious symbolic links.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"almalinux","vendor":"almalinux"},{"product":"arch_linux","vendor":"archlinux"},{"product":"linux","vendor":"gentoo"},{"product":"nixos","vendor":"nixos"},{"product":"suse_linux","vendor":"novell"},{"product":"discovery","vendor":"redhat"},{"product":"enterprise_linux","vendor":"redhat"},{"product":"enterprise_linux_eus","vendor":"redhat"},{"product":"enterprise_linux_for_arm_64","vendor":"redhat"},{"product":"enterprise_linux_for_arm_64_eus","vendor":"redhat"},{"product":"enterprise_linux_for_ibm_z_systems","vendor":"redhat"},{"product":"enterprise_linux_for_ibm_z_systems_eus","vendor":"redhat"},{"product":"enterprise_linux_for_power_little_endian","vendor":"redhat"},{"product":"enterprise_linux_for_power_little_endian_eus","vendor":"redhat"},{"product":"enterprise_linux_server_aus","vendor":"redhat"},{"product":"enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions","vendor":"redhat"},{"product":"enterprise_linux_update_services_for_sap_solutions","vendor":"redhat"},{"product":"openshift_container_platform","vendor":"redhat"},{"product":"rsync","vendor":"samba"},{"product":"smartos","vendor":"tritondatacenter"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/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 rsync. When using the `--safe-links` option, the rsync client fails to properly verify if a symbolic link destination sent from the server contains another symbolic link within it. This results in a path traversal vulnerability, which may lead to arbitrary file write outside the desired directory.","ecosystems":["SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Rsync: --safe-links option bypass leads to path traversal","id":"CVE-2024-12088","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"gentoo:linux","products":["gentoo:linux","redhat:enterprise_linux","redhat:enterprise_linux_eus","redhat:enterprise_linux_for_ibm_z_systems","redhat:enterprise_linux_for_ibm_z_systems_eus","redhat:enterprise_linux_for_power_little_endian","redhat:enterprise_linux_for_power_little_endian_eus","redhat:enterprise_linux_server_aus","redhat:enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions","redhat:openshift_container_platform"],"type":"path_traversal","year":"2024"},"n_packages":1,"n_references":7,"next":{"headline":"Cross-site scripting in ENOVIA Collaborative Industry Innovator","id":"CVE-2024-12089"},"packages":[{"ecosystem":"SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","fixed":["3.1.3-3.28.1"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/suse/rsync\u0026distro=SUSE%20Linux%20Enterprise%20Server%20LTSS%20Extended%20Security%2012%20SP5","source":"SUSE-SU-2025:1330-1"}],"prev":{"headline":"Rsync: path traversal vulnerability in rsync","id":"CVE-2024-12087"},"products":["Red Hat Discovery 1.14","Red Hat Enterprise Linux 10","Red Hat Enterprise Linux 6","Red Hat Enterprise Linux 7","Red Hat Enterprise Linux 8","Red Hat Enterprise Linux 9","Red Hat OpenShift Container Platform 4"],"published":"2025-01-14","related":[{"cvss_score":9.8,"headline":"Rsync: heap buffer overflow in rsync due to improper checksum length handling","id":"CVE-2024-12084","kev_date_added":null,"published":"2025-01-15"},{"cvss_score":8.1,"headline":"Openssh: regresshion - race condition in ssh allows rce/dos","id":"CVE-2024-6387","kev_date_added":null,"published":"2024-07-01"},{"cvss_score":7.5,"headline":"Rsync: info leak via uninitialized stack contents","id":"CVE-2024-12085","kev_date_added":null,"published":"2025-01-14"},{"cvss_score":6.5,"headline":"Rsync: path traversal vulnerability in rsync","id":"CVE-2024-12087","kev_date_added":null,"published":"2025-01-14"},{"cvss_score":6.1,"headline":"Rsync: rsync server leaks arbitrary client files","id":"CVE-2024-12086","kev_date_added":null,"published":"2025-01-14"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-21","vendors":["Red Hat"]},"summary":"Attackers can bypass safe-links checks to write arbitrary files outside the target directory via malicious symbolic links.","url":"https://insights.sbomify.com/CVE-2024-12088/"}