{"answers":{"affected":"It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2001-1162 exists.","fix":"No fix has been published for CVE-2001-1162 yet. Limit exposure of the affected software until one is available.","what":"CVE-2001-1162 is a critical path traversal vulnerability in Samba Samba, published on 25 Jun 2002. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2001-1162 and fix it if it is affected.\n\nWhat it is: CVE-2001-1162 is a critical path traversal vulnerability in Samba Samba, published on 25 Jun 2002. 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-2001-1162 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-2001-1162/ (Markdown: https://insights.sbomify.com/CVE-2001-1162/index.md)","id":"CVE-2001-1162","markdown":"https://insights.sbomify.com/CVE-2001-1162/index.md","name":"CVE-2001-1162","record":{"aliases":["GHSA-8wh4-jc8q-39g3"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Samba file server","requires_auth":"none","summary":"Remote attackers can overwrite files via directory traversal in Samba's log naming, requiring an upgrade to mitigate.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"cifs-9000_server","vendor":"hp"},{"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":[],"description":"Directory traversal vulnerability in the %m macro in the smb.conf configuration file in Samba before 2.2.0a allows remote attackers to overwrite certain files via a .. in a NETBIOS name, which is used as the name for a .log file.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2001-06-23","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2001-06-23","kind":"exploitdb","ref":"20968","stars":null,"title":"Samba 2.0.x/2.2 - Arbitrary File Creation"}],"tier":"weaponised"},"has_fix":null,"headline":"Path traversal in n/a","id":"CVE-2001-1162","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"samba:samba","products":["samba:samba"],"type":"path_traversal","year":"2001"},"n_packages":0,"n_references":13,"next":{"headline":"Memory corruption in n/a","id":"CVE-2001-1163"},"packages":[],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2001-1161"},"products":["n/a"],"published":"2002-06-25","related":[{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2002-1318","kev_date_added":null,"published":"2004-09-01"},{"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":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":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-08","vendors":["n/a"]},"summary":"Remote attackers can overwrite files via directory traversal in Samba's log naming, requiring an upgrade to mitigate.","url":"https://insights.sbomify.com/CVE-2001-1162/"}