{"answers":{"affected":"It affects 6 products.","exploited":"There is no known exploitation of CVE-2021-22310 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-22310 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-22310 is a medium-severity vulnerability in Huawei Nip6300 Firmware, published on 22 Mar 2021. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-22310 and fix it if it is affected.\n\nWhat it is: CVE-2021-22310 is a medium-severity vulnerability in Huawei Nip6300 Firmware, published on 22 Mar 2021. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-22310 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-22310/ (Markdown: https://insights.sbomify.com/CVE-2021-22310/index.md)","id":"CVE-2021-22310","markdown":"https://insights.sbomify.com/CVE-2021-22310/index.md","name":"CVE-2021-22310","record":{"aliases":["GHSA-gxj4-3cxj-q8mp"],"analysis":{"component_type":"network_device","fix_type":"patch","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Huawei firewall","requires_auth":"high_privilege","summary":"Attackers can obtain sensitive information from log files when users log in to Huawei network devices.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"huawei","cpe":[{"product":"nip6300_firmware","vendor":"huawei"},{"product":"nip6600_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":4.4,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File"}],"description":"There is an information leakage vulnerability in some huawei products. Due to the properly storage of specific information in the log file, the attacker can obtain the information when a user logs in to the device. Successful exploit may cause an information leak. Affected product versions include: NIP6300 versions V500R001C00,V500R001C20,V500R001C30;NIP6600 versions V500R001C00,V500R001C20,V500R001C30;Secospace USG6300 versions V500R001C00,V500R001C20,V500R001C30;Secospace USG6500 versions V500R001C00,V500R001C20,V500R001C30;Secospace USG6600 versions V500R001C00,V500R001C20,V500R001C30,V500R001C50,V500R001C60,V500R001C80;USG9500 versions V500R005C00,V500R005C10.","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":"Information disclosure in NIP6300;NIP6600;Secospace USG6300;Secospace USG6500;Secospace USG6600;USG9500","id":"CVE-2021-22310","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"huawei:nip6300_firmware","products":["huawei:nip6300_firmware","huawei:nip6600_firmware","huawei:secospace_usg6300_firmware","huawei:secospace_usg6500_firmware","huawei:secospace_usg6600_firmware","huawei:usg9500_firmware"],"type":"information_disclosure","year":"2021"},"n_packages":0,"n_references":1,"next":{"headline":"Privilege escalation in ManageOne","id":"CVE-2021-22311"},"packages":[],"prev":{"headline":"Weak cryptography in USG9500,USG9520,USG9560,USG9580","id":"CVE-2021-22309"},"products":["NIP6300;NIP6600;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":5.3,"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","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 obtain sensitive information from log files when users log in to Huawei network devices.","url":"https://insights.sbomify.com/CVE-2021-22310/"}