{"answers":{"affected":"It affects 22 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-12085 exists.","fix":"Apply the vendor's patch.","what":"CVE-2024-12085 is a high-severity vulnerability in Gentoo Linux, published on 14 Jan 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-12085 and fix it if it is affected.\n\nWhat it is: CVE-2024-12085 is a high-severity vulnerability in Gentoo Linux, published on 14 Jan 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-12085 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-12085/ (Markdown: https://insights.sbomify.com/CVE-2024-12085/index.md)","id":"CVE-2024-12085","markdown":"https://insights.sbomify.com/CVE-2024-12085/index.md","name":"CVE-2024-12085","record":{"aliases":["ALPINE-CVE-2024-12085","ALSA-2025:0324","ALSA-2025:0325","AZL-55649","AZL-55664","BELL-CVE-2024-12085","CLSA-2025-1737464476","CLSA-2025-1737471454","CLSA-2025-1737568622","CLSA-2025-1737569495","CLSA-2025-1737569565","CLSA-2025-1737993115","CLSA-2026-1786454415","DEBIAN-CVE-2024-12085","GHSA-xh5q-pch5-g3xq","JLSEC-2025-324","RHSA-2025:0324","RHSA-2025:0325","RHSA-2025:0637","RHSA-2025:0688","RHSA-2025:0714","RHSA-2025:0774","RHSA-2025:0787","RHSA-2025:0790","RHSA-2025:0849","RHSA-2025:0884","RHSA-2025:0885","RLSA-2025:0324","RLSA-2025:0325","UBUNTU-CVE-2024-12085"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"rsync file synchronization","requires_auth":"none","summary":"An attacker can leak uninitialized stack data by manipulating checksum length during file comparison, potentially exposing sensitive memory contents.","user_interaction":"not_required","vuln_class":"information_disclosure"},"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":"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","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_server_tus","vendor":"redhat"},{"product":"enterprise_linux_update_services_for_sap_solutions","vendor":"redhat"},{"product":"openshift","vendor":"redhat"},{"product":"openshift_container_platform","vendor":"redhat"},{"product":"rsync","vendor":"samba"},{"product":"suse_linux","vendor":"suse"},{"product":"smartos","vendor":"tritondatacenter"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-908","name":"Use of Uninitialized Resource"}],"description":"A flaw was found in rsync which could be triggered when rsync compares file checksums. This flaw allows an attacker to manipulate the checksum length (s2length) to cause a comparison between a checksum and uninitialized memory and leak one byte of uninitialized stack data at a time.","ecosystems":["AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::baseos","Red Hat:rhel_aus:8.2::baseos","Red Hat:rhel_aus:8.4::baseos","Red Hat:rhel_aus:8.6::baseos","Red Hat:rhel_e4s:8.4::baseos","Red Hat:rhel_e4s:8.6::baseos","Red Hat:rhel_e4s:9.0::appstream","Red Hat:rhel_e4s:9.0::baseos","Red Hat:rhel_els:6","Red Hat:rhel_els:7","Red Hat:rhel_eus:8.8::baseos","Red Hat:rhel_eus:9.2::appstream","Red Hat:rhel_eus:9.2::baseos","Red Hat:rhel_eus:9.4::appstream","Red Hat:rhel_eus:9.4::baseos","Red Hat:rhel_tus:8.4::baseos","Red Hat:rhel_tus:8.6::baseos","Rocky Linux:8","Rocky Linux:9"],"exploits":{"exploitdb":0,"first_seen":"2025-07-24","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-07-24T08:10:04Z","kind":"github_poc","ref":"https://github.com/Otsutez/cve-2024-12085","stars":0,"title":"Exploit for CVE-2024-12085 Infoleak"}],"tier":"weaponised"},"has_fix":true,"headline":"Rsync: info leak via uninitialized stack contents","id":"CVE-2024-12085","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","redhat:enterprise_linux_server_aus","redhat:enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions","redhat:enterprise_linux_server_tus","redhat:openshift","redhat:openshift_container_platform","suse:suse_linux"],"type":"information_disclosure","year":"2024"},"n_packages":62,"n_references":25,"next":{"headline":"Rsync: rsync server leaks arbitrary client files","id":"CVE-2024-12086"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["3.1.3-20.el8_10"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/almalinux/rsync","source":"ALSA-2025:0325"},{"ecosystem":"AlmaLinux:8","fixed":["3.1.3-20.el8_10"],"introduced":["0"],"last_affected":[],"package":"rsync-daemon","purl":"pkg:rpm/almalinux/rsync-daemon","source":"ALSA-2025:0325"},{"ecosystem":"AlmaLinux:9","fixed":["3.2.3-20.el9_5.1"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/almalinux/rsync","source":"ALSA-2025:0324"},{"ecosystem":"AlmaLinux:9","fixed":["3.2.3-20.el9_5.1"],"introduced":["0"],"last_affected":[],"package":"rsync-daemon","purl":"pkg:rpm/almalinux/rsync-daemon","source":"ALSA-2025:0324"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.1.3-20.el8_10"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/redhat/rsync","source":"RHSA-2025:0325"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.1.3-20.el8_10"],"introduced":["0"],"last_affected":[],"package":"rsync-daemon","purl":"pkg:rpm/redhat/rsync-daemon","source":"RHSA-2025:0325"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.1.3-20.el8_10"],"introduced":["0"],"last_affected":[],"package":"rsync-debuginfo","purl":"pkg:rpm/redhat/rsync-debuginfo","source":"RHSA-2025:0325"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.1.3-20.el8_10"],"introduced":["0"],"last_affected":[],"package":"rsync-debugsource","purl":"pkg:rpm/redhat/rsync-debugsource","source":"RHSA-2025:0325"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.2.3-20.el9_5.1"],"introduced":["0"],"last_affected":[],"package":"rsync-daemon","purl":"pkg:rpm/redhat/rsync-daemon","source":"RHSA-2025:0324"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:3.2.3-20.el9_5.1"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/redhat/rsync","source":"RHSA-2025:0324"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:3.2.3-20.el9_5.1"],"introduced":["0"],"last_affected":[],"package":"rsync-debuginfo","purl":"pkg:rpm/redhat/rsync-debuginfo","source":"RHSA-2025:0324"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:3.2.3-20.el9_5.1"],"introduced":["0"],"last_affected":[],"package":"rsync-debugsource","purl":"pkg:rpm/redhat/rsync-debugsource","source":"RHSA-2025:0324"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:3.1.3-7.el8_2.3"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/redhat/rsync","source":"RHSA-2025:0884"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:3.1.3-7.el8_2.3"],"introduced":["0"],"last_affected":[],"package":"rsync-daemon","purl":"pkg:rpm/redhat/rsync-daemon","source":"RHSA-2025:0884"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:3.1.3-7.el8_2.3"],"introduced":["0"],"last_affected":[],"package":"rsync-debuginfo","purl":"pkg:rpm/redhat/rsync-debuginfo","source":"RHSA-2025:0884"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:3.1.3-7.el8_2.3"],"introduced":["0"],"last_affected":[],"package":"rsync-debugsource","purl":"pkg:rpm/redhat/rsync-debugsource","source":"RHSA-2025:0884"},{"ecosystem":"Red Hat:rhel_aus:8.4::baseos","fixed":["0:3.1.3-12.el8_4.3"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/redhat/rsync","source":"RHSA-2025:0885"},{"ecosystem":"Red Hat:rhel_aus:8.4::baseos","fixed":["0:3.1.3-12.el8_4.3"],"introduced":["0"],"last_affected":[],"package":"rsync-daemon","purl":"pkg:rpm/redhat/rsync-daemon","source":"RHSA-2025:0885"},{"ecosystem":"Red Hat:rhel_aus:8.4::baseos","fixed":["0:3.1.3-12.el8_4.3"],"introduced":["0"],"last_affected":[],"package":"rsync-debuginfo","purl":"pkg:rpm/redhat/rsync-debuginfo","source":"RHSA-2025:0885"},{"ecosystem":"Red Hat:rhel_aus:8.4::baseos","fixed":["0:3.1.3-12.el8_4.3"],"introduced":["0"],"last_affected":[],"package":"rsync-debugsource","purl":"pkg:rpm/redhat/rsync-debugsource","source":"RHSA-2025:0885"},{"ecosystem":"Red Hat:rhel_aus:8.6::baseos","fixed":["0:3.1.3-14.el8_6.6"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/redhat/rsync","source":"RHSA-2025:0790"},{"ecosystem":"Red Hat:rhel_aus:8.6::baseos","fixed":["0:3.1.3-14.el8_6.6"],"introduced":["0"],"last_affected":[],"package":"rsync-daemon","purl":"pkg:rpm/redhat/rsync-daemon","source":"RHSA-2025:0790"},{"ecosystem":"Red Hat:rhel_aus:8.6::baseos","fixed":["0:3.1.3-14.el8_6.6"],"introduced":["0"],"last_affected":[],"package":"rsync-debuginfo","purl":"pkg:rpm/redhat/rsync-debuginfo","source":"RHSA-2025:0790"},{"ecosystem":"Red Hat:rhel_aus:8.6::baseos","fixed":["0:3.1.3-14.el8_6.6"],"introduced":["0"],"last_affected":[],"package":"rsync-debugsource","purl":"pkg:rpm/redhat/rsync-debugsource","source":"RHSA-2025:0790"},{"ecosystem":"Red Hat:rhel_e4s:8.4::baseos","fixed":["0:3.1.3-12.el8_4.3"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/redhat/rsync","source":"RHSA-2025:0885"},{"ecosystem":"Red Hat:rhel_e4s:8.4::baseos","fixed":["0:3.1.3-12.el8_4.3"],"introduced":["0"],"last_affected":[],"package":"rsync-daemon","purl":"pkg:rpm/redhat/rsync-daemon","source":"RHSA-2025:0885"},{"ecosystem":"Red Hat:rhel_e4s:8.4::baseos","fixed":["0:3.1.3-12.el8_4.3"],"introduced":["0"],"last_affected":[],"package":"rsync-debuginfo","purl":"pkg:rpm/redhat/rsync-debuginfo","source":"RHSA-2025:0885"},{"ecosystem":"Red Hat:rhel_e4s:8.4::baseos","fixed":["0:3.1.3-12.el8_4.3"],"introduced":["0"],"last_affected":[],"package":"rsync-debugsource","purl":"pkg:rpm/redhat/rsync-debugsource","source":"RHSA-2025:0885"},{"ecosystem":"Red Hat:rhel_e4s:8.6::baseos","fixed":["0:3.1.3-14.el8_6.6"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/redhat/rsync","source":"RHSA-2025:0790"},{"ecosystem":"Red Hat:rhel_e4s:8.6::baseos","fixed":["0:3.1.3-14.el8_6.6"],"introduced":["0"],"last_affected":[],"package":"rsync-daemon","purl":"pkg:rpm/redhat/rsync-daemon","source":"RHSA-2025:0790"},{"ecosystem":"Red Hat:rhel_e4s:8.6::baseos","fixed":["0:3.1.3-14.el8_6.6"],"introduced":["0"],"last_affected":[],"package":"rsync-debuginfo","purl":"pkg:rpm/redhat/rsync-debuginfo","source":"RHSA-2025:0790"},{"ecosystem":"Red Hat:rhel_e4s:8.6::baseos","fixed":["0:3.1.3-14.el8_6.6"],"introduced":["0"],"last_affected":[],"package":"rsync-debugsource","purl":"pkg:rpm/redhat/rsync-debugsource","source":"RHSA-2025:0790"},{"ecosystem":"Red Hat:rhel_e4s:9.0::appstream","fixed":["0:3.2.3-9.el9_0.3"],"introduced":["0"],"last_affected":[],"package":"rsync-daemon","purl":"pkg:rpm/redhat/rsync-daemon","source":"RHSA-2025:0688"},{"ecosystem":"Red Hat:rhel_e4s:9.0::baseos","fixed":["0:3.2.3-9.el9_0.3"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/redhat/rsync","source":"RHSA-2025:0688"},{"ecosystem":"Red Hat:rhel_e4s:9.0::baseos","fixed":["0:3.2.3-9.el9_0.3"],"introduced":["0"],"last_affected":[],"package":"rsync-debuginfo","purl":"pkg:rpm/redhat/rsync-debuginfo","source":"RHSA-2025:0688"},{"ecosystem":"Red Hat:rhel_e4s:9.0::baseos","fixed":["0:3.2.3-9.el9_0.3"],"introduced":["0"],"last_affected":[],"package":"rsync-debugsource","purl":"pkg:rpm/redhat/rsync-debugsource","source":"RHSA-2025:0688"},{"ecosystem":"Red Hat:rhel_els:6","fixed":["0:3.0.6-12.el6_10.1"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/redhat/rsync","source":"RHSA-2025:0849"},{"ecosystem":"Red Hat:rhel_els:6","fixed":["0:3.0.6-12.el6_10.1"],"introduced":["0"],"last_affected":[],"package":"rsync-debuginfo","purl":"pkg:rpm/redhat/rsync-debuginfo","source":"RHSA-2025:0849"},{"ecosystem":"Red Hat:rhel_els:7","fixed":["0:3.1.2-12.el7_9.1"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/redhat/rsync","source":"RHSA-2025:0714"},{"ecosystem":"Red Hat:rhel_els:7","fixed":["0:3.1.2-12.el7_9.1"],"introduced":["0"],"last_affected":[],"package":"rsync-debuginfo","purl":"pkg:rpm/redhat/rsync-debuginfo","source":"RHSA-2025:0714"}],"prev":{"headline":"Rsync: heap buffer overflow in rsync due to improper checksum length handling","id":"CVE-2024-12084"},"products":["Compliance Operator 1","RHOL-5.8-RHEL-9","RHOL-5.9-RHEL-9","Red Hat Enterprise Linux 10","Red Hat Enterprise Linux 6 Extended Lifecycle Support  - EXTENSION","Red Hat Enterprise Linux 7 Extended Lifecycle Support","Red Hat Enterprise Linux 8","Red Hat Enterprise Linux 8.2 Advanced Update Support","Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support","Red Hat Enterprise Linux 8.4 Telecommunications Update Service","Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions","Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support","Red Hat Enterprise Linux 8.6 Telecommunications Update Service","Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions","Red Hat Enterprise Linux 8.8 Extended Update Support","Red Hat Enterprise Linux 9","Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions","Red Hat Enterprise Linux 9.2 Extended Update Support","Red Hat Enterprise Linux 9.4 Extended Update Support","Red Hat OpenShift Container Platform 4.12","Red Hat OpenShift Container Platform 4.13","Red Hat OpenShift Container Platform 4.14","Red Hat OpenShift Container Platform 4.15","Red Hat OpenShift Container Platform 4.16","Red Hat OpenShift Container Platform 4.17","Red Hat OpenShift Container Platform 4.18"],"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":6.5,"headline":"Rsync: path traversal vulnerability in rsync","id":"CVE-2024-12087","kev_date_added":null,"published":"2025-01-14"},{"cvss_score":6.5,"headline":"Rsync: --safe-links option bypass leads to path traversal","id":"CVE-2024-12088","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":"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":"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":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-13","vendors":["Red Hat"]},"summary":"An attacker can leak uninitialized stack data by manipulating checksum length during file comparison, potentially exposing sensitive memory contents.","url":"https://insights.sbomify.com/CVE-2024-12085/"}