{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-6240 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-6240 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-6240 is a high-severity vulnerability in Parallels Parallels Desktop, published on 21 Jun 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-6240 and fix it if it is affected.\n\nWhat it is: CVE-2024-6240 is a high-severity vulnerability in Parallels Parallels Desktop, published on 21 Jun 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-6240 in the wild and no public exploit code.\n\nAffected product: Parallels Parallels Desktop. 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-6240/ (Markdown: https://insights.sbomify.com/CVE-2024-6240/index.md)","id":"CVE-2024-6240","markdown":"https://insights.sbomify.com/CVE-2024-6240/index.md","name":"CVE-2024-6240","record":{"aliases":["GHSA-x5f6-gmwc-2843"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["privilege_escalation","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Parallels Desktop","requires_auth":"low_privilege","summary":"Attackers can escalate privileges by injecting malicious code via the BASH_ENV variable during Parallels Desktop startup.","user_interaction":"required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"INCIBE","cpe":[{"product":"parallels_desktop","vendor":"parallels"}],"cvss":{"score":7.7,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-269","name":"Improper Privilege Management"}],"description":"Improper privilege management vulnerability in Parallels Desktop Software, which affects versions earlier than 19.3.0. An attacker could add malicious code in a script and populate the BASH_ENV environment variable with the path to the malicious script, executing on application startup. An attacker could exploit this vulnerability to escalate privileges on the system.","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":"Improper privilege management vulnerability in Parallels Desktop","id":"CVE-2024-6240","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"parallels:parallels_desktop","products":["parallels:parallels_desktop"],"type":"privilege_escalation","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"Pear Admin Boot getDictItems sql injection","id":"CVE-2024-6241"},"packages":[],"prev":{"headline":"Poppler: pdfinfo: crash in broken documents when using -dests parameter","id":"CVE-2024-6239"},"products":["Parallels Desktop"],"published":"2024-06-21","related":[{"cvss_score":8.8,"headline":"Path traversal in Parallels Desktop for Mac","id":"CVE-2025-31359","kev_date_added":null,"published":"2025-06-03"},{"cvss_score":8.8,"headline":"Privilege escalation in Desktop","id":"CVE-2021-34864","kev_date_added":null,"published":"2021-10-25"},{"cvss_score":8.8,"headline":"Memory corruption in Desktop","id":"CVE-2021-31420","kev_date_added":null,"published":"2021-04-29"},{"cvss_score":8.8,"headline":"Memory corruption in Desktop","id":"CVE-2021-31424","kev_date_added":null,"published":"2021-04-29"},{"cvss_score":8.8,"headline":"Integer overflow in Desktop","id":"CVE-2021-31425","kev_date_added":null,"published":"2021-04-29"},{"cvss_score":8.8,"headline":"Integer overflow in Desktop","id":"CVE-2021-31426","kev_date_added":null,"published":"2021-04-29"},{"cvss_score":8.8,"headline":"Memory corruption in Desktop","id":"CVE-2021-27242","kev_date_added":null,"published":"2021-03-29"}],"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":"2024-08-01","vendors":["Parallels"]},"summary":"Attackers can escalate privileges by injecting malicious code via the BASH_ENV variable during Parallels Desktop startup.","url":"https://insights.sbomify.com/CVE-2024-6240/"}