{"answers":{"affected":"It affects 8 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-12084 exists.","fix":"Apply the vendor's patch.","what":"CVE-2024-12084 is a critical memory corruption vulnerability in Gentoo Linux, published on 15 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-12084 and fix it if it is affected.\n\nWhat it is: CVE-2024-12084 is a critical memory corruption vulnerability in Gentoo Linux, published on 15 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-12084 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-12084/ (Markdown: https://insights.sbomify.com/CVE-2024-12084/index.md)","id":"CVE-2024-12084","markdown":"https://insights.sbomify.com/CVE-2024-12084/index.md","name":"CVE-2024-12084","record":{"aliases":["ALPINE-CVE-2024-12084","AZL-55646","AZL-55691","BELL-CVE-2024-12084","DEBIAN-CVE-2024-12084","GHSA-85h7-m8c3-v9wc","UBUNTU-CVE-2024-12084"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Rsync file synchronization","requires_auth":"none","summary":"Heap buffer overflow in rsync daemon allows attackers to execute arbitrary code or cause denial of service via crafted checksum lengths.","user_interaction":"not_required","vuln_class":"memory_corruption"},"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":"enterprise_linux","vendor":"redhat"},{"product":"rsync","vendor":"samba"},{"product":"smartos","vendor":"tritondatacenter"}],"cvss":{"score":9.8,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"description":"A heap-based buffer overflow flaw was found in the rsync daemon. This issue is due to improper handling of attacker-controlled checksum lengths (s2length) in the code. When MAX_DIGEST_LEN exceeds the fixed SUM_LENGTH (16 bytes), an attacker can write out of bounds in the sum2 buffer.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2025-01-21","github_poc":3,"max_poc_stars":4,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-01-21T02:13:14Z","kind":"github_poc","ref":"https://github.com/themirze/cve-2024-12084","stars":4,"title":null},{"date":"2025-01-29T20:44:04Z","kind":"github_poc","ref":"https://github.com/rxerium/CVE-2024-12084","stars":1,"title":"A heap-based buffer overflow flaw was found in the rsync daemon. This issue is due to improper handling of attacker-controlled checksum lengths (s2length) in the code. When MAX_DIGEST_LEN exceeds the fixed SUM_LENGTH (16 bytes), an attacker can write out of bounds in the sum2 buffer."},{"date":"2025-11-24T15:26:37Z","kind":"github_poc","ref":"https://github.com/InkeyP/CVE-2024-12084","stars":1,"title":"A easy poc for CVE-2024-12084."}],"tier":"weaponised"},"has_fix":true,"headline":"Rsync: heap buffer overflow in rsync due to improper checksum length handling","id":"CVE-2024-12084","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"gentoo:linux","products":["gentoo:linux","redhat:enterprise_linux"],"type":"memory_corruption","year":"2024"},"n_packages":0,"n_references":4,"next":{"headline":"Rsync: info leak via uninitialized stack contents","id":"CVE-2024-12085"},"packages":[],"prev":{"headline":"Path Traversal Vulnerabilities in NJ/NX-series Machine Automation Controllers","id":"CVE-2024-12083"},"products":["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-15","related":[{"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.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":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"total"},"state":"PUBLISHED","updated":"2026-10-21","vendors":["Red Hat"]},"summary":"Heap buffer overflow in rsync daemon allows attackers to execute arbitrary code or cause denial of service via crafted checksum lengths.","url":"https://insights.sbomify.com/CVE-2024-12084/"}