{"answers":{"affected":"It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2018-0171 in the wild since at least 3 Nov 2021.","fix":"No fix has been published for CVE-2018-0171 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 3 May 2022.","what":"CVE-2018-0171 is a high-severity memory corruption vulnerability in Cisco Ios, published on 28 Mar 2018. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-0171 and fix it if it is affected.\n\nWhat it is: CVE-2018-0171 is a high-severity memory corruption vulnerability in Cisco Ios, published on 28 Mar 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2018-0171 in the wild since at least 3 Nov 2021.\n\nAffected product: Cisco Ios. 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-2018-0171/ (Markdown: https://insights.sbomify.com/CVE-2018-0171/index.md)","id":"CVE-2018-0171","markdown":"https://insights.sbomify.com/CVE-2018-0171/index.md","name":"CVE-2018-0171","record":{"aliases":["GHSA-4w6g-87mh-x63x"],"analysis":{"component_type":"network_device","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Cisco IOS Software","requires_auth":"none","summary":"Unauthenticated remote attackers can trigger a buffer overflow via crafted Smart Install messages, leading to arbitrary code execution or device reload.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"cisco","cpe":[{"product":"ios","vendor":"cisco"}],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-20","name":"Improper Input Validation"}],"description":"A vulnerability in the Smart Install feature of Cisco IOS Software and Cisco IOS XE Software could allow an unauthenticated, remote attacker to trigger a reload of an affected device, resulting in a denial of service (DoS) condition, or to execute arbitrary code on an affected device. The vulnerability is due to improper validation of packet data. An attacker could exploit this vulnerability by sending a crafted Smart Install message to an affected device on TCP port 4786. A successful exploit could allow the attacker to cause a buffer overflow on the affected device, which could have the following impacts: Triggering a reload of the device, Allowing the attacker to execute arbitrary code on the device, Causing an indefinite loop on the affected device that triggers a watchdog crash. Cisco Bug IDs: CSCvg76186.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2018-03-29","github_poc":1,"max_poc_stars":18,"metasploit":0,"nuclei":1,"refs":[{"date":"2023-02-01T03:51:56Z","kind":"github_poc","ref":"https://github.com/AlrikRr/Cisco-Smart-Exploit","stars":18,"title":"Cisco SmartInstall Exploit [CVE-2018-0171]"},{"date":"2018-03-29","kind":"exploitdb","ref":"44451","stars":null,"title":"Cisco Smart Install - Crash (PoC)"},{"date":null,"kind":"nuclei","ref":"javascript/cves/2018/CVE-2018-0171.yaml","stars":null,"title":"Cisco Smart Install - Configuration Download"}],"tier":"exploited"},"has_fix":null,"headline":"Cisco IOS and IOS XE Software Smart Install Remote Code Execution","id":"CVE-2018-0171","indexable":true,"kev":{"dateAdded":"2021-11-03","dueDate":"2022-05-03","knownRansomwareCampaignUse":"Unknown","product":"IOS and IOS XE","requiredAction":"Apply updates per vendor instructions.","vendorProject":"Cisco","vulnerabilityName":"Cisco IOS and IOS XE Software Smart Install Remote Code Execution Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":"cisco:ios","products":["cisco:ios"],"type":"memory_corruption","year":"2018"},"n_packages":0,"n_references":6,"next":{"headline":"Cisco IOS and IOS XE Software Improper Input Validation","id":"CVE-2018-0172"},"packages":[],"prev":{"headline":"Use after free in Cisco IOS XE","id":"CVE-2018-0170"},"products":["Cisco IOS and IOS XE"],"published":"2018-03-28","related":[{"cvss_score":9.8,"headline":"Cisco IOS and IOS XE Software DHCP Remote Code Execution","id":"CVE-2017-12240","kev_date_added":"2022-03-03","published":"2017-09-28"},{"cvss_score":9.8,"headline":"Cisco IOS and IOS XE Remote Code Execution","id":"CVE-2017-3881","kev_date_added":"2022-03-25","published":"2017-03-17"},{"cvss_score":8.8,"headline":"Cisco IOS, XR, and XE Software Buffer Overflow","id":"CVE-2018-0167","kev_date_added":"2022-03-03","published":"2018-03-28"},{"cvss_score":8.8,"headline":"Cisco IOS and IOS XE Software SNMP Remote Code Execution","id":"CVE-2017-6736","kev_date_added":"2022-03-03","published":"2017-07-17"},{"cvss_score":8.8,"headline":"Cisco IOS and IOS XE Software SNMP Remote Code Execution","id":"CVE-2017-6737","kev_date_added":"2022-03-03","published":"2017-07-17"},{"cvss_score":8.8,"headline":"Cisco IOS and IOS XE Software SNMP Remote Code Execution","id":"CVE-2017-6738","kev_date_added":"2022-03-03","published":"2017-07-17"},{"cvss_score":8.8,"headline":"Cisco IOS and IOS XE Software SNMP Remote Code Execution","id":"CVE-2017-6739","kev_date_added":"2022-03-03","published":"2017-07-17"}],"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":"open","licence":"CC0 1.0","name":"CISA KEV"},{"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":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-01-12","vendors":["n/a"]},"summary":"Unauthenticated remote attackers can trigger a buffer overflow via crafted Smart Install messages, leading to arbitrary code execution or device reload.","url":"https://insights.sbomify.com/CVE-2018-0171/"}