{"answers":{"affected":"It affects 11 products.","exploited":"There is no known exploitation of CVE-2021-40847 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-40847 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-40847 is a high-severity code injection vulnerability in Netgear R6700 Firmware, published on 21 Sep 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-40847 and fix it if it is affected.\n\nWhat it is: CVE-2021-40847 is a high-severity code injection vulnerability in Netgear R6700 Firmware, published on 21 Sep 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-40847 in the wild and no public exploit code.\n\nAffected product: Netgear R6700 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-40847/ (Markdown: https://insights.sbomify.com/CVE-2021-40847/index.md)","id":"CVE-2021-40847","markdown":"https://insights.sbomify.com/CVE-2021-40847/index.md","name":"CVE-2021-40847","record":{"aliases":["GHSA-62q2-fg4c-c2qp"],"analysis":{"component_type":"network_device","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"NETGEAR router","requires_auth":"none","summary":"Remote attackers can achieve root code execution on NETGEAR routers via a Man-in-the-Middle attack exploiting unsigned, cleartext HTTP updates in the Circle daemon.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"r6400v2_firmware","vendor":"netgear"},{"product":"r6700_firmware","vendor":"netgear"},{"product":"r6700v3_firmware","vendor":"netgear"},{"product":"r6900_firmware","vendor":"netgear"},{"product":"r6900p_firmware","vendor":"netgear"},{"product":"r7000_firmware","vendor":"netgear"},{"product":"r7000p_firmware","vendor":"netgear"},{"product":"r7850_firmware","vendor":"netgear"},{"product":"r7900_firmware","vendor":"netgear"},{"product":"r8000_firmware","vendor":"netgear"},{"product":"rs400_firmware","vendor":"netgear"}],"cvss":{"score":8.1,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-319","name":"Cleartext Transmission of Sensitive Information"}],"description":"The update process of the Circle Parental Control Service on various NETGEAR routers allows remote attackers to achieve remote code execution as root via a MitM attack. While the parental controls themselves are not enabled by default on the routers, the Circle update daemon, circled, is enabled by default. This daemon connects to Circle and NETGEAR to obtain version information and updates to the circled daemon and its filtering database. However, database updates from NETGEAR are unsigned and downloaded via cleartext HTTP. As such, an attacker with the ability to perform a MitM attack on the device can respond to circled update requests with a crafted, compressed database file, the extraction of which gives the attacker the ability to overwrite executable files with attacker-controlled code. This affects R6400v2 1.0.4.106, R6700 1.0.2.16, R6700v3 1.0.4.106, R6900 1.0.2.16, R6900P 1.3.2.134, R7000 1.0.11.123, R7000P 1.3.2.134, R7850 1.0.5.68, R7900 1.0.4.38, R8000 1.0.4.68, and RS400 1.5.0.68.","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":"Code injection in n/a","id":"CVE-2021-40847","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"netgear:r6700_firmware","products":["netgear:r6700_firmware","netgear:r6900_firmware","netgear:r6900p_firmware","netgear:r7000_firmware","netgear:r7000p_firmware","netgear:r7900_firmware","netgear:r8000_firmware"],"type":"code_injection","year":"2021"},"n_packages":0,"n_references":2,"next":{"headline":"Code injection in n/a","id":"CVE-2021-40848"},"packages":[],"prev":{"headline":"Weak cryptography in n/a","id":"CVE-2021-40846"},"products":["n/a"],"published":"2021-09-21","related":[{"cvss_score":9.3,"headline":"Command injection in n/a","id":"CVE-2020-35798","kev_date_added":null,"published":"2020-12-29"},{"cvss_score":9.1,"headline":"Information disclosure in n/a","id":"CVE-2021-45650","kev_date_added":null,"published":"2021-12-26"},{"cvss_score":8.2,"headline":"Misconfiguration in n/a","id":"CVE-2021-45643","kev_date_added":null,"published":"2021-12-26"},{"cvss_score":8,"headline":"Command injection in n/a","id":"CVE-2024-51010","kev_date_added":null,"published":"2024-11-05"},{"cvss_score":8,"headline":"Command injection in n/a","id":"CVE-2024-51021","kev_date_added":null,"published":"2024-11-05"},{"cvss_score":8,"headline":"Command injection in n/a","id":"CVE-2024-52022","kev_date_added":null,"published":"2024-11-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-04","vendors":["n/a"]},"summary":"Remote attackers can achieve root code execution on NETGEAR routers via a Man-in-the-Middle attack exploiting unsigned, cleartext HTTP updates in the Circle daemon.","url":"https://insights.sbomify.com/CVE-2021-40847/"}