{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-5102 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-5102 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-5102 is a high-severity vulnerability in Avast Antivirus, published on 10 Jun 2024. 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-2024-5102 and fix it if it is affected.\n\nWhat it is: CVE-2024-5102 is a high-severity vulnerability in Avast Antivirus, published on 10 Jun 2024. 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-2024-5102 in the wild and no public exploit code.\n\nAffected product: Avast 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-2024-5102/ (Markdown: https://insights.sbomify.com/CVE-2024-5102/index.md)","id":"CVE-2024-5102","markdown":"https://insights.sbomify.com/CVE-2024-5102/index.md","name":"CVE-2024-5102","record":{"aliases":["GHSA-75r7-wf67-87f9"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Avast Antivirus","requires_auth":"low_privilege","summary":"A low-privileged user can exploit a race condition in the repair function to elevate privileges to SYSTEM and execute arbitrary code.","user_interaction":"required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"NLOK","cpe":[{"product":"antivirus","vendor":"avast"}],"cvss":{"score":7.3,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","version":"4.0"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"},{"id":"CWE-1284","name":"Improper Validation of Specified Quantity in Input"}],"description":"A sym-linked file accessed via the repair function in Avast Antivirus \u003c24.2 on Windows may allow user to elevate privilege to delete arbitrary files or run processes as NT AUTHORITY\\SYSTEM. The vulnerability exists within the \"Repair\" (settings -\u003e troubleshooting -\u003e repair) feature, which attempts to delete a file in the current user's AppData directory as NT AUTHORITY\\SYSTEM. A low-privileged user can make a pseudo-symlink and a junction folder and point to a file on the system. This can provide a low-privileged user an Elevation of Privilege to win a race-condition which will re-create the system files and make Windows callback to a specially-crafted file which could be used to launch a privileged shell instance.\n\nThis issue affects Avast Antivirus prior to 24.2.","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":"Elevation of Privelage via symlinked file in Avast Antivirus","id":"CVE-2024-5102","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"privilege_escalation","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"Campcodes Complete Web-Based School Management System student_first_payment.php sql injection","id":"CVE-2024-5103"},"packages":[],"prev":{"headline":"SourceCodester Simple Inventory System updateproduct.php sql injection","id":"CVE-2024-5101"},"products":["Antivirus"],"published":"2024-06-10","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":"partial"},"state":"PUBLISHED","updated":"2024-08-01","vendors":["Avast"]},"summary":"A low-privileged user can exploit a race condition in the repair function to elevate privileges to SYSTEM and execute arbitrary code.","url":"https://insights.sbomify.com/CVE-2024-5102/"}