{"answers":{"affected":"It affects 44 products.","exploited":"There is no known exploitation of CVE-2021-34991 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-34991 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-34991 is a high-severity memory corruption vulnerability in Netgear D6220 Firmware, published on 15 Nov 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-34991 and fix it if it is affected.\n\nWhat it is: CVE-2021-34991 is a high-severity memory corruption vulnerability in Netgear D6220 Firmware, published on 15 Nov 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-34991 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-34991/ (Markdown: https://insights.sbomify.com/CVE-2021-34991/index.md)","id":"CVE-2021-34991","markdown":"https://insights.sbomify.com/CVE-2021-34991/index.md","name":"CVE-2021-34991","record":{"aliases":["GHSA-4fwh-3qpr-42ff"],"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 R6400v2 routers via a stack buffer overflow in the UPnP service.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"zdi","cpe":[{"product":"cax80_firmware","vendor":"netgear"},{"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":"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":"wndr3400v3_firmware","vendor":"netgear"},{"product":"wnr3500lv2_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":"This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of NETGEAR R6400v2 1.0.4.106_10.0.80 routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the UPnP service, which listens on TCP port 5000 by default. When parsing the uuid request header, 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. Was ZDI-CAN-14110.","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 R6400v2","id":"CVE-2021-34991","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":"Deserialization in C1 CMS","id":"CVE-2021-34992"},"packages":[],"prev":{"headline":"Memory corruption in Desktop","id":"CVE-2021-34987"},"products":["R6400v2"],"published":"2021-11-15","related":[{"cvss_score":8,"headline":"Command injection in R6700v3","id":"CVE-2022-27647","kev_date_added":null,"published":"2023-03-29"},{"cvss_score":7.8,"headline":"Memory corruption in n/a","id":"CVE-2022-24655","kev_date_added":null,"published":"2022-03-18"},{"cvss_score":6.3,"headline":"Auth bypass in R6700v3","id":"CVE-2022-27642","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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["NETGEAR"]},"summary":"Network-adjacent attackers can execute arbitrary code as root on NETGEAR R6400v2 routers via a stack buffer overflow in the UPnP service.","url":"https://insights.sbomify.com/CVE-2021-34991/"}