all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: Wilfred Hughes <me@wilfred.me.uk>, emacs-devel <emacs-devel@gnu.org>
Subject: Re: Avoiding arbitrary code execution with macroexpansion
Date: Thu, 16 Aug 2018 13:52:37 -0700	[thread overview]
Message-ID: <3767608a-90f8-8606-8cb2-07acfe9b509b@cs.ucla.edu> (raw)
In-Reply-To: <CAFXAjY5f4YfHAtZur1RAqH34UbYU56_t6t2Er0YEh1Sb7-W=hg@mail.gmail.com>

Wilfred Hughes wrote:
> This means that I can get arbitrary code execution by you opening and
> calling code completion a maliciously crafted elisp file!
> 
> Is this a security bug in Emacs?

Sounds like it. I suggest constructing a complete, self-contained and hopefully 
easy way to reproduce the problem with emacs -Q, and sending it in a bug report 
to bug-gnu-emacs@gnu.org. Thanks.



  reply	other threads:[~2018-08-16 20:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-15 21:52 Avoiding arbitrary code execution with macroexpansion Wilfred Hughes
2018-08-16 20:52 ` Paul Eggert [this message]
2018-08-20  3:04 ` Richard Stallman
2018-08-22  0:15   ` Wilfred Hughes
2018-08-22 23:57     ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3767608a-90f8-8606-8cb2-07acfe9b509b@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=emacs-devel@gnu.org \
    --cc=me@wilfred.me.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.