{"answers":{"affected":"It affects 11 products.","exploited":"There is no known exploitation of CVE-2021-20739 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-20739 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-20739 is a high-severity command injection vulnerability in ELECOM CO.,LTD. WRC-300FEBK, WRC-F300NF, WRC-733FEBK, WRH-300RD, WRH-300BK, WRH-300SV, WRH-300WH, WRH-H300WH, WRH-H300BK, WRH-300BK-S, and WRH-300WH-S, published on 7 Jul 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-20739 and fix it if it is affected.\n\nWhat it is: CVE-2021-20739 is a high-severity command injection vulnerability in ELECOM CO.,LTD. WRC-300FEBK, WRC-F300NF, WRC-733FEBK, WRH-300RD, WRH-300BK, WRH-300SV, WRH-300WH, WRH-H300WH, WRH-H300BK, WRH-300BK-S, and WRH-300WH-S, published on 7 Jul 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-20739 in the wild and no public exploit code.\n\nAffected product: ELECOM CO.,LTD. WRC-300FEBK, WRC-F300NF, WRC-733FEBK, WRH-300RD, WRH-300BK, WRH-300SV, WRH-300WH, WRH-H300WH, WRH-H300BK, WRH-300BK-S, and WRH-300WH-S. 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-20739/ (Markdown: https://insights.sbomify.com/CVE-2021-20739/index.md)","id":"CVE-2021-20739","markdown":"https://insights.sbomify.com/CVE-2021-20739/index.md","name":"CVE-2021-20739","record":{"aliases":["GHSA-6g7g-h77w-72mh"],"analysis":{"component_type":"network_device","fix_type":"no_fix_stated","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"ELECOM wireless router","requires_auth":"none","summary":"Unauthenticated network-adjacent attackers can execute arbitrary OS commands on ELECOM wireless routers, potentially compromising the device.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"jpcert","cpe":[{"product":"wrc-300febk_firmware","vendor":"elecom"},{"product":"wrc-733febk_firmware","vendor":"elecom"},{"product":"wrc-f300nf_firmware","vendor":"elecom"},{"product":"wrh-300bk-s_firmware","vendor":"elecom"},{"product":"wrh-300bk_firmware","vendor":"elecom"},{"product":"wrh-300rd_firmware","vendor":"elecom"},{"product":"wrh-300sv_firmware","vendor":"elecom"},{"product":"wrh-300wh-s_firmware","vendor":"elecom"},{"product":"wrh-300wh_firmware","vendor":"elecom"},{"product":"wrh-h300bk_firmware","vendor":"elecom"},{"product":"wrh-h300wh_firmware","vendor":"elecom"}],"cvss":{"score":8.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"WRC-300FEBK, WRC-F300NF, WRC-733FEBK, WRH-300RD, WRH-300BK, WRH-300SV, WRH-300WH, WRH-H300WH, WRH-H300BK, WRH-300BK-S, and WRH-300WH-S all versions allows an unauthenticated network-adjacent attacker to execute an arbitrary OS command via unspecified vectors.","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":"Command injection in WRC-300FEBK, WRC-F300NF, WRC-733FEBK, WRH-300RD, WRH-300BK, WRH-300SV, WRH-300WH, WRH-H300WH, WRH-H300BK, WRH-300BK-S, and WRH-300WH-S","id":"CVE-2021-20739","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2021"},"n_packages":0,"n_references":2,"next":{"headline":"Command injection in Hitachi Virtual File Platform and NEC Storage M Series NAS Gateway which uses Hitachi Virtual File Platform","id":"CVE-2021-20740"},"packages":[],"prev":{"headline":"Information disclosure in WRC-1167FS-W, WRC-1167FS-B, and WRC-1167FSA","id":"CVE-2021-20738"},"products":["WRC-300FEBK, WRC-F300NF, WRC-733FEBK, WRH-300RD, WRH-300BK, WRH-300SV, WRH-300WH, WRH-H300WH, WRH-H300BK, WRH-300BK-S, and WRH-300WH-S"],"published":"2021-07-07","related":[],"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":["ELECOM CO.,LTD."]},"summary":"Unauthenticated network-adjacent attackers can execute arbitrary OS commands on ELECOM wireless routers, potentially compromising the device.","url":"https://insights.sbomify.com/CVE-2021-20739/"}