{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-6015 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2007-6015 is a critical memory corruption vulnerability in Samba Samba, published on 13 Dec 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-6015 and fix it if it is affected.\n\nWhat it is: CVE-2007-6015 is a critical memory corruption vulnerability in Samba Samba, published on 13 Dec 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-6015 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-6015/ (Markdown: https://insights.sbomify.com/CVE-2007-6015/index.md)","id":"CVE-2007-6015","markdown":"https://insights.sbomify.com/CVE-2007-6015/index.md","name":"CVE-2007-6015","record":{"aliases":["DEBIAN-CVE-2007-6015","DSA-1427-1","DTSA-100-1","GHSA-hhrv-j6cc-jr4p","RHSA-2007:1114","RHSA-2007:1117"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"Samba file server","requires_auth":"none","summary":"Remote attackers can execute arbitrary code on Samba servers with domain logons enabled via a stack-based buffer overflow in nmbd.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"flexera","cpe":[{"product":"samba","vendor":"samba"}],"cvss":{"score":9.3,"severity":"critical","source":"nvd","vector":"AV:N/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":"Stack-based buffer overflow in the send_mailslot function in nmbd in Samba 3.0.0 through 3.0.27a, when the \"domain logons\" option is enabled, allows remote attackers to execute arbitrary code via a GETDC mailslot request composed of a long GETDC string following an offset username in a SAMLOGON logon request.","ecosystems":["Red Hat:enterprise_linux:2.1::as","Red Hat:enterprise_linux:2.1::aw","Red Hat:enterprise_linux:2.1::es","Red Hat:enterprise_linux:2.1::ws","Red Hat:enterprise_linux:3::as","Red Hat:enterprise_linux:3::desktop","Red Hat:enterprise_linux:3::es","Red Hat:enterprise_linux:3::ws","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::server","Red Hat:rhel_eus:4.5::as","Red Hat:rhel_eus:4.5::es"],"exploits":{"exploitdb":1,"first_seen":"2007-12-14","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2007-12-14","kind":"exploitdb","ref":"4732","stars":null,"title":"Samba 3.0.27a - 'send_mailslot()' Remote Buffer Overflow"}],"tier":"weaponised"},"has_fix":true,"headline":"Memory corruption in n/a","id":"CVE-2007-6015","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"samba:samba","products":["samba:samba"],"type":"memory_corruption","year":"2007"},"n_packages":86,"n_references":59,"next":{"headline":"Memory corruption in n/a","id":"CVE-2007-6016"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:2.1::as","fixed":["0:2.2.12-1.21as.8.2"],"introduced":["0"],"last_affected":[],"package":"samba","purl":"pkg:rpm/redhat/samba","source":"RHSA-2007:1114"},{"ecosystem":"Red Hat:enterprise_linux:2.1::as","fixed":["0:2.2.12-1.21as.8.2"],"introduced":["0"],"last_affected":[],"package":"samba-client","purl":"pkg:rpm/redhat/samba-client","source":"RHSA-2007:1114"},{"ecosystem":"Red Hat:enterprise_linux:2.1::as","fixed":["0:2.2.12-1.21as.8.2"],"introduced":["0"],"last_affected":[],"package":"samba-common","purl":"pkg:rpm/redhat/samba-common","source":"RHSA-2007:1114"},{"ecosystem":"Red Hat:enterprise_linux:2.1::as","fixed":["0:2.2.12-1.21as.8.2"],"introduced":["0"],"last_affected":[],"package":"samba-swat","purl":"pkg:rpm/redhat/samba-swat","source":"RHSA-2007:1114"},{"ecosystem":"Red Hat:enterprise_linux:2.1::aw","fixed":["0:2.2.12-1.21as.8.2"],"introduced":["0"],"last_affected":[],"package":"samba","purl":"pkg:rpm/redhat/samba","source":"RHSA-2007:1114"},{"ecosystem":"Red Hat:enterprise_linux:2.1::aw","fixed":["0:2.2.12-1.21as.8.2"],"introduced":["0"],"last_affected":[],"package":"samba-client","purl":"pkg:rpm/redhat/samba-client","source":"RHSA-2007:1114"},{"ecosystem":"Red Hat:enterprise_linux:2.1::aw","fixed":["0:2.2.12-1.21as.8.2"],"introduced":["0"],"last_affected":[],"package":"samba-common","purl":"pkg:rpm/redhat/samba-common","source":"RHSA-2007:1114"},{"ecosystem":"Red Hat:enterprise_linux:2.1::aw","fixed":["0:2.2.12-1.21as.8.2"],"introduced":["0"],"last_affected":[],"package":"samba-swat","purl":"pkg:rpm/redhat/samba-swat","source":"RHSA-2007:1114"},{"ecosystem":"Red Hat:enterprise_linux:2.1::es","fixed":["0:2.2.12-1.21as.8.2"],"introduced":["0"],"last_affected":[],"package":"samba","purl":"pkg:rpm/redhat/samba","source":"RHSA-2007:1114"},{"ecosystem":"Red Hat:enterprise_linux:2.1::es","fixed":["0:2.2.12-1.21as.8.2"],"introduced":["0"],"last_affected":[],"package":"samba-client","purl":"pkg:rpm/redhat/samba-client","source":"RHSA-2007:1114"},{"ecosystem":"Red Hat:enterprise_linux:2.1::es","fixed":["0:2.2.12-1.21as.8.2"],"introduced":["0"],"last_affected":[],"package":"samba-common","purl":"pkg:rpm/redhat/samba-common","source":"RHSA-2007:1114"},{"ecosystem":"Red Hat:enterprise_linux:2.1::es","fixed":["0:2.2.12-1.21as.8.2"],"introduced":["0"],"last_affected":[],"package":"samba-swat","purl":"pkg:rpm/redhat/samba-swat","source":"RHSA-2007:1114"},{"ecosystem":"Red Hat:enterprise_linux:2.1::ws","fixed":["0:2.2.12-1.21as.8.2"],"introduced":["0"],"last_affected":[],"package":"samba","purl":"pkg:rpm/redhat/samba","source":"RHSA-2007:1114"},{"ecosystem":"Red Hat:enterprise_linux:2.1::ws","fixed":["0:2.2.12-1.21as.8.2"],"introduced":["0"],"last_affected":[],"package":"samba-client","purl":"pkg:rpm/redhat/samba-client","source":"RHSA-2007:1114"},{"ecosystem":"Red Hat:enterprise_linux:2.1::ws","fixed":["0:2.2.12-1.21as.8.2"],"introduced":["0"],"last_affected":[],"package":"samba-common","purl":"pkg:rpm/redhat/samba-common","source":"RHSA-2007:1114"},{"ecosystem":"Red Hat:enterprise_linux:2.1::ws","fixed":["0:2.2.12-1.21as.8.2"],"introduced":["0"],"last_affected":[],"package":"samba-swat","purl":"pkg:rpm/redhat/samba-swat","source":"RHSA-2007:1114"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["0:3.0.9-1.3E.14.3"],"introduced":["0"],"last_affected":[],"package":"samba","purl":"pkg:rpm/redhat/samba","source":"RHSA-2007:1114"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["0:3.0.9-1.3E.14.3"],"introduced":["0"],"last_affected":[],"package":"samba-client","purl":"pkg:rpm/redhat/samba-client","source":"RHSA-2007:1114"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["0:3.0.9-1.3E.14.3"],"introduced":["0"],"last_affected":[],"package":"samba-common","purl":"pkg:rpm/redhat/samba-common","source":"RHSA-2007:1114"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["0:3.0.9-1.3E.14.3"],"introduced":["0"],"last_affected":[],"package":"samba-debuginfo","purl":"pkg:rpm/redhat/samba-debuginfo","source":"RHSA-2007:1114"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["0:3.0.9-1.3E.14.3"],"introduced":["0"],"last_affected":[],"package":"samba-swat","purl":"pkg:rpm/redhat/samba-swat","source":"RHSA-2007:1114"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["0:3.0.9-1.3E.14.3"],"introduced":["0"],"last_affected":[],"package":"samba","purl":"pkg:rpm/redhat/samba","source":"RHSA-2007:1114"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["0:3.0.9-1.3E.14.3"],"introduced":["0"],"last_affected":[],"package":"samba-client","purl":"pkg:rpm/redhat/samba-client","source":"RHSA-2007:1114"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["0:3.0.9-1.3E.14.3"],"introduced":["0"],"last_affected":[],"package":"samba-common","purl":"pkg:rpm/redhat/samba-common","source":"RHSA-2007:1114"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["0:3.0.9-1.3E.14.3"],"introduced":["0"],"last_affected":[],"package":"samba-debuginfo","purl":"pkg:rpm/redhat/samba-debuginfo","source":"RHSA-2007:1114"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["0:3.0.9-1.3E.14.3"],"introduced":["0"],"last_affected":[],"package":"samba-swat","purl":"pkg:rpm/redhat/samba-swat","source":"RHSA-2007:1114"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["0:3.0.9-1.3E.14.3"],"introduced":["0"],"last_affected":[],"package":"samba","purl":"pkg:rpm/redhat/samba","source":"RHSA-2007:1114"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["0:3.0.9-1.3E.14.3"],"introduced":["0"],"last_affected":[],"package":"samba-client","purl":"pkg:rpm/redhat/samba-client","source":"RHSA-2007:1114"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["0:3.0.9-1.3E.14.3"],"introduced":["0"],"last_affected":[],"package":"samba-common","purl":"pkg:rpm/redhat/samba-common","source":"RHSA-2007:1114"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["0:3.0.9-1.3E.14.3"],"introduced":["0"],"last_affected":[],"package":"samba-debuginfo","purl":"pkg:rpm/redhat/samba-debuginfo","source":"RHSA-2007:1114"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["0:3.0.9-1.3E.14.3"],"introduced":["0"],"last_affected":[],"package":"samba-swat","purl":"pkg:rpm/redhat/samba-swat","source":"RHSA-2007:1114"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["0:3.0.9-1.3E.14.3"],"introduced":["0"],"last_affected":[],"package":"samba","purl":"pkg:rpm/redhat/samba","source":"RHSA-2007:1114"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["0:3.0.9-1.3E.14.3"],"introduced":["0"],"last_affected":[],"package":"samba-client","purl":"pkg:rpm/redhat/samba-client","source":"RHSA-2007:1114"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["0:3.0.9-1.3E.14.3"],"introduced":["0"],"last_affected":[],"package":"samba-common","purl":"pkg:rpm/redhat/samba-common","source":"RHSA-2007:1114"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["0:3.0.9-1.3E.14.3"],"introduced":["0"],"last_affected":[],"package":"samba-debuginfo","purl":"pkg:rpm/redhat/samba-debuginfo","source":"RHSA-2007:1114"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["0:3.0.9-1.3E.14.3"],"introduced":["0"],"last_affected":[],"package":"samba-swat","purl":"pkg:rpm/redhat/samba-swat","source":"RHSA-2007:1114"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:3.0.25b-1.el4_6.4"],"introduced":["0"],"last_affected":[],"package":"samba","purl":"pkg:rpm/redhat/samba","source":"RHSA-2007:1114"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:3.0.25b-1.el4_6.4"],"introduced":["0"],"last_affected":[],"package":"samba-client","purl":"pkg:rpm/redhat/samba-client","source":"RHSA-2007:1114"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:3.0.25b-1.el4_6.4"],"introduced":["0"],"last_affected":[],"package":"samba-common","purl":"pkg:rpm/redhat/samba-common","source":"RHSA-2007:1114"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:3.0.25b-1.el4_6.4"],"introduced":["0"],"last_affected":[],"package":"samba-debuginfo","purl":"pkg:rpm/redhat/samba-debuginfo","source":"RHSA-2007:1114"}],"prev":{"headline":"SQL injection in n/a","id":"CVE-2007-6014"},"products":["n/a"],"published":"2007-12-13","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-2007-2446","kev_date_added":null,"published":"2007-05-14"},{"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":"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":"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 with domain logons enabled via a stack-based buffer overflow in nmbd.","url":"https://insights.sbomify.com/CVE-2007-6015/"}