{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2023-1586 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-1586 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-1586 is a medium-severity vulnerability in AVG Antivirus, published on 19 Apr 2023. 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-2023-1586 and fix it if it is affected.\n\nWhat it is: CVE-2023-1586 is a medium-severity vulnerability in AVG Antivirus, published on 19 Apr 2023. 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-2023-1586 in the wild and no public exploit code.\n\nAffected product: AVG Antivirus. 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-2023-1586/ (Markdown: https://insights.sbomify.com/CVE-2023-1586/index.md)","id":"CVE-2023-1586","markdown":"https://insights.sbomify.com/CVE-2023-1586/index.md","name":"CVE-2023-1586","record":{"aliases":["GHSA-h5r6-2gq4-p8x5"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Windows Antivirus","requires_auth":"low_privilege","summary":"A TOCTOU race condition in the restore process allows attackers to create arbitrary files, potentially leading to code execution on Windows systems.","user_interaction":"not_required","vuln_class":"race_condition"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"NLOK","cpe":[{"product":"antivirus","vendor":"avast"},{"product":"anti-virus","vendor":"avg"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition"}],"description":"Avast and AVG Antivirus for Windows were susceptible to a Time-of-check/Time-of-use (TOCTOU)  vulnerability in the restore process leading to arbitrary file creation. The issue was fixed with Avast and AVG Antivirus version 22.11","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 AVG Antivirus","id":"CVE-2023-1586","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"race_condition","year":"2023"},"n_packages":0,"n_references":1,"next":{"headline":"Null dereference in AVG Antivirus","id":"CVE-2023-1587"},"packages":[],"prev":{"headline":"Race condition in AVG Antivirus","id":"CVE-2023-1585"},"products":["AVG Antivirus","Avast Antivirus"],"published":"2023-04-19","related":[{"cvss_score":9.9,"headline":"Race condition in (Free/Inernet Security/Ultimate) Antivirus","id":"CVE-2025-13032","kev_date_added":null,"published":"2025-11-11"},{"cvss_score":9.8,"headline":"Security feature bypass in n/a","id":"CVE-2020-10867","kev_date_added":null,"published":"2020-04-01"},{"cvss_score":9.8,"headline":"Missing authorization in n/a","id":"CVE-2017-8307","kev_date_added":null,"published":"2017-04-27"},{"cvss_score":9,"headline":"Integer Overflow in Avast Antiviurs 25.1.981.6 on Windows may result in privilege escalation","id":"CVE-2025-3500","kev_date_added":null,"published":"2025-12-01"},{"cvss_score":8.8,"headline":"Missing authorization in n/a","id":"CVE-2021-45335","kev_date_added":null,"published":"2021-12-27"},{"cvss_score":8.8,"headline":"Privilege escalation vulnerability in the Sandbox component of Avast Antivirus prior to 20.4 allows a local sandboxed code to gain elevated","id":"CVE-2021-45336","kev_date_added":null,"published":"2021-12-27"},{"cvss_score":8.8,"headline":"Privilege escalation in n/a","id":"CVE-2021-45337","kev_date_added":null,"published":"2021-12-27"}],"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":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-02-05","vendors":["AVG","Avast"]},"summary":"A TOCTOU race condition in the restore process allows attackers to create arbitrary files, potentially leading to code execution on Windows systems.","url":"https://insights.sbomify.com/CVE-2023-1586/"}