{"answers":{"affected":"It affects 14 products.","exploited":"There is no known exploitation of CVE-2018-21225 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2018-21225 yet. Limit exposure of the affected software until one is available.","what":"CVE-2018-21225 is a medium-severity command injection vulnerability in Netgear D7000 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-21225 and fix it if it is affected.\n\nWhat it is: CVE-2018-21225 is a medium-severity command injection vulnerability in Netgear D7000 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-21225 in the wild and no public exploit code.\n\nAffected product: Netgear D7000 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-21225/ (Markdown: https://insights.sbomify.com/CVE-2018-21225/index.md)","id":"CVE-2018-21225","markdown":"https://insights.sbomify.com/CVE-2018-21225/index.md","name":"CVE-2018-21225","record":{"aliases":["GHSA-98h9-j45j-465x"],"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 vulnerable NETGEAR routers via command injection flaws.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"d7000_firmware","vendor":"netgear"},{"product":"d7800_firmware","vendor":"netgear"},{"product":"d8500_firmware","vendor":"netgear"},{"product":"r6700_firmware","vendor":"netgear"},{"product":"r6800_firmware","vendor":"netgear"},{"product":"r6900_firmware","vendor":"netgear"},{"product":"r6900p_firmware","vendor":"netgear"},{"product":"r7000_firmware","vendor":"netgear"},{"product":"r7000p_firmware","vendor":"netgear"},{"product":"r7500_firmware","vendor":"netgear"},{"product":"r7800_firmware","vendor":"netgear"},{"product":"r8300_firmware","vendor":"netgear"},{"product":"r8500_firmware","vendor":"netgear"},{"product":"r9000_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-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"Certain NETGEAR devices are affected by command injection by an authenticated user. This affects D7000 before 1.0.1.60, D7800 before 1.0.1.34, D8500 before 1.0.3.39, R6700 before 1.0.1.30, R6700v2 before 1.2.0.16, R6800 before 1.2.0.16, R6900 before 1.0.1.30, R6900P before 1.2.0.22, R6900v2 before 1.2.0.16, R7000 before 1.0.9.12, R7000P before 1.2.0.22, R7500v2 before 1.0.3.20, R7800 before 1.0.2.44, R8300 before 1.0.2.106, R8500 before 1.0.2.106, and R9000 before 1.0.2.52.","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-21225","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"netgear:d7000_firmware","products":["netgear:d7000_firmware","netgear:d7800_firmware","netgear:d8500_firmware","netgear:r6700_firmware","netgear:r6800_firmware","netgear:r6900_firmware","netgear:r6900p_firmware","netgear:r7000_firmware","netgear:r7000p_firmware","netgear:r7500_firmware","netgear:r7800_firmware","netgear:r8300_firmware","netgear:r8500_firmware","netgear:r9000_firmware"],"type":"command_injection","year":"2018"},"n_packages":0,"n_references":1,"next":{"headline":"Auth bypass in n/a","id":"CVE-2018-21226"},"packages":[],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2018-21224"},"products":["n/a"],"published":"2020-04-28","related":[{"cvss_score":9.4,"headline":"Auth bypass in n/a","id":"CVE-2021-45497","kev_date_added":null,"published":"2021-12-26"},{"cvss_score":9.1,"headline":"Auth bypass in n/a","id":"CVE-2021-45496","kev_date_added":null,"published":"2021-12-26"},{"cvss_score":8.8,"headline":"Misconfiguration in n/a","id":"CVE-2018-21169","kev_date_added":null,"published":"2020-04-27"},{"cvss_score":8.8,"headline":"Cross-site request forgery in n/a","id":"CVE-2017-18791","kev_date_added":null,"published":"2020-04-21"},{"cvss_score":8.6,"headline":"Weak cryptography in n/a","id":"CVE-2021-45512","kev_date_added":null,"published":"2021-12-26"},{"cvss_score":8.4,"headline":"Information disclosure in n/a","id":"CVE-2017-18843","kev_date_added":null,"published":"2020-04-20"},{"cvss_score":8.4,"headline":"Information disclosure in n/a","id":"CVE-2017-18844","kev_date_added":null,"published":"2020-04-20"}],"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 vulnerable NETGEAR routers via command injection flaws.","url":"https://insights.sbomify.com/CVE-2018-21225/"}