Ubuntu 7.10 : emacs22 vulnerability (USN-541-1)

Medium Nessus Plugin ID 28209


The remote Ubuntu host is missing one or more security-related patches.


Drake Wilson discovered that Emacs did not correctly handle the safe mode of 'enable-local-variables'. If a user were tricked into opening a specially crafted file while 'enable-local-variables' was set to the non-default ':safe', a remote attacker could execute arbitrary commands with the user's privileges.

Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.


Update the affected packages.

Plugin Details

Severity: Medium

ID: 28209

File Name: ubuntu_USN-541-1.nasl

Version: $Revision: 1.11 $

Type: local

Agent: unix

Published: 2007/11/14

Modified: 2016/05/27

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 6.3

Vector: CVSS2#AV:L/AC:M/Au:N/C:N/I:C/A:C

Vulnerability Information

CPE: p-cpe:/a:canonical:ubuntu_linux:emacs, p-cpe:/a:canonical:ubuntu_linux:emacs22, p-cpe:/a:canonical:ubuntu_linux:emacs22-bin-common, p-cpe:/a:canonical:ubuntu_linux:emacs22-common, p-cpe:/a:canonical:ubuntu_linux:emacs22-el, p-cpe:/a:canonical:ubuntu_linux:emacs22-gtk, p-cpe:/a:canonical:ubuntu_linux:emacs22-nox, cpe:/o:canonical:ubuntu_linux:7.10

Required KB Items: Host/cpu, Host/Ubuntu, Host/Ubuntu/release, Host/Debian/dpkg-l

Patch Publication Date: 2007/11/13

Reference Information

CVE: CVE-2007-5795

OSVDB: 42060

USN: 541-1