{"answers":{"affected":"It affects 14 products.","exploited":"There is no known exploitation of CVE-2021-31252 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-31252 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-31252 is a medium-severity vulnerability in n/a, published on 4 Jun 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2021-31252 and fix it if it is affected.\n\nWhat it is: CVE-2021-31252 is a medium-severity vulnerability in n/a, published on 4 Jun 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2021-31252 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-31252/ (Markdown: https://insights.sbomify.com/CVE-2021-31252/index.md)","id":"CVE-2021-31252","markdown":"https://insights.sbomify.com/CVE-2021-31252/index.md","name":"CVE-2021-31252","record":{"aliases":["GHSA-rgg4-cq58-9g4h"],"analysis":{"component_type":"network_device","fix_type":"no_fix_stated","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"CHIYU access control","requires_auth":"none","summary":"An open redirect in CHIYU access control devices allows attackers to trick users into visiting malicious sites via crafted links.","user_interaction":"required","vuln_class":"open_redirect"},"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":"bf-630_firmware","vendor":"chiyu-tech"},{"product":"bf-631w_firmware","vendor":"chiyu-tech"},{"product":"bf-830w_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.1,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"description":"An open redirect vulnerability exists in BF-630, BF-450M, BF-430, BF-431, BF631-W, BF830-W, Webpass, and SEMAC devices from CHIYU Technology that can be exploited by sending a link that has a specially crafted URL to convince the user to click on it.","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":"Open redirect in n/a","id":"CVE-2021-31252","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"open_redirect","year":"2021"},"n_packages":0,"n_references":3,"next":{"headline":"Memory corruption in n/a","id":"CVE-2021-31254"},"packages":[],"prev":{"headline":"Auth bypass in n/a","id":"CVE-2021-31251"},"products":["n/a"],"published":"2021-06-04","related":[{"cvss_score":9.8,"headline":"Auth bypass in n/a","id":"CVE-2021-31251","kev_date_added":null,"published":"2021-06-04"},{"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":"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)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"An open redirect in CHIYU access control devices allows attackers to trick users into visiting malicious sites via crafted links.","url":"https://insights.sbomify.com/CVE-2021-31252/"}