{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-2446 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2007-2446 is a critical memory corruption vulnerability in Samba Samba, published on 14 May 2007. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2007-2446 and fix it if it is affected.\n\nWhat it is: CVE-2007-2446 is a critical memory corruption vulnerability in Samba Samba, published on 14 May 2007. 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-2007-2446 exists.\n\nAffected product: Samba Samba. 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-2007-2446/ (Markdown: https://insights.sbomify.com/CVE-2007-2446/index.md)","id":"CVE-2007-2446","markdown":"https://insights.sbomify.com/CVE-2007-2446/index.md","name":"CVE-2007-2446","record":{"aliases":["DEBIAN-CVE-2007-2446","GHSA-h3hj-j528-h53w"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Samba file server","requires_auth":"none","summary":"Remote attackers can execute arbitrary code on Samba servers via crafted MS-RPC requests exploiting heap-based buffer overflows in NDR parsing.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"samba","vendor":"samba"}],"cvss":{"score":10,"severity":"critical","source":"nvd","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","version":"2.0"},"cwes":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"description":"Multiple heap-based buffer overflows in the NDR parsing in smbd in Samba 3.0.0 through 3.0.25rc3 allow remote attackers to execute arbitrary code via crafted MS-RPC requests involving (1) DFSEnum (netdfs_io_dfs_EnumInfo_d), (2) RFNPCNEX (smb_io_notify_option_type_data), (3) LsarAddPrivilegesToAccount (lsa_io_privilege_set), (4) NetSetFileSecurity (sec_io_acl), or (5) LsarLookupSids/LsarLookupSids2 (lsa_io_trans_names).","ecosystems":[],"exploits":{"exploitdb":4,"first_seen":"2007-05-14","github_poc":0,"max_poc_stars":null,"metasploit":5,"nuclei":0,"refs":[{"date":"2007-05-14","kind":"exploitdb","ref":"9950","stars":null,"title":"Samba 3.0.21 \u003c 3.0.24 - LSA trans names Heap Overflow (Metasploit)"},{"date":"2007-05-14","kind":"metasploit","ref":"exploit/linux/samba/lsa_transnames_heap","stars":null,"title":"Samba lsa_io_trans_names Heap Overflow"},{"date":"2007-05-14","kind":"metasploit","ref":"exploit/osx/samba/lsa_transnames_heap","stars":null,"title":"Samba lsa_io_trans_names Heap Overflow"},{"date":"2007-05-14","kind":"metasploit","ref":"exploit/solaris/samba/lsa_transnames_heap","stars":null,"title":"Samba lsa_io_trans_names Heap Overflow"},{"date":"2010-04-05","kind":"exploitdb","ref":"16329","stars":null,"title":"Samba 3.0.24 (Solaris) - 'lsa_io_trans_names' Heap Overflow (Metasploit)"},{"date":"2010-04-05","kind":"exploitdb","ref":"16875","stars":null,"title":"Samba 3.0.10 (OSX) - 'lsa_io_trans_names' Heap Overflow (Metasploit)"},{"date":"2010-07-14","kind":"exploitdb","ref":"16859","stars":null,"title":"Samba 3.0.24 (Linux) - 'lsa_io_trans_names' Heap Overflow (Metasploit)"},{"date":null,"kind":"metasploit","ref":"auxiliary/dos/samba/lsa_addprivs_heap","stars":null,"title":"Samba lsa_io_privilege_set Heap Overflow"}],"tier":"weaponised"},"has_fix":true,"headline":"Memory corruption in n/a","id":"CVE-2007-2446","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"samba:samba","products":["samba:samba"],"type":"memory_corruption","year":"2007"},"n_packages":0,"n_references":76,"next":{"headline":"Command injection in n/a","id":"CVE-2007-2447"},"packages":[],"prev":{"headline":"Denial of service in n/a","id":"CVE-2007-2445"},"products":["n/a"],"published":"2007-05-14","related":[{"cvss_score":10,"headline":"Integer overflow in n/a","id":"CVE-2012-1182","kev_date_added":null,"published":"2012-04-10"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2004-0600","kev_date_added":null,"published":"2004-07-23"},{"cvss_score":10,"headline":"Denial of service in n/a","id":"CVE-1999-0810","kev_date_added":null,"published":"2000-01-04"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-1999-0182","kev_date_added":null,"published":"1999-09-29"},{"cvss_score":9.8,"headline":"Weak cryptography in Samba","id":"CVE-2022-45141","kev_date_added":null,"published":"2023-03-06"},{"cvss_score":9.3,"headline":"Other in n/a","id":"CVE-2009-1886","kev_date_added":null,"published":"2009-06-24"}],"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":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-07","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary code on Samba servers via crafted MS-RPC requests exploiting heap-based buffer overflows in NDR parsing.","url":"https://insights.sbomify.com/CVE-2007-2446/"}