{"answers":{"affected":"It affects 3 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2002-1318 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2002-1318 is a critical memory corruption vulnerability in Samba Samba, published on 1 Sep 2004. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2002-1318 and fix it if it is affected.\n\nWhat it is: CVE-2002-1318 is a critical memory corruption vulnerability in Samba Samba, published on 1 Sep 2004. 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-2002-1318 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-2002-1318/ (Markdown: https://insights.sbomify.com/CVE-2002-1318/index.md)","id":"CVE-2002-1318","markdown":"https://insights.sbomify.com/CVE-2002-1318/index.md","name":"CVE-2002-1318","record":{"aliases":["DEBIAN-CVE-2002-1318","DSA-200","GHSA-746r-2wrh-hhjx"],"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 server","requires_auth":"none","summary":"Remote attackers can trigger a buffer overflow in Samba via encrypted passwords, potentially executing arbitrary code or causing denial of service.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"cifs-9000_server","vendor":"hp"},{"product":"samba","vendor":"samba"},{"product":"irix","vendor":"sgi"}],"cvss":{"score":10,"severity":"critical","source":"nvd","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","version":"2.0"},"cwes":[],"description":"Buffer overflow in samba 2.2.2 through 2.2.6 allows remote attackers to cause a denial of service and possibly execute arbitrary code via an encrypted password that causes the overflow during decryption in which a DOS codepage string is converted to a little-endian UCS2 unicode string.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2003-04-07","github_poc":0,"max_poc_stars":null,"metasploit":1,"nuclei":0,"refs":[{"date":"2003-04-07","kind":"metasploit","ref":"exploit/multi/samba/nttrans","stars":null,"title":"Samba 2.2.2 - 2.2.6 nttrans Buffer Overflow"}],"tier":"weaponised"},"has_fix":true,"headline":"Memory corruption in n/a","id":"CVE-2002-1318","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"samba:samba","products":["samba:samba","sgi:irix"],"type":"memory_corruption","year":"2002"},"n_packages":0,"n_references":17,"next":{"headline":"Denial of service in n/a","id":"CVE-2002-1319"},"packages":[],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2002-1317"},"products":["n/a"],"published":"2004-09-01","related":[{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2003-0085","kev_date_added":null,"published":"2003-03-18"},{"cvss_score":10,"headline":"Business logic in n/a","id":"CVE-2001-0981","kev_date_added":null,"published":"2002-06-25"},{"cvss_score":10,"headline":"Path traversal in n/a","id":"CVE-2001-1162","kev_date_added":null,"published":"2002-06-25"},{"cvss_score":7.2,"headline":"Memory corruption in n/a","id":"CVE-2002-0991","kev_date_added":null,"published":"2002-08-31"}],"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":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-08","vendors":["n/a"]},"summary":"Remote attackers can trigger a buffer overflow in Samba via encrypted passwords, potentially executing arbitrary code or causing denial of service.","url":"https://insights.sbomify.com/CVE-2002-1318/"}