{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2021-22340 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-22340 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-22340 is a medium-severity vulnerability in ManageOne;SMC2.0, published on 29 Jun 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-22340 and fix it if it is affected.\n\nWhat it is: CVE-2021-22340 is a medium-severity vulnerability in ManageOne;SMC2.0, published on 29 Jun 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-22340 in the wild and no public exploit code.\n\nAffected product: ManageOne;SMC2.0. 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-22340/ (Markdown: https://insights.sbomify.com/CVE-2021-22340/index.md)","id":"CVE-2021-22340","markdown":"https://insights.sbomify.com/CVE-2021-22340/index.md","name":"CVE-2021-22340","record":{"aliases":["GHSA-4wqw-j3vx-3hwj"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Huawei ManageOne/SMC","requires_auth":"high_privilege","summary":"A race condition in Huawei ManageOne and SMC allows a root user to crash the system via concurrent I/O operations.","user_interaction":"not_required","vuln_class":"race_condition"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"huawei","cpe":[{"product":"manageone","vendor":"huawei"},{"product":"smc2.0","vendor":"huawei"}],"cvss":{"score":4.1,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"description":"There is a multiple threads race condition vulnerability in Huawei product. A race condition exists for concurrent I/O read by multiple threads. An attacker with the root permission can exploit this vulnerability by performing some operations. Successful exploitation of this vulnerability may cause the system to crash. Affected product versions include: ManageOne 6.5.1.SPC200, 8.0.0,8.0.0-LCND81, 8.0.0.SPC100, 8.0.1,8.0.RC2, 8.0.RC3, 8.0.RC3.SPC100;SMC2.0 V600R019C10SPC700,V600R019C10SPC702, V600R019C10SPC703,V600R019C10SPC800, V600R019C10SPC900, V600R019C10SPC910, V600R019C10SPC920, V600R019C10SPC921, V600R019C10SPC922, V600R019C10SPC930, V600R019C10SPC931","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":"Race condition in ManageOne;SMC2.0","id":"CVE-2021-22340","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"race_condition","year":"2021"},"n_packages":0,"n_references":1,"next":{"headline":"Denial of service in IPS Module;NGFW Module;NIP6300;NIP6600;Secospace USG6300;Secospace USG6500;Secospace USG6600","id":"CVE-2021-22341"},"packages":[],"prev":{"headline":"Denial of service in ManageOne","id":"CVE-2021-22339"},"products":["ManageOne;SMC2.0"],"published":"2021-06-29","related":[{"cvss_score":7.8,"headline":"Privilege escalation in ManageOne","id":"CVE-2021-22314","kev_date_added":null,"published":"2021-03-22"},{"cvss_score":7.5,"headline":"Denial of service in ManageOne","id":"CVE-2019-5289","kev_date_added":null,"published":"2019-11-13"},{"cvss_score":7.2,"headline":"Privilege escalation in ManageOne","id":"CVE-2021-22311","kev_date_added":null,"published":"2021-03-22"},{"cvss_score":7.2,"headline":"Command injection in ManageOne","id":"CVE-2020-9115","kev_date_added":null,"published":"2020-11-30"},{"cvss_score":6.7,"headline":"Privilege escalation in ManageOne","id":"CVE-2021-22397","kev_date_added":null,"published":"2021-08-02"},{"cvss_score":6.5,"headline":"Denial of service in ManageOne","id":"CVE-2021-22339","kev_date_added":null,"published":"2021-05-20"},{"cvss_score":6.5,"headline":"Business logic in ManageOne","id":"CVE-2021-22298","kev_date_added":null,"published":"2021-02-06"}],"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":"A race condition in Huawei ManageOne and SMC allows a root user to crash the system via concurrent I/O operations.","url":"https://insights.sbomify.com/CVE-2021-22340/"}