{"answers":{"affected":"It affects 3 products.","exploited":"There is no known exploitation of CVE-2012-0870 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2012-0870 is a high-severity memory corruption vulnerability in Samba Samba, published on 23 Feb 2012. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2012-0870 and fix it if it is affected.\n\nWhat it is: CVE-2012-0870 is a high-severity memory corruption vulnerability in Samba Samba, published on 23 Feb 2012. 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-2012-0870 in the wild and no public exploit code.\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-2012-0870/ (Markdown: https://insights.sbomify.com/CVE-2012-0870/index.md)","id":"CVE-2012-0870","markdown":"https://insights.sbomify.com/CVE-2012-0870/index.md","name":"CVE-2012-0870","record":{"aliases":["DEBIAN-CVE-2012-0870","ECHO-d4ae-b892-b60e","GHSA-h6wh-2qjc-xjwm","RHSA-2012:0332"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Samba file sharing","requires_auth":"none","summary":"Remote attackers can cause denial of service or execute arbitrary code via a crafted Batched request in Samba's smbd daemon.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"blackberry_playbook_os","vendor":"rim"},{"product":"blackberry_playbook_tablet","vendor":"rim"},{"product":"samba","vendor":"samba"}],"cvss":{"score":7.9,"severity":"high","source":"nvd","vector":"AV:A/AC:M/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":"Heap-based buffer overflow in process.c in smbd in Samba 3.0, as used in the file-sharing service on the BlackBerry PlayBook tablet before 2.0.0.7971 and other products, allows remote attackers to cause a denial of service (daemon crash) or possibly execute arbitrary code via a Batched (aka AndX) request that triggers infinite recursion.","ecosystems":["Red Hat:enterprise_linux:4::as","Red Hat:enterprise_linux:4::desktop","Red Hat:enterprise_linux:4::es","Red Hat:enterprise_linux:4::ws","Red Hat:enterprise_linux:5::client","Red Hat:enterprise_linux:5::client_workstation","Red Hat:enterprise_linux:5::server","Red Hat:rhel_eus:5.6","Red Hat:rhel_mission_critical:5.3"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Memory corruption in n/a","id":"CVE-2012-0870","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"samba:samba","products":["samba:samba"],"type":"memory_corruption","year":"2012"},"n_packages":48,"n_references":14,"next":{"headline":"Path traversal in n/a","id":"CVE-2012-0871"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:3.0.33-0.35.el4"],"introduced":["0"],"last_affected":[],"package":"samba","purl":"pkg:rpm/redhat/samba","source":"RHSA-2012:0332"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:3.0.33-0.35.el4"],"introduced":["0"],"last_affected":[],"package":"samba-client","purl":"pkg:rpm/redhat/samba-client","source":"RHSA-2012:0332"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:3.0.33-0.35.el4"],"introduced":["0"],"last_affected":[],"package":"samba-common","purl":"pkg:rpm/redhat/samba-common","source":"RHSA-2012:0332"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:3.0.33-0.35.el4"],"introduced":["0"],"last_affected":[],"package":"samba-debuginfo","purl":"pkg:rpm/redhat/samba-debuginfo","source":"RHSA-2012:0332"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:3.0.33-0.35.el4"],"introduced":["0"],"last_affected":[],"package":"samba-swat","purl":"pkg:rpm/redhat/samba-swat","source":"RHSA-2012:0332"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:3.0.33-0.35.el4"],"introduced":["0"],"last_affected":[],"package":"samba","purl":"pkg:rpm/redhat/samba","source":"RHSA-2012:0332"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:3.0.33-0.35.el4"],"introduced":["0"],"last_affected":[],"package":"samba-client","purl":"pkg:rpm/redhat/samba-client","source":"RHSA-2012:0332"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:3.0.33-0.35.el4"],"introduced":["0"],"last_affected":[],"package":"samba-common","purl":"pkg:rpm/redhat/samba-common","source":"RHSA-2012:0332"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:3.0.33-0.35.el4"],"introduced":["0"],"last_affected":[],"package":"samba-debuginfo","purl":"pkg:rpm/redhat/samba-debuginfo","source":"RHSA-2012:0332"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:3.0.33-0.35.el4"],"introduced":["0"],"last_affected":[],"package":"samba-swat","purl":"pkg:rpm/redhat/samba-swat","source":"RHSA-2012:0332"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:3.0.33-0.35.el4"],"introduced":["0"],"last_affected":[],"package":"samba","purl":"pkg:rpm/redhat/samba","source":"RHSA-2012:0332"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:3.0.33-0.35.el4"],"introduced":["0"],"last_affected":[],"package":"samba-client","purl":"pkg:rpm/redhat/samba-client","source":"RHSA-2012:0332"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:3.0.33-0.35.el4"],"introduced":["0"],"last_affected":[],"package":"samba-common","purl":"pkg:rpm/redhat/samba-common","source":"RHSA-2012:0332"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:3.0.33-0.35.el4"],"introduced":["0"],"last_affected":[],"package":"samba-debuginfo","purl":"pkg:rpm/redhat/samba-debuginfo","source":"RHSA-2012:0332"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:3.0.33-0.35.el4"],"introduced":["0"],"last_affected":[],"package":"samba-swat","purl":"pkg:rpm/redhat/samba-swat","source":"RHSA-2012:0332"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:3.0.33-0.35.el4"],"introduced":["0"],"last_affected":[],"package":"samba","purl":"pkg:rpm/redhat/samba","source":"RHSA-2012:0332"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:3.0.33-0.35.el4"],"introduced":["0"],"last_affected":[],"package":"samba-client","purl":"pkg:rpm/redhat/samba-client","source":"RHSA-2012:0332"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:3.0.33-0.35.el4"],"introduced":["0"],"last_affected":[],"package":"samba-common","purl":"pkg:rpm/redhat/samba-common","source":"RHSA-2012:0332"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:3.0.33-0.35.el4"],"introduced":["0"],"last_affected":[],"package":"samba-debuginfo","purl":"pkg:rpm/redhat/samba-debuginfo","source":"RHSA-2012:0332"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:3.0.33-0.35.el4"],"introduced":["0"],"last_affected":[],"package":"samba-swat","purl":"pkg:rpm/redhat/samba-swat","source":"RHSA-2012:0332"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:3.0.33-3.38.el5_8"],"introduced":["0"],"last_affected":[],"package":"libsmbclient","purl":"pkg:rpm/redhat/libsmbclient","source":"RHSA-2012:0332"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:3.0.33-3.38.el5_8"],"introduced":["0"],"last_affected":[],"package":"samba","purl":"pkg:rpm/redhat/samba","source":"RHSA-2012:0332"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:3.0.33-3.38.el5_8"],"introduced":["0"],"last_affected":[],"package":"samba-client","purl":"pkg:rpm/redhat/samba-client","source":"RHSA-2012:0332"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:3.0.33-3.38.el5_8"],"introduced":["0"],"last_affected":[],"package":"samba-common","purl":"pkg:rpm/redhat/samba-common","source":"RHSA-2012:0332"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:3.0.33-3.38.el5_8"],"introduced":["0"],"last_affected":[],"package":"samba-debuginfo","purl":"pkg:rpm/redhat/samba-debuginfo","source":"RHSA-2012:0332"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:3.0.33-3.38.el5_8"],"introduced":["0"],"last_affected":[],"package":"samba-swat","purl":"pkg:rpm/redhat/samba-swat","source":"RHSA-2012:0332"},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","fixed":["0:3.0.33-3.38.el5_8"],"introduced":["0"],"last_affected":[],"package":"libsmbclient-devel","purl":"pkg:rpm/redhat/libsmbclient-devel","source":"RHSA-2012:0332"},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","fixed":["0:3.0.33-3.38.el5_8"],"introduced":["0"],"last_affected":[],"package":"samba","purl":"pkg:rpm/redhat/samba","source":"RHSA-2012:0332"},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","fixed":["0:3.0.33-3.38.el5_8"],"introduced":["0"],"last_affected":[],"package":"samba-debuginfo","purl":"pkg:rpm/redhat/samba-debuginfo","source":"RHSA-2012:0332"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:3.0.33-3.38.el5_8"],"introduced":["0"],"last_affected":[],"package":"libsmbclient","purl":"pkg:rpm/redhat/libsmbclient","source":"RHSA-2012:0332"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:3.0.33-3.38.el5_8"],"introduced":["0"],"last_affected":[],"package":"libsmbclient-devel","purl":"pkg:rpm/redhat/libsmbclient-devel","source":"RHSA-2012:0332"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:3.0.33-3.38.el5_8"],"introduced":["0"],"last_affected":[],"package":"samba","purl":"pkg:rpm/redhat/samba","source":"RHSA-2012:0332"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:3.0.33-3.38.el5_8"],"introduced":["0"],"last_affected":[],"package":"samba-client","purl":"pkg:rpm/redhat/samba-client","source":"RHSA-2012:0332"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:3.0.33-3.38.el5_8"],"introduced":["0"],"last_affected":[],"package":"samba-common","purl":"pkg:rpm/redhat/samba-common","source":"RHSA-2012:0332"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:3.0.33-3.38.el5_8"],"introduced":["0"],"last_affected":[],"package":"samba-debuginfo","purl":"pkg:rpm/redhat/samba-debuginfo","source":"RHSA-2012:0332"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:3.0.33-3.38.el5_8"],"introduced":["0"],"last_affected":[],"package":"samba-swat","purl":"pkg:rpm/redhat/samba-swat","source":"RHSA-2012:0332"},{"ecosystem":"Red Hat:rhel_eus:5.6","fixed":["0:3.0.33-3.29.el5_6.4"],"introduced":["0"],"last_affected":[],"package":"libsmbclient","purl":"pkg:rpm/redhat/libsmbclient","source":"RHSA-2012:0332"},{"ecosystem":"Red Hat:rhel_eus:5.6","fixed":["0:3.0.33-3.29.el5_6.4"],"introduced":["0"],"last_affected":[],"package":"libsmbclient-devel","purl":"pkg:rpm/redhat/libsmbclient-devel","source":"RHSA-2012:0332"},{"ecosystem":"Red Hat:rhel_eus:5.6","fixed":["0:3.0.33-3.29.el5_6.4"],"introduced":["0"],"last_affected":[],"package":"samba","purl":"pkg:rpm/redhat/samba","source":"RHSA-2012:0332"},{"ecosystem":"Red Hat:rhel_eus:5.6","fixed":["0:3.0.33-3.29.el5_6.4"],"introduced":["0"],"last_affected":[],"package":"samba-client","purl":"pkg:rpm/redhat/samba-client","source":"RHSA-2012:0332"}],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2012-0869"},"products":["n/a"],"published":"2012-02-23","related":[],"sources":[{"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)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Remote attackers can cause denial of service or execute arbitrary code via a crafted Batched request in Samba's smbd daemon.","url":"https://insights.sbomify.com/CVE-2012-0870/"}