{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-31466 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-31466 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-31466 is a high-severity vulnerability in n/a, published on 23 May 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2022-31466 and fix it if it is affected.\n\nWhat it is: CVE-2022-31466 is a high-severity vulnerability in n/a, published on 23 May 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2022-31466 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-2022-31466/ (Markdown: https://insights.sbomify.com/CVE-2022-31466/index.md)","id":"CVE-2022-31466","markdown":"https://insights.sbomify.com/CVE-2022-31466/index.md","name":"CVE-2022-31466","record":{"aliases":["GHSA-2gxp-7297-pp9h"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["privilege_escalation","data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Antivirus software","requires_auth":"low_privilege","summary":"Local attackers can exploit a race condition in Quick Heal Total Security to escalate privileges and delete system files by replacing malicious files with symlinks.","user_interaction":"required","vuln_class":"race_condition"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"total_security","vendor":"quickheal"}],"cvss":{"score":7.9,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"},{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition"}],"description":"Time of Check - Time of Use (TOCTOU) vulnerability in Quick Heal Total Security prior to 12.1.1.27 allows a local attacker to achieve privilege escalation, potentially leading to deletion of system files. This is achieved through exploiting the time between detecting a file as malicious and when the action of quarantining or cleaning is performed, and using the time to replace the malicious file by a symlink.","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":"TOCTOU Vulnerability in Quick Heal Total Security","id":"CVE-2022-31466","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"race_condition","year":"2022"},"n_packages":0,"n_references":1,"next":{"headline":"DLL Hijacking Vulnerability in Quick Heal Total Security","id":"CVE-2022-31467"},"packages":[],"prev":{"headline":"Privilege escalation in Xpedition Designer VX.2.10","id":"CVE-2022-31465"},"products":["n/a"],"published":"2022-05-23","related":[{"cvss_score":7.9,"headline":"DLL Hijacking Vulnerability in Quick Heal Total Security","id":"CVE-2022-31467","kev_date_added":null,"published":"2022-05-23"},{"cvss_score":7.8,"headline":"Privilege escalation in n/a","id":"CVE-2025-69875","kev_date_added":null,"published":"2026-02-03"},{"cvss_score":7.5,"headline":"Denial of service in n/a","id":"CVE-2015-8285","kev_date_added":null,"published":"2017-04-20"},{"cvss_score":6.7,"headline":"Weak cryptography in n/a","id":"CVE-2020-27587","kev_date_added":null,"published":"2020-11-30"},{"cvss_score":5.9,"headline":"Information disclosure in n/a","id":"CVE-2020-27586","kev_date_added":null,"published":"2020-11-30"},{"cvss_score":4.4,"headline":"Security feature bypass in n/a","id":"CVE-2020-27585","kev_date_added":null,"published":"2020-11-30"}],"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":"Local attackers can exploit a race condition in Quick Heal Total Security to escalate privileges and delete system files by replacing malicious files with symlinks.","url":"https://insights.sbomify.com/CVE-2022-31466/"}