{"answers":{"affected":"It affects 14 products.","exploited":"There is no known exploitation of CVE-2021-22321 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-22321 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-22321 is a medium-severity use after free vulnerability in Huawei Nip6300 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-22321 and fix it if it is affected.\n\nWhat it is: CVE-2021-22321 is a medium-severity use after free vulnerability in Huawei Nip6300 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-22321 in the wild and no public exploit code.\n\nAffected product: Huawei Nip6300 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-22321/ (Markdown: https://insights.sbomify.com/CVE-2021-22321/index.md)","id":"CVE-2021-22321","markdown":"https://insights.sbomify.com/CVE-2021-22321/index.md","name":"CVE-2021-22321","record":{"aliases":["GHSA-p3qf-gvrh-m63f"],"analysis":{"component_type":"network_device","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Huawei network security devices","requires_auth":"none","summary":"Attackers can trigger a use-after-free vulnerability in Huawei network devices, causing service disruption and compromising normal operations.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"huawei","cpe":[{"product":"nip6300_firmware","vendor":"huawei"},{"product":"nip6600_firmware","vendor":"huawei"},{"product":"nip6800_firmware","vendor":"huawei"},{"product":"s12700_firmware","vendor":"huawei"},{"product":"s1700_firmware","vendor":"huawei"},{"product":"s2700_firmware","vendor":"huawei"},{"product":"s5700_firmware","vendor":"huawei"},{"product":"s6700_firmware","vendor":"huawei"},{"product":"s7700_firmware","vendor":"huawei"},{"product":"s9700_firmware","vendor":"huawei"},{"product":"secospace_usg6300_firmware","vendor":"huawei"},{"product":"secospace_usg6500_firmware","vendor":"huawei"},{"product":"secospace_usg6600_firmware","vendor":"huawei"},{"product":"usg9500_firmware","vendor":"huawei"}],"cvss":{"score":5.3,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"description":"There is a use-after-free vulnerability in a Huawei product. A module cannot deal with specific operations in special scenarios. Attackers can exploit this vulnerability by performing malicious operations. This can cause memory use-after-free, compromising normal service. Affected product include some versions of NIP6300, NIP6600, NIP6800, S1700, S2700, S5700, S6700 , S7700, S9700, Secospace USG6300, Secospace USG6500, Secospace USG6600 and USG9500.","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":"Use after free in NIP6600;NIP6800;S12700;S1700;S2700;S5700;S6700;S7700;S9700;Secospace USG6300;Secospace USG6500;Secospace USG6600;USG9500","id":"CVE-2021-22321","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"huawei:nip6300_firmware","products":["huawei:nip6300_firmware","huawei:nip6600_firmware","huawei:nip6800_firmware","huawei:secospace_usg6300_firmware","huawei:secospace_usg6500_firmware","huawei:secospace_usg6600_firmware","huawei:usg9500_firmware"],"type":"use_after_free","year":"2021"},"n_packages":0,"n_references":1,"next":{"headline":"Missing authorization in EMUI;Magic UI","id":"CVE-2021-22322"},"packages":[],"prev":{"headline":"Denial of service in IPS Module;NGFW Module;NIP6600;NIP6800;Secospace USG6300;Secospace USG6500;Secospace USG6600","id":"CVE-2021-22320"},"products":["NIP6600;NIP6800;S12700;S1700;S2700;S5700;S6700;S7700;S9700;Secospace USG6300;Secospace USG6500;Secospace USG6600;USG9500"],"published":"2021-03-22","related":[{"cvss_score":7.5,"headline":"Denial of service in NIP6300;NIP6600;Secospace USG6300;Secospace USG6500;Secospace USG6600;USG9500","id":"CVE-2020-1847","kev_date_added":null,"published":"2020-11-13"},{"cvss_score":6.7,"headline":"Command injection in NIP6300;NIP6600;Secospace USG6300;Secospace USG6500;Secospace USG6600;USG9500","id":"CVE-2020-9127","kev_date_added":null,"published":"2020-11-13"},{"cvss_score":6.5,"headline":"Denial of service in NIP6300,NIP6600,Secospace USG6300,Secospace USG6500","id":"CVE-2017-15315","kev_date_added":null,"published":"2018-03-09"},{"cvss_score":4.4,"headline":"Information disclosure in NIP6300;NIP6600;Secospace USG6300;Secospace USG6500;Secospace USG6600;USG9500","id":"CVE-2021-22310","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 trigger a use-after-free vulnerability in Huawei network devices, causing service disruption and compromising normal operations.","url":"https://insights.sbomify.com/CVE-2021-22321/"}