{"answers":{"affected":"It affects 8 products.","exploited":"There is no known exploitation of CVE-2018-21187 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2018-21187 yet. Limit exposure of the affected software until one is available.","what":"CVE-2018-21187 is a medium-severity memory corruption vulnerability in Netgear D7800 Firmware, published on 28 Apr 2020. 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-2018-21187 and fix it if it is affected.\n\nWhat it is: CVE-2018-21187 is a medium-severity memory corruption vulnerability in Netgear D7800 Firmware, published on 28 Apr 2020. 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-2018-21187 in the wild and no public exploit code.\n\nAffected product: Netgear D7800 Firmware. 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-21187/ (Markdown: https://insights.sbomify.com/CVE-2018-21187/index.md)","id":"CVE-2018-21187","markdown":"https://insights.sbomify.com/CVE-2018-21187/index.md","name":"CVE-2018-21187","record":{"aliases":["GHSA-6q2w-mf9r-hrph"],"analysis":{"component_type":"network_device","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"NETGEAR router","requires_auth":"high_privilege","summary":"An authenticated attacker can trigger a stack-based buffer overflow in NETGEAR routers, potentially leading to arbitrary code execution.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"d7800_firmware","vendor":"netgear"},{"product":"r7500_firmware","vendor":"netgear"},{"product":"r7800_firmware","vendor":"netgear"},{"product":"r9000_firmware","vendor":"netgear"},{"product":"wndr3700_firmware","vendor":"netgear"},{"product":"wndr4300_firmware","vendor":"netgear"},{"product":"wndr4500_firmware","vendor":"netgear"},{"product":"wnr2000_firmware","vendor":"netgear"}],"cvss":{"score":6.8,"severity":"medium","source":"cna","vector":"CVSS:3.0/AC:L/AV:A/A:H/C:H/I:H/PR:H/S:U/UI:N","version":"3.0"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"description":"Certain NETGEAR devices are affected by a stack-based buffer overflow by an authenticated user. This affects D7800 before 1.0.1.30, R7500 before 1.0.0.122, R7500v2 before 1.0.3.24, R7800 before 1.0.2.40, R9000 before 1.0.2.52, WNDR3700v4 before 1.0.2.92, WNDR4300 before 1.0.2.94, WNDR4300v2 before 1.0.0.50, WNDR4500v3 before 1.0.0.50, and WNR2000v5 before 1.0.0.62.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Memory corruption in n/a","id":"CVE-2018-21187","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"netgear:d7800_firmware","products":["netgear:d7800_firmware","netgear:r7500_firmware","netgear:r7800_firmware","netgear:r9000_firmware","netgear:wndr3700_firmware","netgear:wndr4300_firmware","netgear:wndr4500_firmware","netgear:wnr2000_firmware"],"type":"memory_corruption","year":"2018"},"n_packages":0,"n_references":1,"next":{"headline":"Memory corruption in n/a","id":"CVE-2018-21188"},"packages":[],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2018-21186"},"products":["n/a"],"published":"2020-04-28","related":[{"cvss_score":9.6,"headline":"Command injection in n/a","id":"CVE-2021-45618","kev_date_added":null,"published":"2021-12-26"},{"cvss_score":8.8,"headline":"NETGEAR R7800 net-cgi Out-Of-Bounds Write Remote Code Execution Vulnerability","id":"CVE-2021-34947","kev_date_added":null,"published":"2024-05-07"},{"cvss_score":8.8,"headline":"Integer overflow in R6700v3","id":"CVE-2022-27641","kev_date_added":null,"published":"2023-03-29"},{"cvss_score":8.8,"headline":"Command injection in n/a","id":"CVE-2020-26909","kev_date_added":null,"published":"2020-10-09"},{"cvss_score":8.8,"headline":"Memory corruption in n/a","id":"CVE-2018-21202","kev_date_added":null,"published":"2020-04-28"},{"cvss_score":8.8,"headline":"Memory corruption in n/a","id":"CVE-2018-21204","kev_date_added":null,"published":"2020-04-28"},{"cvss_score":8.8,"headline":"Memory corruption in n/a","id":"CVE-2018-21205","kev_date_added":null,"published":"2020-04-28"}],"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-05","vendors":["n/a"]},"summary":"An authenticated attacker can trigger a stack-based buffer overflow in NETGEAR routers, potentially leading to arbitrary code execution.","url":"https://insights.sbomify.com/CVE-2018-21187/"}