Articles / Ubuntu: Security update for...

Ubuntu: Security update for Emacs

Hiroshi Oota discovered that Emacs incorrectly handled search paths. If a user were tricked into opening a file with Emacs, a local attacker could execute arbitrary Lisp code with the privileges of the user invoking the program. Paul Ling discovered that Emacs incorrectly handled certain eval forms in local-variable sections. If a user were tricked into opening a specially crafted file with Emacs, a remote attacker could execute arbitrary Lisp code with the privileges of the user invoking the program. Updated packages are available from security.ubuntu.com.

==========================================================================
Ubuntu Security Notice USN-1586-1
September 27, 2012

emacs23 vulnerabilities
==========================================================================

A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 12.04 LTS
- Ubuntu 11.10

Summary:

Emacs could be made to run programs as your login if it opened a specially
crafted file.

Software Description:
- emacs23: The GNU Emacs editor (with GTK+ user interface)

Details:

Hiroshi Oota discovered that Emacs incorrectly handled search paths. If a
user were tricked into opening a file with Emacs, a local attacker could
execute arbitrary Lisp code with the privileges of the user invoking the
program. (CVE-2012-0035)

Paul Ling discovered that Emacs incorrectly handled certain eval forms in
local-variable sections. If a user were tricked into opening a specially
crafted file with Emacs, a remote attacker could execute arbitrary Lisp
code with the privileges of the user invoking the program. (CVE-2012-3479)

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 12.04 LTS:
 emacs23                         23.3+1-1ubuntu9.1
 emacs23-common                  23.3+1-1ubuntu9.1

Ubuntu 11.10:
 emacs23                         23.3+1-1ubuntu4.1
 emacs23-common                  23.3+1-1ubuntu4.1

After a standard system update you need to restart Emacs to make all the
necessary changes.

References:
 http://www.ubuntu.com/usn/usn-1586-1
 CVE-2012-0035, CVE-2012-3479

Package Information:
 https://launchpad.net/ubuntu/+source/emacs23/23.3+1-1ubuntu9.1
 https://launchpad.net/ubuntu/+source/emacs23/23.3+1-1ubuntu4.1
Screenshot

Project Spotlight

Aircrack-ng

The next generation of aircrack.

Screenshot

Project Spotlight

Excel Writer

A package to write Excel files with basic formatting easily.