{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2015-5602 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2015-5602 is a high-severity vulnerability in n/a, published on 17 Nov 2015. 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-2015-5602 and fix it if it is affected.\n\nWhat it is: CVE-2015-5602 is a high-severity vulnerability in n/a, published on 17 Nov 2015. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2015-5602 exists.\n\nAffected product: n/a. 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-2015-5602/ (Markdown: https://insights.sbomify.com/CVE-2015-5602/index.md)","id":"CVE-2015-5602","markdown":"https://insights.sbomify.com/CVE-2015-5602/index.md","name":"CVE-2015-5602","record":{"aliases":["DEBIAN-CVE-2015-5602","DLA-382-1","DSA-3440-1","GHSA-cxqf-2pgv-vx9p","MGASA-2015-0443","UBUNTU-CVE-2015-5602"],"analysis":{"component_type":"operating_system","fix_type":"upgrade","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Sudo utility","requires_auth":"low_privilege","summary":"Local attackers can escalate privileges via symlink attacks in sudoedit when wildcards are used in sudoers paths.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"sudo","vendor":"sudo_project"}],"cvss":{"score":7.2,"severity":"high","source":"nvd","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","version":"2.0"},"cwes":[{"id":"CWE-264","name":null}],"description":"sudoedit in Sudo before 1.8.15 allows local users to gain privileges via a symlink attack on a file whose full path is defined using multiple wildcards in /etc/sudoers, as demonstrated by \"/home/*/*/file.txt.\"","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2015-07-28","github_poc":2,"max_poc_stars":15,"metasploit":0,"nuclei":0,"refs":[{"date":"2017-12-16T00:23:30Z","kind":"github_poc","ref":"https://github.com/t0kx/privesc-CVE-2015-5602","stars":15,"title":"Sudo \u003c= 1.8.14 Local Privilege Escalation and vulnerable container"},{"date":"2015-07-28","kind":"exploitdb","ref":"37710","stars":null,"title":"Sudo 1.8.14 (RHEL 5/6/7 / Ubuntu) - 'Sudoedit' Unauthorized Privilege Escalation"},{"date":"2019-01-06T23:50:01Z","kind":"github_poc","ref":"https://github.com/cved-sources/cve-2015-5602","stars":0,"title":"cve-2015-5602"}],"tier":"weaponised"},"has_fix":true,"headline":"Privilege escalation in n/a","id":"CVE-2015-5602","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"privilege_escalation","year":"2015"},"n_packages":0,"n_references":9,"next":{"headline":"Code injection in n/a","id":"CVE-2015-5603"},"packages":[],"prev":{"headline":"File upload in n/a","id":"CVE-2015-5601"},"products":["n/a"],"published":"2015-11-17","related":[{"cvss_score":8.2,"headline":"Command injection in n/a","id":"CVE-2017-1000368","kev_date_added":null,"published":"2017-06-05"},{"cvss_score":7.1,"headline":"Memory corruption in n/a","id":"CVE-2022-43995","kev_date_added":null,"published":"2022-11-02"},{"cvss_score":7,"headline":"Privilege escalation in n/a","id":"CVE-2023-42465","kev_date_added":null,"published":"2023-12-22"},{"cvss_score":7,"headline":"Race condition in n/a","id":"CVE-2019-18684","kev_date_added":null,"published":"2019-11-04"},{"cvss_score":7,"headline":"Race condition in n/a","id":"CVE-2015-8239","kev_date_added":null,"published":"2017-10-10"},{"cvss_score":6.6,"headline":"Sudo: improper handling of ipa_hostname leads to privilege mismanagement","id":"CVE-2023-7090","kev_date_added":null,"published":"2023-12-23"}],"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)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Local attackers can escalate privileges via symlink attacks in sudoedit when wildcards are used in sudoers paths.","url":"https://insights.sbomify.com/CVE-2015-5602/"}