7.8
HIGH
CVE-2023-27985
Emacsclient Shell Command Injection Vulnerability
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

INFO

Published Date :

March 9, 2023, 6:15 a.m.

Last Modified :

June 9, 2023, 7:15 a.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2023-27985 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Gnu emacs
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2023-27985.

URL Resource
http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-29&id=d32091199ae5de590a83f1542a01d75fba000467 Issue Tracking Patch
http://www.openwall.com/lists/oss-security/2023/03/09/1 Mailing List Patch
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60204 Issue Tracking Patch
https://www.gabriel.urdhr.fr/2023/06/08/emacsclient-mail-shell-elisp-injections/
https://www.openwall.com/lists/oss-security/2023/03/08/2 Mailing List Patch

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-27985 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-27985 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Jun. 09, 2023

    Action Type Old Value New Value
    Changed 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. 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
    Added Reference https://www.gabriel.urdhr.fr/2023/06/08/emacsclient-mail-shell-elisp-injections/ [No Types Assigned]
  • Reanalysis by [email protected]

    Mar. 21, 2023

    Action Type Old Value New Value
    Removed CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Added CVSS V3.1 NIST AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Initial Analysis by [email protected]

    Mar. 15, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-29&id=d32091199ae5de590a83f1542a01d75fba000467 No Types Assigned http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-29&id=d32091199ae5de590a83f1542a01d75fba000467 Issue Tracking, Patch
    Changed Reference Type http://www.openwall.com/lists/oss-security/2023/03/09/1 No Types Assigned http://www.openwall.com/lists/oss-security/2023/03/09/1 Mailing List, Patch
    Changed Reference Type https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60204 No Types Assigned https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60204 Issue Tracking, Patch
    Changed Reference Type https://www.openwall.com/lists/oss-security/2023/03/08/2 No Types Assigned https://www.openwall.com/lists/oss-security/2023/03/08/2 Mailing List, Patch
    Added CWE NIST CWE-78
    Added CPE Configuration OR *cpe:2.3:a:gnu:emacs:*:*:*:*:*:*:*:* versions from (including) 28.1 up to (including) 28.2
  • CVE Modified by [email protected]

    Mar. 09, 2023

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2023/03/09/1 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-27985 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.09 }} 0.01%

score

0.38862

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability