{"answers":{"affected":"It affects 43 products.","exploited":"There is no known exploitation of CVE-2021-27252 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-27252 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-27252 is a high-severity command injection vulnerability in Netgear D7800 Firmware, published on 14 Apr 2021. 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-2021-27252 and fix it if it is affected.\n\nWhat it is: CVE-2021-27252 is a high-severity command injection vulnerability in Netgear D7800 Firmware, published on 14 Apr 2021. 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-2021-27252 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-2021-27252/ (Markdown: https://insights.sbomify.com/CVE-2021-27252/index.md)","id":"CVE-2021-27252","markdown":"https://insights.sbomify.com/CVE-2021-27252/index.md","name":"CVE-2021-27252","record":{"aliases":["GHSA-gqcm-w2xr-9g8j"],"analysis":{"component_type":"network_device","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"NETGEAR R7800 router","requires_auth":"none","summary":"Network-adjacent attackers can execute arbitrary code as root on NETGEAR R7800 routers via improper validation in DHCP opcode handling.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"zdi","cpe":[{"product":"br200_firmware","vendor":"netgear"},{"product":"br500_firmware","vendor":"netgear"},{"product":"d7800_firmware","vendor":"netgear"},{"product":"ex6100v2_firmware","vendor":"netgear"},{"product":"ex6150_firmware","vendor":"netgear"},{"product":"ex6250_firmware","vendor":"netgear"},{"product":"ex6400_firmware","vendor":"netgear"},{"product":"ex6400v2_firmware","vendor":"netgear"},{"product":"ex6410_firmware","vendor":"netgear"},{"product":"ex6420_firmware","vendor":"netgear"},{"product":"ex7300_firmware","vendor":"netgear"},{"product":"ex7300v2_firmware","vendor":"netgear"},{"product":"ex7320_firmware","vendor":"netgear"},{"product":"ex7700_firmware","vendor":"netgear"},{"product":"ex8000_firmware","vendor":"netgear"},{"product":"lbr20_firmware","vendor":"netgear"},{"product":"r7800_firmware","vendor":"netgear"},{"product":"r8900_firmware","vendor":"netgear"},{"product":"r9000_firmware","vendor":"netgear"},{"product":"rbk12_firmware","vendor":"netgear"},{"product":"rbk13_firmware","vendor":"netgear"},{"product":"rbk14_firmware","vendor":"netgear"},{"product":"rbk15_firmware","vendor":"netgear"},{"product":"rbk20_firmware","vendor":"netgear"},{"product":"rbk23_firmware","vendor":"netgear"},{"product":"rbk40_firmware","vendor":"netgear"},{"product":"rbk43_firmware","vendor":"netgear"},{"product":"rbk43s_firmware","vendor":"netgear"},{"product":"rbk44_firmware","vendor":"netgear"},{"product":"rbk50_firmware","vendor":"netgear"},{"product":"rbk53_firmware","vendor":"netgear"},{"product":"rbr10_firmware","vendor":"netgear"},{"product":"rbr20_firmware","vendor":"netgear"},{"product":"rbr40_firmware","vendor":"netgear"},{"product":"rbr50_firmware","vendor":"netgear"},{"product":"rbs10_firmware","vendor":"netgear"},{"product":"rbs20_firmware","vendor":"netgear"},{"product":"rbs40_firmware","vendor":"netgear"},{"product":"rbs50_firmware","vendor":"netgear"},{"product":"rbs50y_firmware","vendor":"netgear"},{"product":"xr450_firmware","vendor":"netgear"},{"product":"xr500_firmware","vendor":"netgear"},{"product":"xr700_firmware","vendor":"netgear"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of NETGEAR R7800 firmware version 1.0.2.76. Authentication is not required to exploit this vulnerability. The specific flaw exists within the handling of the vendor_specific DHCP opcode. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-12216.","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 R7800","id":"CVE-2021-27252","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"netgear:d7800_firmware","products":["netgear:d7800_firmware","netgear:r7800_firmware","netgear:r8900_firmware","netgear:r9000_firmware","netgear:rbk20_firmware","netgear:rbk40_firmware","netgear:rbk50_firmware","netgear:rbr20_firmware","netgear:rbr40_firmware","netgear:rbr50_firmware","netgear:rbs20_firmware","netgear:rbs40_firmware","netgear:rbs50_firmware","netgear:xr500_firmware","netgear:xr700_firmware"],"type":"command_injection","year":"2021"},"n_packages":0,"n_references":2,"next":{"headline":"Command injection in R7800","id":"CVE-2021-27253"},"packages":[],"prev":{"headline":"Other in R7800","id":"CVE-2021-27251"},"products":["R7800"],"published":"2021-04-14","related":[{"cvss_score":8.8,"headline":"Other in R7800","id":"CVE-2021-27251","kev_date_added":null,"published":"2021-04-14"},{"cvss_score":8.8,"headline":"Command injection in R7800","id":"CVE-2021-27253","kev_date_added":null,"published":"2021-04-14"},{"cvss_score":8.8,"headline":"Command injection in R7800","id":"CVE-2021-27256","kev_date_added":null,"published":"2021-03-05"},{"cvss_score":6.5,"headline":"Other in R7800","id":"CVE-2021-27257","kev_date_added":null,"published":"2021-03-05"},{"cvss_score":6.3,"headline":"Hardcoded credentials in R7800","id":"CVE-2021-27254","kev_date_added":null,"published":"2021-03-05"},{"cvss_score":6.3,"headline":"Missing authorization in R7800","id":"CVE-2021-27255","kev_date_added":null,"published":"2021-03-05"}],"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-03","vendors":["NETGEAR"]},"summary":"Network-adjacent attackers can execute arbitrary code as root on NETGEAR R7800 routers via improper validation in DHCP opcode handling.","url":"https://insights.sbomify.com/CVE-2021-27252/"}