all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jean Louis <bugs@gnu.support>
To: Anders Munch <ajm@flonidan.dk>
Cc: Srinivasan Santhanam <srinivasan.santhanam@hitachienergy.com>,
	"help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>,
	Alec Gordon <alec.gordon@hitachienergy.com>,
	Sridhar Peddapelli <sridhar.peddapelli@hitachienergy.com>
Subject: Re: Need information regarding Emacs application
Date: Sat, 10 Feb 2024 13:31:38 +0300	[thread overview]
Message-ID: <ZcdQilIQjLOmcriA@lco.syogm.com> (raw)
In-Reply-To: <VI1PR05MB106803A97E3589C8345F531F1B44B2@VI1PR05MB10680.eurprd05.prod.outlook.com>

* Anders Munch <ajm@flonidan.dk> [2024-02-09 18:19]:
> Srinivasan Santhanam wrote:
> > Could you please confirm whether there are any vulnerabilities identified with the latest 29.2 version.
> 
> https://www.opencve.io/cve?vendor=gnu&product=emacs

I would not agree that those CVE reports are propriate to Emacs. 

Let us review few examples:

> CVE-2023-2491 	2 Gnu, Redhat 	5 Emacs, Enterprise Linux, Enterprise Linux Eus and 2 more 	2023-12-10 	N/A 	7.8 HIGH
> A flaw was found in the Emacs text editor. Processing a specially
> crafted org-mode code with the "org-babel-execute:latex" function in
> ob-latex.el can result in arbitrary command execution. This CVE exists
> because of a CVE-2023-28617 security regression for the emacs package
> in Red Hat Enterprise Linux 8.8 and Red Hat Enterprise Linux 9.2.

We have to consider that Emacs has a built-in programming
language. All parts of Emacs can be replaced, or loaded from not only
system files but also private files.

If any attacking user has access to file system, than such user can
provide custom "Org" library or any other library and can impose on
the victim user for that library to do whatever they want.

"A specially crafted key stroke combination can result inn arbitrary
command execution" -- this is also true, so one could file unlimited
number of such non-sensical CVE reports, and I invite people to do
that until group cognition come to place how little it makes sense.

"A specially crafted shell script can result in arbitrary command
execution" -- please think along those lines.

When I keep reading those CVE reports, the more I read, the more it
looks like it only serves some business purposes, not the real
security.

Emacs is programmable editor. Any person who has access to Emacs on
computer is free to do whatever system privileges allow to that
user. And any attacker can send arbitrary files to victim and impose
on the victim to execute such files. 

All that does not mean it is "security issue" and especially not that
it is something to be worried about.

All bugs are reported by M-x report-emacs-bug and are handled
basically promptly. In that sense, Emacs with its professional
developers and millions of users is far more secure system than those
less known editors.

-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/



  reply	other threads:[~2024-02-10 10:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-09  8:51 Need information regarding Emacs application Srinivasan Santhanam via Users list for the GNU Emacs text editor
2024-02-09 15:12 ` Anders Munch
2024-02-10 10:31   ` Jean Louis [this message]
2024-02-10 11:07     ` Thibaut Verron
2024-02-12 10:35     ` Anders Munch

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=ZcdQilIQjLOmcriA@lco.syogm.com \
    --to=bugs@gnu.support \
    --cc=ajm@flonidan.dk \
    --cc=alec.gordon@hitachienergy.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=sridhar.peddapelli@hitachienergy.com \
    --cc=srinivasan.santhanam@hitachienergy.com \
    /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.