{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2010-0787 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2010-0787 is a medium-severity path traversal vulnerability in Samba Samba, published on 2 Mar 2010. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2010-0787 and fix it if it is affected.\n\nWhat it is: CVE-2010-0787 is a medium-severity path traversal vulnerability in Samba Samba, published on 2 Mar 2010. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2010-0787 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-2010-0787/ (Markdown: https://insights.sbomify.com/CVE-2010-0787/index.md)","id":"CVE-2010-0787","markdown":"https://insights.sbomify.com/CVE-2010-0787/index.md","name":"CVE-2010-0787","record":{"aliases":["DEBIAN-CVE-2010-0787","ECHO-af91-6cd2-31fd","GHSA-55gw-qcg5-xjrx"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Samba client","requires_auth":"low_privilege","summary":"Local attackers can exploit a symlink vulnerability in the Samba mount utility to mount shares on arbitrary directories and escalate privileges.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"samba","vendor":"samba"}],"cvss":{"score":4.4,"severity":"medium","source":"nvd","vector":"AV:L/AC:M/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"description":"client/mount.cifs.c in mount.cifs in smbfs in Samba 3.0.22, 3.0.28a, 3.2.3, 3.3.2, 3.4.0, and 3.4.5 allows local users to mount a CIFS share on an arbitrary mountpoint, and gain privileges, via a symlink attack on the mountpoint directory file.","ecosystems":[],"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":"Path traversal in n/a","id":"CVE-2010-0787","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"samba:samba","products":["samba:samba"],"type":"path_traversal","year":"2010"},"n_packages":0,"n_references":18,"next":{"headline":"Path traversal in n/a","id":"CVE-2010-0788"},"packages":[],"prev":{"headline":"Denial of service in n/a","id":"CVE-2010-0786"},"products":["n/a"],"published":"2010-03-02","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":"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-07","vendors":["n/a"]},"summary":"Local attackers can exploit a symlink vulnerability in the Samba mount utility to mount shares on arbitrary directories and escalate privileges.","url":"https://insights.sbomify.com/CVE-2010-0787/"}