Bug 2176473 (CVE-2023-27986) - CVE-2023-27986 emacs: Emacs Lisp code injection via a crafted mailto URI
Summary: CVE-2023-27986 emacs: Emacs Lisp code injection via a crafted mailto URI
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2023-27986
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2176474
Blocks: 2176475
TreeView+ depends on / blocked
 
Reported: 2023-03-08 13:25 UTC by Pedro Sampaio
Modified: 2023-03-20 20:05 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Emacs text editor. A crafted mailto URI, when opened with emacsclient-mail.desktop, can result in Emacs Lisp code injection.
Clone Of:
Environment:
Last Closed: 2023-03-08 20:24:24 UTC
Embargoed:


Attachments (Terms of Use)

Description Pedro Sampaio 2023-03-08 13:25:21 UTC
emacsclient-mail.desktop in Emacs 28.1 through 28.2 is vulnerable to Emacs Lisp code injections through a crafted mailto: URI with unescaped double-quote characters.

References:
https://www.openwall.com/lists/oss-security/2023/03/08/2
http://www.openwall.com/lists/oss-security/2023/03/09/1

Upstream patch:
http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-29&id=3c1693d08b0a71d40a77e7b40c0ebc42dca2d2cc

Comment 1 Pedro Sampaio 2023-03-08 13:25:37 UTC
Created emacs tracking bugs for this issue:

Affects: fedora-all [bug 2176474]


Note You need to log in before you can comment on or make changes to this bug.