{"answers":{"affected":"It affects 52 products.","exploited":"There is no known exploitation of CVE-2021-34982 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-34982 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-34982 is a high-severity memory corruption vulnerability in Netgear D6220 Firmware, published on 7 May 2024. 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-34982 and fix it if it is affected.\n\nWhat it is: CVE-2021-34982 is a high-severity memory corruption vulnerability in Netgear D6220 Firmware, published on 7 May 2024. 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-34982 in the wild and no public exploit code.\n\nAffected product: Netgear D6220 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-34982/ (Markdown: https://insights.sbomify.com/CVE-2021-34982/index.md)","id":"CVE-2021-34982","markdown":"https://insights.sbomify.com/CVE-2021-34982/index.md","name":"CVE-2021-34982","record":{"aliases":["GHSA-3g79-p8hq-4qgp"],"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 router","requires_auth":"none","summary":"Network-adjacent attackers can execute arbitrary code as root on NETGEAR routers via a stack-based buffer overflow in the httpd service.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"zdi","cpe":[{"product":"d6220_firmware","vendor":"netgear"},{"product":"d6400_firmware","vendor":"netgear"},{"product":"d7000v2_firmware","vendor":"netgear"},{"product":"dc112a_firmware","vendor":"netgear"},{"product":"dgn2200v4_firmware","vendor":"netgear"},{"product":"ex3700_firmware","vendor":"netgear"},{"product":"ex3800_firmware","vendor":"netgear"},{"product":"ex6120_firmware","vendor":"netgear"},{"product":"ex6130_firmware","vendor":"netgear"},{"product":"ex7000_firmware","vendor":"netgear"},{"product":"ex7500_firmware","vendor":"netgear"},{"product":"lax20_firmware","vendor":"netgear"},{"product":"mr60_firmware","vendor":"netgear"},{"product":"mr80_firmware","vendor":"netgear"},{"product":"ms60_firmware","vendor":"netgear"},{"product":"ms80_firmware","vendor":"netgear"},{"product":"r6400_firmware","vendor":"netgear"},{"product":"r6400v2_firmware","vendor":"netgear"},{"product":"r6700v3_firmware","vendor":"netgear"},{"product":"r6900p_firmware","vendor":"netgear"},{"product":"r7000_firmware","vendor":"netgear"},{"product":"r7000p_firmware","vendor":"netgear"},{"product":"r7100lg_firmware","vendor":"netgear"},{"product":"r7850_firmware","vendor":"netgear"},{"product":"r7900p_firmware","vendor":"netgear"},{"product":"r7960p_firmware","vendor":"netgear"},{"product":"r8000_firmware","vendor":"netgear"},{"product":"r8000p_firmware","vendor":"netgear"},{"product":"r8300_firmware","vendor":"netgear"},{"product":"r8500_firmware","vendor":"netgear"},{"product":"rax15_firmware","vendor":"netgear"},{"product":"rax200_firmware","vendor":"netgear"},{"product":"rax20_firmware","vendor":"netgear"},{"product":"rax35v2_firmware","vendor":"netgear"},{"product":"rax38v2_firmware","vendor":"netgear"},{"product":"rax40v2_firmware","vendor":"netgear"},{"product":"rax42_firmware","vendor":"netgear"},{"product":"rax43_firmware","vendor":"netgear"},{"product":"rax45_firmware","vendor":"netgear"},{"product":"rax48_firmware","vendor":"netgear"},{"product":"rax50_firmware","vendor":"netgear"},{"product":"rax50s_firmware","vendor":"netgear"},{"product":"rax75_firmware","vendor":"netgear"},{"product":"rax80_firmware","vendor":"netgear"},{"product":"raxe450_firmware","vendor":"netgear"},{"product":"raxe500_firmware","vendor":"netgear"},{"product":"rs400_firmware","vendor":"netgear"},{"product":"v6510-1fxaus_firmware","vendor":"netgear"},{"product":"wndr3400v3_firmware","vendor":"netgear"},{"product":"wnr3500lv2_firmware","vendor":"netgear"},{"product":"xr1000_firmware","vendor":"netgear"},{"product":"xr300_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-787","name":"Out-of-bounds Write"},{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"description":"NETGEAR Multiple Routers httpd Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of multiple NETGEAR routers. Authentication is not required to exploit this vulnerability.\n\nThe specific flaw exists within the httpd service, which listens on TCP port 80 by default. When parsing the strings file, the process does not properly validate the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root.\n\n. Was ZDI-CAN-13709.","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":"NETGEAR Multiple Routers httpd Stack-based Buffer Overflow Remote Code Execution Vulnerability","id":"CVE-2021-34982","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"netgear:d6220_firmware","products":["netgear:d6220_firmware","netgear:d6400_firmware","netgear:r6400_firmware","netgear:r6900p_firmware","netgear:r7000_firmware","netgear:r7000p_firmware","netgear:r7100lg_firmware","netgear:r7900p_firmware","netgear:r8000_firmware","netgear:r8000p_firmware","netgear:r8300_firmware","netgear:r8500_firmware","netgear:rax200_firmware","netgear:rax50_firmware","netgear:rax75_firmware","netgear:rax80_firmware","netgear:xr300_firmware"],"type":"memory_corruption","year":"2021"},"n_packages":0,"n_references":2,"next":{"headline":"NETGEAR Multiple Routers httpd Missing Authentication for Critical Function Information Disclosure Vulnerability","id":"CVE-2021-34983"},"packages":[],"prev":{"headline":"Linux Kernel Bluetooth CMTP Module Double Free Privilege Escalation Vulnerability","id":"CVE-2021-34981"},"products":["Multiple Routers"],"published":"2024-05-07","related":[{"cvss_score":8.8,"headline":"NETGEAR Multiple Routers Remote Code Execution","id":"CVE-2016-6277","kev_date_added":"2022-03-07","published":"2016-12-14"},{"cvss_score":9.6,"headline":"Memory corruption in n/a","id":"CVE-2021-45527","kev_date_added":null,"published":"2021-12-26"},{"cvss_score":9.6,"headline":"Memory corruption in n/a","id":"CVE-2021-45610","kev_date_added":null,"published":"2021-12-26"},{"cvss_score":9.6,"headline":"Memory corruption in n/a","id":"CVE-2021-45638","kev_date_added":null,"published":"2021-12-26"},{"cvss_score":8.8,"headline":"Command injection in n/a","id":"CVE-2023-33533","kev_date_added":null,"published":"2023-06-06"},{"cvss_score":8.8,"headline":"Memory corruption in R6700v3","id":"CVE-2022-27643","kev_date_added":null,"published":"2023-03-29"}],"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":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-08-04","vendors":["NETGEAR"]},"summary":"Network-adjacent attackers can execute arbitrary code as root on NETGEAR routers via a stack-based buffer overflow in the httpd service.","url":"https://insights.sbomify.com/CVE-2021-34982/"}