{"answers":{"affected":"It affects 11 products.","exploited":"There is no known exploitation of CVE-2021-31642 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-31642 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-31642 is a medium-severity vulnerability in n/a, published on 1 Jun 2021. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-31642 and fix it if it is affected.\n\nWhat it is: CVE-2021-31642 is a medium-severity vulnerability in n/a, published on 1 Jun 2021. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-31642 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-31642/ (Markdown: https://insights.sbomify.com/CVE-2021-31642/index.md)","id":"CVE-2021-31642","markdown":"https://insights.sbomify.com/CVE-2021-31642/index.md","name":"CVE-2021-31642","record":{"aliases":["GHSA-6jfx-f65x-7qfx"],"analysis":{"component_type":"iot_embedded","fix_type":"no_fix_stated","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"IoT device web portal","requires_auth":"low_privilege","summary":"An attacker can cause a denial of service on CHIYU Technology IoT devices by sending an oversized integer to the web portal, requiring a reboot to restore service.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"bf-630_firmware","vendor":"chiyu-tech"},{"product":"bf-631_firmware","vendor":"chiyu-tech"},{"product":"biosense_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"},{"product":"webpass_firmware","vendor":"chiyu-tech"}],"cvss":{"score":6.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"description":"A denial of service condition exists after an integer overflow in several IoT devices from CHIYU Technology, including BIOSENSE, Webpass, and BF-630, BF-631, and SEMAC. The vulnerability can be explored by sending an unexpected integer (\u003e 32 bits) on the page parameter that will crash the web portal and making it unavailable until a reboot of the device.","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":"49937","stars":null,"title":"CHIYU IoT Devices - Denial of Service (DoS)"}],"tier":"poc_unverified"},"has_fix":null,"headline":"Integer overflow in n/a","id":"CVE-2021-31642","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"integer_overflow","year":"2021"},"n_packages":0,"n_references":4,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2021-31643"},"packages":[],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2021-31641"},"products":["n/a"],"published":"2021-06-01","related":[{"cvss_score":5.4,"headline":"Cross-site scripting in n/a","id":"CVE-2021-31643","kev_date_added":null,"published":"2021-06-01"}],"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":"An attacker can cause a denial of service on CHIYU Technology IoT devices by sending an oversized integer to the web portal, requiring a reboot to restore service.","url":"https://insights.sbomify.com/CVE-2021-31642/"}