{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-27985 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2023-27985 is a high-severity vulnerability in n/a, published on 9 Mar 2023."},"fix_prompt":"Check this codebase for CVE-2023-27985 and fix it if it is affected.\n\nWhat it is: CVE-2023-27985 is a high-severity vulnerability in n/a, published on 9 Mar 2023. \nExploitation: There is no known exploitation of CVE-2023-27985 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-2023-27985/ (Markdown: https://insights.sbomify.com/CVE-2023-27985/index.md)","id":"CVE-2023-27985","markdown":"https://insights.sbomify.com/CVE-2023-27985/index.md","name":"CVE-2023-27985","record":{"aliases":["AZL-25581","CLEANSTART-2024-SU90851","DEBIAN-CVE-2023-27985","GHSA-f5fq-43fc-vgcr","UBUNTU-CVE-2023-27985"],"analysis":null,"analysis_generated_by":null,"assigner":"mitre","cpe":[{"product":"emacs","vendor":"gnu"}],"cvss":{"score":7.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"emacsclient-mail.desktop in Emacs 28.1 through 28.2 is vulnerable to shell command injections through a crafted mailto: URI. This is related to lack of compliance with the Desktop Entry Specification. It is fixed in 29.0.90","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"emacsclient-mail.desktop in Emacs 28.1 through 28.2 is vulnerable to shell command injections through a crafted mailto: URI.","id":"CVE-2023-27985","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":null,"year":"2023"},"n_packages":0,"n_references":5,"next":{"headline":"emacsclient-mail.desktop in Emacs 28.1 through 28.2 is vulnerable to Emacs Lisp code injections through a crafted mailto: URI with unescaped","id":"CVE-2023-27986"},"packages":[],"prev":{"headline":"Code injection in Custom Reports (RMS16.dll)","id":"CVE-2023-27984"},"products":["n/a"],"published":"2023-03-09","related":[{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2007-6109","kev_date_added":null,"published":"2007-12-07"},{"cvss_score":9.8,"headline":"Code injection in n/a","id":"CVE-2024-39331","kev_date_added":null,"published":"2024-06-23"},{"cvss_score":7.8,"headline":"Code injection in n/a","id":"CVE-2024-53920","kev_date_added":null,"published":"2024-11-27"},{"cvss_score":7.8,"headline":"Code injection in n/a","id":"CVE-2024-30202","kev_date_added":null,"published":"2024-03-25"},{"cvss_score":7.8,"headline":"Command injection in emacs","id":"CVE-2023-2491","kev_date_added":null,"published":"2023-05-17"},{"cvss_score":7.8,"headline":"emacsclient-mail.desktop in Emacs 28.1 through 28.2 is vulnerable to Emacs Lisp code injections through a crafted mailto: URI with unescaped","id":"CVE-2023-27986","kev_date_added":null,"published":"2023-03-09"}],"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-03-05","vendors":["n/a"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2023-27985/"}