{"answers":{"affected":"It affects 2 products.","exploited":"Yes. Attackers have exploited CVE-2018-0172 in the wild since at least 3 Mar 2022.","fix":"No fix has been published for CVE-2018-0172 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 17 Mar 2022.","what":"CVE-2018-0172 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-0172 and fix it if it is affected.\n\nWhat it is: CVE-2018-0172 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-0172 in the wild since at least 3 Mar 2022.\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-0172/ (Markdown: https://insights.sbomify.com/CVE-2018-0172/index.md)","id":"CVE-2018-0172","markdown":"https://insights.sbomify.com/CVE-2018-0172/index.md","name":"CVE-2018-0172","record":{"aliases":["GHSA-7f45-f5vf-rrpw"],"analysis":{"component_type":"network_device","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Cisco IOS software","requires_auth":"none","summary":"Remote attackers can cause a denial of service on Cisco IOS devices by sending crafted DHCPv4 packets that trigger a heap overflow.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"cisco","cpe":[{"product":"ios","vendor":"cisco"},{"product":"ios_xe","vendor":"cisco"}],"cvss":{"score":8.6,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/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 DHCP option 82 encapsulation functionality of Cisco IOS Software and Cisco IOS XE Software could allow an unauthenticated, remote attacker to cause an affected device to reload, resulting in a denial of service (DoS) condition. The vulnerability exists because the affected software performs incomplete input validation of option 82 information that it receives in DHCP Version 4 (DHCPv4) packets from DHCP relay agents. An attacker could exploit this vulnerability by sending a crafted DHCPv4 packet to an affected device. A successful exploit could allow the attacker to cause a heap overflow condition on the affected device, which will cause the device to reload and result in a DoS condition. Cisco Bug IDs: CSCvg62730.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"exploited"},"has_fix":null,"headline":"Cisco IOS and IOS XE Software Improper Input Validation","id":"CVE-2018-0172","indexable":true,"kev":{"dateAdded":"2022-03-03","dueDate":"2022-03-17","knownRansomwareCampaignUse":"Unknown","product":"IOS and IOS XE Software","requiredAction":"Apply updates per vendor instructions.","vendorProject":"Cisco","vulnerabilityName":"Cisco IOS and IOS XE Software Improper Input Validation Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":"cisco:ios","products":["cisco:ios","cisco:ios_xe"],"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-0173"},"packages":[],"prev":{"headline":"Cisco IOS and IOS XE Software Smart Install Remote Code Execution","id":"CVE-2018-0171"},"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)"}],"ssvc":{"automatable":"no","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-01-12","vendors":["n/a"]},"summary":"Remote attackers can cause a denial of service on Cisco IOS devices by sending crafted DHCPv4 packets that trigger a heap overflow.","url":"https://insights.sbomify.com/CVE-2018-0172/"}