{"answers":{"affected":"It affects 13 products.","exploited":"There is no known exploitation of CVE-2018-21228 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2018-21228 yet. Limit exposure of the affected software until one is available.","what":"CVE-2018-21228 is a medium-severity command injection vulnerability in Netgear D7800 Firmware, published on 24 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-21228 and fix it if it is affected.\n\nWhat it is: CVE-2018-21228 is a medium-severity command injection vulnerability in Netgear D7800 Firmware, published on 24 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-21228 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-21228/ (Markdown: https://insights.sbomify.com/CVE-2018-21228/index.md)","id":"CVE-2018-21228","markdown":"https://insights.sbomify.com/CVE-2018-21228/index.md","name":"CVE-2018-21228","record":{"aliases":["GHSA-rghj-9jg6-pg5g"],"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":"Authenticated attackers can execute arbitrary commands on various NETGEAR routers and extenders via command injection vulnerabilities.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"d7800_firmware","vendor":"netgear"},{"product":"ex6100_firmware","vendor":"netgear"},{"product":"ex6150_firmware","vendor":"netgear"},{"product":"ex6200_firmware","vendor":"netgear"},{"product":"ex6400_firmware","vendor":"netgear"},{"product":"ex7300_firmware","vendor":"netgear"},{"product":"r6100_firmware","vendor":"netgear"},{"product":"r7500_firmware","vendor":"netgear"},{"product":"r7800_firmware","vendor":"netgear"},{"product":"r9000_firmware","vendor":"netgear"},{"product":"wn3000rp_firmware","vendor":"netgear"},{"product":"wndr4300_firmware","vendor":"netgear"},{"product":"wndr4500_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-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"description":"Certain NETGEAR devices are affected by command injection by an authenticated user. This affects D7800 before 1.0.1.34, EX6100v2 before 1.0.1.50, EX6150v2 before 1.0.1.50, EX6200v2 before 1.0.1.44, EX6400 before 1.0.1.60, EX7300 before 1.0.1.60, R6100 before 1.0.1.16, R7500 before 1.0.0.110, R7800 before 1.0.2.32, R9000 before 1.0.2.30, WN3000RPv3 before 1.0.2.50, WNDR4300v2 before 1.0.0.50, and WNDR4500v3 before 1.0.0.50.","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":"Command injection in n/a","id":"CVE-2018-21228","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"netgear:d7800_firmware","products":["netgear:d7800_firmware","netgear:ex6200_firmware","netgear:r6100_firmware","netgear:r7500_firmware","netgear:r7800_firmware","netgear:r9000_firmware","netgear:wndr4300_firmware","netgear:wndr4500_firmware"],"type":"command_injection","year":"2018"},"n_packages":0,"n_references":1,"next":{"headline":"Misconfiguration in n/a","id":"CVE-2018-21229"},"packages":[],"prev":{"headline":"Command injection in n/a","id":"CVE-2018-21227"},"products":["n/a"],"published":"2020-04-24","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":"Authenticated attackers can execute arbitrary commands on various NETGEAR routers and extenders via command injection vulnerabilities.","url":"https://insights.sbomify.com/CVE-2018-21228/"}