{"answers":{"affected":"It affects 35 products.","exploited":"There is no known exploitation of CVE-2021-27239 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-27239 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-27239 is a high-severity memory corruption vulnerability in Netgear D6220 Firmware, published on 29 Mar 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-27239 and fix it if it is affected.\n\nWhat it is: CVE-2021-27239 is a high-severity memory corruption vulnerability in Netgear D6220 Firmware, published on 29 Mar 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-27239 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-27239/ (Markdown: https://insights.sbomify.com/CVE-2021-27239/index.md)","id":"CVE-2021-27239","markdown":"https://insights.sbomify.com/CVE-2021-27239/index.md","name":"CVE-2021-27239","record":{"aliases":["GHSA-hqww-3wrx-q5gv"],"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 firmware","requires_auth":"none","summary":"Network-adjacent attackers can execute arbitrary code as root on NETGEAR routers via a stack buffer overflow in the upnpd 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":"d7000_firmware","vendor":"netgear"},{"product":"d8500_firmware","vendor":"netgear"},{"product":"dc112a_firmware","vendor":"netgear"},{"product":"ex7000_firmware","vendor":"netgear"},{"product":"ex7500_firmware","vendor":"netgear"},{"product":"r6250_firmware","vendor":"netgear"},{"product":"r6300_firmware","vendor":"netgear"},{"product":"r6400_firmware","vendor":"netgear"},{"product":"r6700_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":"r7900_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":"rax200_firmware","vendor":"netgear"},{"product":"rax75_firmware","vendor":"netgear"},{"product":"rax80_firmware","vendor":"netgear"},{"product":"rbr750_firmware","vendor":"netgear"},{"product":"rbr850_firmware","vendor":"netgear"},{"product":"rbs40v_firmware","vendor":"netgear"},{"product":"rbs750_firmware","vendor":"netgear"},{"product":"rbs850_firmware","vendor":"netgear"},{"product":"rs400_firmware","vendor":"netgear"},{"product":"wndr3400_firmware","vendor":"netgear"},{"product":"wnr3500l_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-121","name":"Stack-based Buffer Overflow"}],"description":"This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of NETGEAR R6400 and R6700 firmware version 1.0.4.98 routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the upnpd service, which listens on UDP port 1900 by default. A crafted MX header field in an SSDP message can trigger an overflow of a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-11851.","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 Multiple Routers","id":"CVE-2021-27239","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"netgear:d6220_firmware","products":["netgear:d6220_firmware","netgear:d6400_firmware","netgear:d7000_firmware","netgear:d8500_firmware","netgear:r6250_firmware","netgear:r6300_firmware","netgear:r6400_firmware","netgear:r6700_firmware","netgear:r6900p_firmware","netgear:r7000_firmware","netgear:r7000p_firmware","netgear:r7100lg_firmware","netgear:r7900_firmware","netgear:r7900p_firmware","netgear:r8000_firmware","netgear:r8000p_firmware","netgear:r8300_firmware","netgear:r8500_firmware","netgear:rax200_firmware","netgear:rax75_firmware","netgear:rax80_firmware","netgear:rbr750_firmware","netgear:rbr850_firmware","netgear:rbs750_firmware","netgear:rbs850_firmware","netgear:xr300_firmware"],"type":"memory_corruption","year":"2021"},"n_packages":0,"n_references":2,"next":{"headline":"Deserialization in Patch Manager","id":"CVE-2021-27240"},"packages":[],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2021-27237"},"products":["Multiple Routers"],"published":"2021-03-29","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":"NETGEAR Multiple Routers httpd Stack-based Buffer Overflow Remote Code Execution Vulnerability","id":"CVE-2021-34982","kev_date_added":null,"published":"2024-05-07"},{"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":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 routers via a stack buffer overflow in the upnpd service.","url":"https://insights.sbomify.com/CVE-2021-27239/"}