{"answers":{"affected":"It affects 10 products.","exploited":"There is no known exploitation of CVE-2021-31251 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-31251 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-31251 is a critical authentication bypass vulnerability in n/a, published on 4 Jun 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-31251 and fix it if it is affected.\n\nWhat it is: CVE-2021-31251 is a critical authentication bypass vulnerability in n/a, published on 4 Jun 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-31251 in the wild and no public exploit code.\n\nAffected product: n/a. 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-31251/ (Markdown: https://insights.sbomify.com/CVE-2021-31251/index.md)","id":"CVE-2021-31251","markdown":"https://insights.sbomify.com/CVE-2021-31251/index.md","name":"CVE-2021-31251","record":{"aliases":["GHSA-fr6h-7w99-6jxc"],"analysis":{"component_type":"iot_embedded","fix_type":"no_fix_stated","impacts":["privilege_escalation","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"TCP/IP converter","requires_auth":"none","summary":"Attackers can bypass telnet authentication on CHIYU TCP/IP converters to gain privileged access and potentially execute code.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"bf-430_firmware","vendor":"chiyu-tech"},{"product":"bf-431_firmware","vendor":"chiyu-tech"},{"product":"bf-450m_firmware","vendor":"chiyu-tech"},{"product":"semac_d1_firmware","vendor":"chiyu-tech"},{"product":"semac_d2_firmware","vendor":"chiyu-tech"},{"product":"semac_d2_n300_firmware","vendor":"chiyu-tech"},{"product":"semac_d4_firmware","vendor":"chiyu-tech"},{"product":"semac_s1_osdp_firmware","vendor":"chiyu-tech"},{"product":"semac_s2_firmware","vendor":"chiyu-tech"},{"product":"semac_s3v3_firmware","vendor":"chiyu-tech"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"description":"An authentication bypass in telnet server in BF-430 and BF431 232/422 TCP/IP Converter, BF-450M and SEMAC from CHIYU Technology Inc allows obtaining a privileged connection with the target device by supplying a specially malformed request and an attacker may force the remote telnet server to believe that the user has already authenticated.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2021-06-03","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2021-06-03","kind":"exploitdb","ref":"49936","stars":null,"title":"CHIYU IoT Devices - 'Telnet' Authentication Bypass"}],"tier":"poc_unverified"},"has_fix":null,"headline":"Auth bypass in n/a","id":"CVE-2021-31251","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"auth_bypass","year":"2021"},"n_packages":0,"n_references":3,"next":{"headline":"Open redirect in n/a","id":"CVE-2021-31252"},"packages":[],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2021-31250"},"products":["n/a"],"published":"2021-06-04","related":[{"cvss_score":6.5,"headline":"Other in n/a","id":"CVE-2021-31249","kev_date_added":null,"published":"2021-06-04"},{"cvss_score":6.1,"headline":"Open redirect in n/a","id":"CVE-2021-31252","kev_date_added":null,"published":"2021-06-04"},{"cvss_score":6.1,"headline":"Cross-site scripting in n/a","id":"CVE-2021-31641","kev_date_added":null,"published":"2021-06-01"},{"cvss_score":5.4,"headline":"Cross-site scripting in n/a","id":"CVE-2021-31250","kev_date_added":null,"published":"2021-06-04"}],"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)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"Attackers can bypass telnet authentication on CHIYU TCP/IP converters to gain privileged access and potentially execute code.","url":"https://insights.sbomify.com/CVE-2021-31251/"}