National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2007-5795 Detail

Description

The hack-local-variables function in Emacs before 22.2, when enable-local-variables is set to :safe, does not properly search lists of unsafe or risky variables, which might allow user-assisted attackers to bypass intended restrictions and modify critical program variables via a file containing a Local variables declaration.

Source:  MITRE      Last Modified:  11/02/2007

Quick Info

CVE Dictionary Entry:
CVE-2007-5795
Original release date:
11/02/2007
Last revised:
07/28/2017
Source:
US-CERT/NIST

Impact

CVSS Severity (version 2.0):
CVSS v2 Base Score:
6.3 MEDIUM
Vector:
(AV:L/AC:M/Au:N/C:N/I:C/A:C) (legend)
Impact Subscore:
9.2
Exploitability Subscore:
3.4
CVSS Version 2 Metrics:
Access Vector:
Locally exploitable
Access Complexity:
Medium
Authentication:
Not required to exploit
Impact Type:
Allows unauthorized modification; Allows disruption of service

Vendor Statements (disclaimer)

Official Statement from Red Hat (11/09/2007)

Not vulnerable. This issue did not affect versions of Emacs as shipped with Red Hat Enterprise Linux 2.1, 3, 4, or 5.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource Type Source Name
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=449008 External Source CONFIRM http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=449008
http://bugs.gentoo.org/show_bug.cgi?id=197958 External Source CONFIRM http://bugs.gentoo.org/show_bug.cgi?id=197958
http://cvs.savannah.gnu.org/viewvc/emacs/emacs/lisp/files.el?r1=1.896.2.28&r2=1.896.2.29 External Source CONFIRM http://cvs.savannah.gnu.org/viewvc/emacs/emacs/lisp/files.el?r1=1.896.2.28&r2=1.896.2.29
http://docs.info.apple.com/article.html?artnum=307562 External Source CONFIRM http://docs.info.apple.com/article.html?artnum=307562
http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html External Source APPLE APPLE-SA-2008-03-18
http://security.gentoo.org/glsa/glsa-200712-03.xml External Source GENTOO GLSA-200712-03
http://www.mandriva.com/security/advisories?name=MDVSA-2008:034 External Source MANDRIVA MDVSA-2008:034
http://www.securityfocus.com/bid/26327 External Source BID 26327
http://www.ubuntu.com/usn/usn-541-1 External Source UBUNTU USN-541-1
http://www.vupen.com/english/advisories/2007/3715 External Source VUPEN ADV-2007-3715
http://www.vupen.com/english/advisories/2008/0924/references External Source VUPEN ADV-2008-0924
https://exchange.xforce.ibmcloud.com/vulnerabilities/38263 External Source XF emacs-hacklocalvariables-security-bypass(38263)
https://www.redhat.com/archives/fedora-package-announce/2007-November/msg00524.html External Source FEDORA FEDORA-2007-3056

Technical Details

Vulnerability Type (View All)

Change History 2 change records found - show changes