{"answers":{"affected":"It affects 17 products.","exploited":"There is no known exploitation of CVE-2021-34865 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-34865 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-34865 is a high-severity authentication bypass vulnerability in Netgear R6220 Firmware, published on 25 Jan 2022. 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-34865 and fix it if it is affected.\n\nWhat it is: CVE-2021-34865 is a high-severity authentication bypass vulnerability in Netgear R6220 Firmware, published on 25 Jan 2022. 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-34865 in the wild and no public exploit code.\n\nAffected product: Netgear R6220 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-34865/ (Markdown: https://insights.sbomify.com/CVE-2021-34865/index.md)","id":"CVE-2021-34865","markdown":"https://insights.sbomify.com/CVE-2021-34865/index.md","name":"CVE-2021-34865","record":{"aliases":["GHSA-5wc2-pfcw-568j"],"analysis":{"component_type":"network_device","fix_type":"patch","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"NETGEAR router","requires_auth":"none","summary":"Network-adjacent attackers can bypass authentication on NETGEAR routers to escalate privileges and execute arbitrary code as root.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"zdi","cpe":[{"product":"ac2100_firmware","vendor":"netgear"},{"product":"ac2400_firmware","vendor":"netgear"},{"product":"ac2600_firmware","vendor":"netgear"},{"product":"d7000v1_firmware","vendor":"netgear"},{"product":"r6220_firmware","vendor":"netgear"},{"product":"r6230_firmware","vendor":"netgear"},{"product":"r6260_firmware","vendor":"netgear"},{"product":"r6330_firmware","vendor":"netgear"},{"product":"r6350_firmware","vendor":"netgear"},{"product":"r6700v2_firmware","vendor":"netgear"},{"product":"r6800_firmware","vendor":"netgear"},{"product":"r6850_firmware","vendor":"netgear"},{"product":"r6900v2_firmware","vendor":"netgear"},{"product":"r7200_firmware","vendor":"netgear"},{"product":"r7350_firmware","vendor":"netgear"},{"product":"r7400_firmware","vendor":"netgear"},{"product":"r7450_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-697","name":"Incorrect Comparison"},{"id":"CWE-287","name":"Improper Authentication"}],"description":"This vulnerability allows network-adjacent attackers to bypass authentication on affected installations of multiple NETGEAR routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the mini_httpd service, which listens on TCP port 80 by default. The issue results from incorrect string matching logic when accessing protected pages. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of root. Was ZDI-CAN-13313.","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":"Auth bypass in Multiple Routers","id":"CVE-2021-34865","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"netgear:r6220_firmware","products":["netgear:r6220_firmware","netgear:r6260_firmware","netgear:r6800_firmware"],"type":"auth_bypass","year":"2021"},"n_packages":0,"n_references":2,"next":{"headline":"Memory corruption in Kernel","id":"CVE-2021-34866"},"packages":[],"prev":{"headline":"Privilege escalation in Desktop","id":"CVE-2021-34864"},"products":["Multiple Routers"],"published":"2022-01-25","related":[{"cvss_score":10,"headline":"Missing authorization in n/a","id":"CVE-2021-38516","kev_date_added":null,"published":"2021-08-11"},{"cvss_score":9.9,"headline":"Memory corruption in n/a","id":"CVE-2021-29068","kev_date_added":null,"published":"2021-03-23"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2020-35795","kev_date_added":null,"published":"2020-12-29"},{"cvss_score":9.4,"headline":"Misconfiguration in n/a","id":"CVE-2020-35800","kev_date_added":null,"published":"2020-12-29"},{"cvss_score":9.4,"headline":"Auth bypass in n/a","id":"CVE-2020-26927","kev_date_added":null,"published":"2020-10-09"},{"cvss_score":8.8,"headline":"Auth bypass in Multiple Routers","id":"CVE-2020-27866","kev_date_added":null,"published":"2021-02-11"}],"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 bypass authentication on NETGEAR routers to escalate privileges and execute arbitrary code as root.","url":"https://insights.sbomify.com/CVE-2021-34865/"}