{"answers":{"affected":"It affects 4 products.","exploited":"There is no known exploitation of CVE-2021-22309 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-22309 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-22309 is a high-severity vulnerability in Huawei Usg9500 Firmware, published on 22 Mar 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-22309 and fix it if it is affected.\n\nWhat it is: CVE-2021-22309 is a high-severity vulnerability in Huawei Usg9500 Firmware, published on 22 Mar 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-22309 in the wild and no public exploit code.\n\nAffected product: Huawei Usg9500 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-22309/ (Markdown: https://insights.sbomify.com/CVE-2021-22309/index.md)","id":"CVE-2021-22309","markdown":"https://insights.sbomify.com/CVE-2021-22309/index.md","name":"CVE-2021-22309","record":{"aliases":["GHSA-3fcq-hfv4-xfg4"],"analysis":{"component_type":"network_device","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Huawei USG firewall","requires_auth":"none","summary":"Attackers can brute force sensitive messages due to insecure random input in Huawei USG firewalls, leading to information disclosure.","user_interaction":"not_required","vuln_class":"weak_cryptography"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"huawei","cpe":[{"product":"usg9500_firmware","vendor":"huawei"},{"product":"usg9520_firmware","vendor":"huawei"},{"product":"usg9560_firmware","vendor":"huawei"},{"product":"usg9580_firmware","vendor":"huawei"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-330","name":"Use of Insufficiently Random Values"}],"description":"There is insecure algorithm vulnerability in Huawei products. A module uses less random input in a secure mechanism. Attackers can exploit this vulnerability by brute forcing to obtain sensitive message. This can lead to information leak. Affected product versions include:USG9500 versions V500R001C30SPC200, V500R001C60SPC500,V500R005C00SPC200;USG9520 versions V500R005C00;USG9560 versions V500R005C00;USG9580 versions V500R005C00.","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":"Weak cryptography in USG9500,USG9520,USG9560,USG9580","id":"CVE-2021-22309","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"huawei:usg9500_firmware","products":["huawei:usg9500_firmware"],"type":"weak_cryptography","year":"2021"},"n_packages":0,"n_references":1,"next":{"headline":"Information disclosure in NIP6300;NIP6600;Secospace USG6300;Secospace USG6500;Secospace USG6600;USG9500","id":"CVE-2021-22310"},"packages":[],"prev":{"headline":"Business logic in EMUI;Magic UI","id":"CVE-2021-22308"},"products":["USG9500,USG9520,USG9560,USG9580"],"published":"2021-03-22","related":[{"cvss_score":8.2,"headline":"Information disclosure in USG9500","id":"CVE-2020-1871","kev_date_added":null,"published":"2020-01-03"},{"cvss_score":7.5,"headline":"Memory corruption in USG9500","id":"CVE-2019-5273","kev_date_added":null,"published":"2019-12-26"},{"cvss_score":7.5,"headline":"Denial of service in USG9500","id":"CVE-2019-5274","kev_date_added":null,"published":"2019-12-26"},{"cvss_score":7.5,"headline":"Memory corruption in USG9500","id":"CVE-2019-5275","kev_date_added":null,"published":"2019-12-26"},{"cvss_score":7.5,"headline":"Denial of service in USG9500","id":"CVE-2017-8167","kev_date_added":null,"published":"2017-11-22"},{"cvss_score":6.5,"headline":"Information disclosure in USG9500","id":"CVE-2020-9212","kev_date_added":null,"published":"2021-03-22"}],"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":"Attackers can brute force sensitive messages due to insecure random input in Huawei USG firewalls, leading to information disclosure.","url":"https://insights.sbomify.com/CVE-2021-22309/"}